Index: third_party/WebKit/LayoutTests/csspaint/invalidation-background-image.html |
diff --git a/third_party/WebKit/LayoutTests/csspaint/invalidation-background-image.html b/third_party/WebKit/LayoutTests/csspaint/invalidation-background-image.html |
index a504d8dab8e7207da0f3f774c6f7b3ae53739448..547ed36b77422c6cf2e8fdc72fcf94413226b5d7 100644 |
--- a/third_party/WebKit/LayoutTests/csspaint/invalidation-background-image.html |
+++ b/third_party/WebKit/LayoutTests/csspaint/invalidation-background-image.html |
@@ -19,6 +19,9 @@ |
<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('background-image', [ |
{ property: 'max-height', value: '160px' }, |
@@ -37,6 +40,8 @@ testRunnerInvalidationLogging('background-image', [ |
{ 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'}, |
{ property: '-webkit-border-radius', value: '25px'}, |
{ property: '-webkit-border-radius', invalidationProperty: 'border-radius', value: '25px'}, |
{ property: 'border-radius', invalidationProperty: '-webkit-border-radius', prevValue: '25px'}, |