Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.html |
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/cached-change-cell-border-color-expected.html b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.html |
| similarity index 56% |
| copy from third_party/WebKit/LayoutTests/paint/invalidation/spv2/cached-change-cell-border-color-expected.html |
| copy to third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.html |
| index bd8df01ac36b22144a7e47cebc26a99c5dff440b..b3cb88855f8cd66a8a1a30669d1ea55c23d14c79 100644 |
| --- a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/cached-change-cell-border-color-expected.html |
| +++ b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.html |
| @@ -1,19 +1,22 @@ |
| <!-- |
| Calculating collapsed borders for big tables is expensive, so we cache them and recalculate when needed. |
| -Here we change cell border color, expect that cache is invalidated and paint produces expected image. |
| +Here we: |
| +1. Remove DIV text, this requests layout for DIV, but only simplified layout for TABLE; |
| +2. Change cell border color, expect that cache is invalidated and paint produces expected image. |
| --> |
| <html> |
| <head> |
| <title></title> |
| - <link rel="stylesheet" href="../../../fast/table/border-collapsing/resources/cached.css"> |
| + <link rel="stylesheet" href="resources/cached.css"> |
| </head> |
| <body> |
| - <table style="border-collapse:collapse; border:2px solid blue"> |
| + <table style="border-collapse:collapse; border:2px solid blue; position: relative;"> |
|
dgrogan
2016/05/24 22:50:27
I know that position:relative gives this node its
Xianzhu
2016/05/24 23:13:41
It's needed to produce the same layout as the test
|
| <tr> |
| <td style="border:4px solid lime" id="foo"/> |
| <td style="border:1px solid black"/> |
| + <div id="blockDiv"></div> |
| </tr> |
| </table> |
| </body> |
| </html> |
| - |
| + |
|
dgrogan
2016/05/24 22:50:27
Extra whitespace?
Xianzhu
2016/05/24 23:13:41
Done.
|