| Index: LayoutTests/paint/invalidation/spv2/cached-69296.html
|
| diff --git a/LayoutTests/fast/table/border-collapsing/cached-69296.html b/LayoutTests/paint/invalidation/spv2/cached-69296.html
|
| similarity index 62%
|
| copy from LayoutTests/fast/table/border-collapsing/cached-69296.html
|
| copy to LayoutTests/paint/invalidation/spv2/cached-69296.html
|
| index 4bcd0ddb6e2bef79b2868ad760cf1dd80f7c7aa4..c69e7f3501fd7ae9d72fe333cbd7a4683486030f 100644
|
| --- a/LayoutTests/fast/table/border-collapsing/cached-69296.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/cached-69296.html
|
| @@ -1,10 +1,11 @@
|
| +<!-- Based on fast/table/border-collapsing/cached-69296.html -->
|
| <!--
|
| Test for bug69296.
|
| Collapsed borders should not disappear.
|
| -->
|
| <html>
|
| <head>
|
| - <script src="../../../fast/repaint/resources/text-based-repaint.js"></script>
|
| + <script src="resources/paint-invalidation-test.js"></script>
|
| <style>
|
| BODY {
|
| margin: 20px;
|
| @@ -24,7 +25,23 @@ Collapsed borders should not disappear.
|
| </style>
|
| <head>
|
| <script type="text/javascript">
|
| - function repaintTest() {
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutTableCell TD",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableRow TR id='row1'",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableRow TR id='row1'",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableCell TD",
|
| + "LayoutTableCell TD",
|
| + ];
|
| + function paintInvalidationTest() {
|
| row = document.getElementById('row1');
|
| rowRect = row.getBoundingClientRect();
|
| x = rowRect.left + 75;
|
| @@ -37,7 +54,7 @@ Collapsed borders should not disappear.
|
| }
|
| </script>
|
| </head>
|
| - <body onload="runRepaintTest()">
|
| + <body onload="runPaintInvalidationTest()">
|
| <table>
|
| <tr id="row1">
|
| <td valign="top"/>
|
|
|