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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/table-col-background-offset.html

Issue 1676933004: Table cell background painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests: add 2nd col, rebaseline old. fix setLocation() Created 4 years, 9 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=5821</title> 3 <title>Tests col background with offset</title>
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 function repaintTest() 6 function repaintTest()
7 { 7 {
8 document.getElementById("col").style.backgroundColor = "green"; 8 document.getElementById("col").style.backgroundColor = "green";
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <body onload="runRepaintTest()"> 12 <body onload="runRepaintTest()">
13 <style>
14 td { width: 100px; height: 100px; }
15 </style>
16 <div style="height:100px"></div>
13 <table> 17 <table>
18 <col/>
14 <col id="col" style="background-color: red;"> 19 <col id="col" style="background-color: red;">
15 <tr> 20 <tr>
16 <td style="width: 100px; height: 100px;"> 21 <td></td>
17 </td> 22 <td></td>
18 </tr> 23 </tr>
19 </table> 24 </table>
20 </body> 25 </body>
21 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698