Index: third_party/WebKit/LayoutTests/csspaint/invalidation-content-image.html |
diff --git a/third_party/WebKit/LayoutTests/csspaint/invalidation-content-image.html b/third_party/WebKit/LayoutTests/csspaint/invalidation-content-image.html |
index a63ae99bf17ee3af55e56e89fd327dfe0cb62fc9..b358fb000352c3b8a52c862e0f734e63723479e7 100644 |
--- a/third_party/WebKit/LayoutTests/csspaint/invalidation-content-image.html |
+++ b/third_party/WebKit/LayoutTests/csspaint/invalidation-content-image.html |
@@ -18,6 +18,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('content', [ |
{ property: 'max-height', value: '160px' }, |
@@ -36,5 +39,7 @@ testRunnerInvalidationLogging('content', [ |
{ 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> |