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/block-selection-gap-stale-cache-2.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
(Empty)
1 <head>
2 <style>
3 ::selection { background-color: red; }
4 </style>
5 <script type="text/javascript" charset="utf-8">
6 function runTest()
7 {
8 sel.empty();
9 }
10 </script>
11 </head>
12 <body onload="runTest()">
13 <div style="height: 100px; overflow-y: scroll;">
14 <div style="margin-top: 50px;"><div id="target" style="display: inline-block ; width: 100px; height: 100px;"></div><br></div>&nbsp;
15 </div>
16 <script>
17 var sel = getSelection();
18 var target = document.getElementById("target");
19
20 sel.setBaseAndExtent(target, 0, target.parentElement.nextSibling, 0);
21 document.body.offsetTop;
22 target.parentElement.parentElement.scrollTop = 50;
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698