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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/selection-clear-after-move.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 <!-- Based on fast/repaint/selection-clear-after-move.html -->
2 <!DOCTYPE html>
3 <script src="../../../fast/repaint/../../resources/run-after-layout-and-paint.js "></script>
4 <script src="resources/paint-invalidation-test.js"></script>
5 <script>
6 function paintInvalidationTest() {
7 getSelection().removeAllRanges();
8 }
9 onload = function() {
10 getSelection().selectAllChildren(document.getElementById('div'));
11 runAfterLayoutAndPaint(function() {
12 document.getElementById('div').style.top = '300px';
13 runPaintInvalidationTest();
14 });
15 };
16 </script>
17 <style>
18 img {
19 vertical-align: text-bottom;
20 width: 50px;
21 height: 50px;
22 }
23 div {
24 position: absolute;
25 top: 100px;
26 left: 100px;
27 }
28 </style>
29 Tests paint invalidation of selection when its cleared after the container is mo ved.<br>
30 Passes if no selection left.
31 <div id="div">
32 <img></img>
33 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698