Index: LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden.html |
diff --git a/LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html b/LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden.html |
similarity index 65% |
copy from LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html |
copy to LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden.html |
index 049fc1283faec358df16c4ca23f51c48c504667e..065df93dcfdb5e99d976d629c5631ac5c72889a7 100644 |
--- a/LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html |
+++ b/LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden.html |
@@ -1,3 +1,4 @@ |
+<!-- Based on fast/repaint/negative-text-indent-with-overflow-hidden.html --> |
<!DOCTYPE html> |
<html> |
<head> |
@@ -21,14 +22,17 @@ |
background-color: blue; |
} |
</style> |
- <script src="resources/text-based-repaint.js"></script> |
+ <script src="resources/paint-invalidation-test.js"></script> |
<script> |
- function repaintTest() { |
+ window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow DIV id='target' class='changed'", |
+ ]; |
+ function paintInvalidationTest() { |
document.getElementById('target').classList.add('changed'); |
} |
</script> |
</head> |
-<body onload="runRepaintTest();"> |
+<body onload="runPaintInvalidationTest();"> |
<div class="container"> |
<div id="target">Hidden Text</div> |
</div> |