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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..896857f3e612786dcf5d78430c7193a7a7c9b60c |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/csspaint/invalidation-content-image.html |
@@ -0,0 +1,28 @@ |
+<!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; |
+ } |
+</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('content', [ |
+ { property: 'max-height', value: '160px' }, |
+ { 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> |