Index: LayoutTests/paint/invalidation/spv2/overflow-into-content.html |
diff --git a/LayoutTests/fast/repaint/overflow-into-content.html b/LayoutTests/paint/invalidation/spv2/overflow-into-content.html |
similarity index 77% |
copy from LayoutTests/fast/repaint/overflow-into-content.html |
copy to LayoutTests/paint/invalidation/spv2/overflow-into-content.html |
index 9e7a08234d80ffcdabacf872e7e09204dd8c6ce4..81238872746c614db167eb85d71a7ca23673be6e 100644 |
--- a/LayoutTests/fast/repaint/overflow-into-content.html |
+++ b/LayoutTests/paint/invalidation/spv2/overflow-into-content.html |
@@ -1,3 +1,4 @@ |
+<!-- Based on fast/repaint/overflow-into-content.html --> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
<head> |
@@ -10,9 +11,15 @@ |
#main-content { float: left; width: 100px; height: 80px; } |
#target3 { display: none; clear: both; height: 20px; background: green; } |
</style> |
- <script src="resources/text-based-repaint.js" type="text/javascript"></script> |
+ <script src="resources/paint-invalidation-test.js" type="text/javascript"></script> |
<script> |
- function repaintTest() |
+ window.expectedPaintInvalidationObjects = [ |
+ "LayoutBlockFlow DIV id='target3'", |
+ "LayoutBlockFlow (positioned) DIV", |
+ "LayoutBlockFlow (positioned) DIV", |
+ "LayoutBlockFlow DIV", |
+ ]; |
+ function paintInvalidationTest() |
{ |
document.getElementById('target1').style.width = ''; |
document.getElementById('target2').style.height = ''; |
@@ -20,7 +27,7 @@ |
} |
</script> |
</head> |
-<body onload="runRepaintTest();"> |
+<body onload="runPaintInvalidationTest();"> |
<div style="position: absolute; border: medium solid green; top: 8px; height: 100px;"> |
<div class="narrow" id="target1" style="width: auto;"> |
<div class="wide"></div> |