| Index: LayoutTests/paint/invalidation/spv2/table-section-repaint.html
|
| diff --git a/LayoutTests/fast/repaint/table-section-repaint.html b/LayoutTests/paint/invalidation/spv2/table-section-repaint.html
|
| similarity index 65%
|
| copy from LayoutTests/fast/repaint/table-section-repaint.html
|
| copy to LayoutTests/paint/invalidation/spv2/table-section-repaint.html
|
| index 9811094631528eda88927d5597540101fff45f2c..7d02308e85303aec7e24963d3c830b8267cfff7e 100644
|
| --- a/LayoutTests/fast/repaint/table-section-repaint.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/table-section-repaint.html
|
| @@ -1,3 +1,4 @@
|
| +<!-- Based on fast/repaint/table-section-repaint.html -->
|
| <html>
|
| <head>
|
| <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title>
|
| @@ -10,9 +11,37 @@
|
| .half { height: 30px; width: 60px; }
|
| .full { height: 60px; width: 60px; }
|
| </style>
|
| - <script src="resources/text-based-repaint.js" type="text/javascript"></script>
|
| + <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
|
| <script type="text/javascript">
|
| - function repaintTest()
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow CAPTION id='caption1' class='blue half'",
|
| + "LayoutTableSection TBODY",
|
| + "LayoutTableRow TR",
|
| + "LayoutTableCell TD class='red half'",
|
| + "LayoutTableRow TR",
|
| + "LayoutTableCell TD class='green half'",
|
| + "LayoutTableCell TD",
|
| + "LayoutBlockFlow DIV id='top' class='blue half'",
|
| + "LayoutTableSection TBODY",
|
| + "LayoutTableRow TR",
|
| + "LayoutTableCell TD class='red half'",
|
| + "LayoutTableRow TR",
|
| + "LayoutTableCell TD class='green half'",
|
| + "LayoutBlockFlow CAPTION id='caption2' class='zero'",
|
| + "LayoutTableSection TBODY",
|
| + "LayoutTableRow TR",
|
| + "LayoutTableCell TD class='green half'",
|
| + "LayoutTableRow TR",
|
| + "LayoutTableCell TD class='red half'",
|
| + "LayoutTable TABLE",
|
| + "LayoutBlockFlow DIV id='innerDiv'",
|
| + "LayoutTableSection TBODY",
|
| + "LayoutTableRow TR",
|
| + "LayoutTableCell TD class='half'",
|
| + "LayoutTableRow TR",
|
| + "LayoutTableCell TD class='half'",
|
| + ];
|
| + function paintInvalidationTest()
|
| {
|
| var caption1 = document.getElementById("caption1");
|
| caption1.style.height = "0";
|
| @@ -28,7 +57,7 @@
|
| }
|
| </script>
|
| </head>
|
| -<body onload="runRepaintTest()">
|
| +<body onload="runPaintInvalidationTest()">
|
| <div class="playground">
|
| <table cellpadding="0" cellspacing="0">
|
| <caption id="caption1" class="blue half"></caption>
|
|
|