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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fd7abc83c21151206b9b9aa5fb9752a2e85325a6 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/csspaint/invalidation-background-image.html |
@@ -0,0 +1,29 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<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; |
+ } |
+</style> |
+</head> |
+<body> |
+<p>This tests the invalidation behaviour of the paint callback.</p> |
+<p>See the devtools console for test output.</p> |
+<script> |
+// TODO(ikilpatrick): Should test shorthands and direction aware properties. |
+testRunnerInvalidationLogging('background-image', [ |
+ { property: 'max-height', value: '160px' }, |
chrishtr
2016/04/27 19:52:40
It doesn't look like these tests check the new val
ikilpatrick
2016/04/28 22:30:16
Need the TypedOM to plumb through the values of th
chrishtr
2016/04/29 00:25:33
Ok please file a bug to remind yourself to do it?
ikilpatrick
2016/04/29 22:42:01
Done: https://bugs.chromium.org/p/chromium/issues/
|
+ { property: 'border-top-color', value: 'blue' }, |
+ { property: 'flex-basis', value: '100px' }, |
+ { property: 'flex-grow', value: '2' }, |
+ { property: 'color', value: 'red' }, |
+ { property: '--foo', value: 'foo' }, |
+]); |
+</script> |
+</body> |
+</html> |