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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/selection-change-in-iframe-with-relative-parent.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-change-in-iframe-with-relative-parent.html -->
2 <!DOCTYPE html>
3 <style>
4 .container {
5 position: relative;
6 top: 180px;
7 }
8 </style>
9
10 <!--
11 This test checks that the selection in an iframe in a relative positioned co ntainer
12 is correctly invalidated.
13 We should be able to manually select all the text. The invalidation rects sh ould
14 be positioned correctly and encompass all the lines.
15 -->
16 <div class="container">
17 <iframe src="../../../fast/repaint/resources/selection-change-in-iframe-with -relative-parent-iframe.html"></iframe>
18 </div>
19
20 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri pt>
21 <script>
22 function paintInvalidationTest()
23 {
24 var iframe = document.getElementsByTagName("iframe")[0];
25 iframe.contentWindow.getSelection().selectAllChildren(iframe.contentDocument .body);
26 }
27 window.addEventListener("load", runPaintInvalidationTest, false);
28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698