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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/block-selection-gap-in-table-cell.html

Issue 2327223002: Move all remaining fast/repaint tests 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
1 <head> 1 <head>
2 <style> 2 <style>
3 ::selection { background-color: red; } 3 ::selection { background-color: red; }
4 </style> 4 </style>
5 <script type="text/javascript" charset="utf-8"> 5 <script type="text/javascript" charset="utf-8">
6 function runTest() 6 function runTest()
7 { 7 {
8 sel.empty(); 8 sel.empty();
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <body onload="runTest()"> 12 <body onload="runTest()">
13 <table><tr><td style="width: 100px; height: 100px;"></td></tr><tr><td style="bac kground-color: green;">&nbsp;<div id="target" style="display: inline-block; heig ht: 100px; width: 10px;"></div></td></tr></table> 13 <table><tr><td style="width: 100px; height: 100px;"></td></tr><tr><td style="bac kground-color: green;">&nbsp;<div id="target" style="display: inline-block; heig ht: 100px; width: 10px;"></div></td></tr></table>
14 <script> 14 <script>
15 var sel = getSelection(); 15 var sel = getSelection();
16 var target = document.getElementById("target"); 16 var target = document.getElementById("target");
17 17
18 sel.setBaseAndExtent(target.previousSibling, 1, target.parentElement.parentE lement, 1); 18 sel.setBaseAndExtent(target.previousSibling, 1, target.parentElement.parentE lement, 1);
19 document.body.offsetTop; 19 document.body.offsetTop;
20 </script> 20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698