Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-change-table-border-width.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 Calculating collapsed borders for big tables is expensive, so we cache them and recalculate when needed.
3 Here we change table border width, expect that cache is invalidated and paint pr oduces expected image.
4 -->
5 <html>
6 <head>
7 <title></title>
8 <link rel="stylesheet" href="resources/cached.css">
9 <script src="../../../fast/repaint/resources/text-based-repaint.js"></sc ript>
10 <script type="text/javascript">
11 function repaintTest() {
12 document.getElementById("tbl").style.borderWidth = "4px";
13 }
14 </script>
15 </head>
16 <body onload="runRepaintAndPixelTest()">
17 <table style="border-collapse:collapse; border:1px solid blue" id="tbl">
18 <tr>
19 <td style="border:2px solid lime"/>
20 </tr>
21 </table>
22 </body>
23 </html>
24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698