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

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

Issue 1896893004: Hook up style invalidation for CSS Paint API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@css-paint-register
Patch Set: . Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/run-after-layout-and-paint.js"></script>
5 <script src="resources/test-runner-invalidation-logging.js"></script>
6 <style>
7 div {
8 width: 100px;
9 height: 100px;
10 background-color: red;
11 border: solid 0;
12 border-image-slice: 0 fill;
13 }
14 </style>
15 </head>
16 <body>
17 <p>This tests the invalidation behaviour of the paint callback.</p>
18 <p>See the devtools console for test output.</p>
19 <script>
20 // TODO(ikilpatrick): Should test shorthands and direction aware properties.
21 testRunnerInvalidationLogging('border-image-source', [
22 { property: 'max-height', value: '160px' },
23 { property: 'border-top-color', value: 'blue' },
24 { property: 'flex-basis', value: '100px' },
25 { property: 'flex-grow', value: '2' },
26 { property: 'color', value: 'red' },
27 { property: '--foo', value: 'foo' },
28 ]);
29 </script>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698