Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: third_party/WebKit/LayoutTests/csspaint/invalidation-border-image.html

Issue 2868003002: CSSPaint: Move layout tests in csspaint/ to http/tests/csspaint/ (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/csspaint/invalidation-border-image.html
diff --git a/third_party/WebKit/LayoutTests/csspaint/invalidation-border-image.html b/third_party/WebKit/LayoutTests/csspaint/invalidation-border-image.html
deleted file mode 100644
index f96ff213a485276bef4bade27e24afb2a3906cc9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/csspaint/invalidation-border-image.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<head>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="../resources/run-after-layout-and-paint.js"></script>
-<script src="resources/test-runner-invalidation-logging.js"></script>
-<style>
- div {
- width: 100px;
- height: 100px;
- background-color: red;
- border: solid 0;
- border-image-slice: 0 fill;
-
- flex-basis: 200px;
- --str:foo;
- --fiftypx: 50px;
- }
-</style>
-</head>
-<p>This tests the invalidation behaviour of the paint callback.</p>
-<p>See the devtools console for additional test output.</p>
-<script>
-CSS.registerProperty({name: '--length-inherited', syntax: '<length>', inherits: true, initialValue: '0px'});
-CSS.registerProperty({name: '--length-non-inherited', syntax: '<length>', inherits: false, initialValue: '0px'});
-
-// TODO(ikilpatrick): Should test shorthands.
-testRunnerInvalidationLogging('border-image-source', [
- { property: 'max-height', value: '160px' },
- { property: 'max-height', prevValue: '100px', value: '160px' },
- { property: 'max-height', prevValue: '100px', value: 'calc(50px + 50px)', noInvalidation: true },
- { property: 'max-height', prevValue: '100px', value: 'calc(50px + var(--fiftypx))', noInvalidation: true },
- { property: 'flex-basis', value: '100px' },
- { property: 'flex-basis', prevValue: '100px' },
- { property: 'flex-basis', value: '200px', noInvalidation: true },
- { property: 'flex-basis', prevValue: '200px', noInvalidation: true },
- { property: 'color', value: 'red' },
- { property: 'color', prevValue: '#F00', value: 'red', noInvalidation: true },
- { property: 'border-top-color', value: 'blue' },
- { property: 'border-top-color', prevValue: 'rgb(0,0,255)', value: 'blue', noInvalidation: true },
- { property: '--foo', value: 'foo' },
- { property: '--foo', prevValue: 'foo', value: 'var(--str)', noInvalidation: true},
- { property: '--str', value: 'bar'},
- { property: '--str', value: 'foo', noInvalidation: true },
- { property: '--length-inherited', value: '10px'},
- { property: '--length-non-inherited', value: '20px'},
-]);
-</script>

Powered by Google App Engine
This is Rietveld 408576698