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

Side by Side Diff: LayoutTests/fast/regions/selection/selecting-text-ignoring-region-expected.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/helper.js"></script>
5 <link rel="stylesheet" href="../resources/region-style.css"></link>
6 <style>
7 #outside-1 {
8 position: absolute;
9 top: 0px;
10 }
11
12 #outside-2 {
13 position: absolute;
14 top: 200px;
15 }
16
17 #region {
18 position: absolute;
19 top: 100px;
20 }
21
22 #description {
23 position: absolute;
24 top: 300px;
25 }
26 </style>
27 <script>
28 onMouseUpLogSelection("selected-content");
29 </script>
30 </head>
31 <body onload="selectContentByIds('word1', 'word2');" style="margin-top: 0;">
32 <div id="region" class="greyBigBox">
33 inside region inside region inside region inside region
34 inside region inside region inside region inside region
35 </div>
36 <div id="outside-1" class="bigBox">
37 outside region outside region outside region outside region
38 <span id="word1" class="token">word1</span>
39 outside region outside region outside region outside region
40 </div>
41 <div id="outside-2" class="bigBox">
42 outside region outside region outside region outside region
43 <span id="word2" class="token">word2</span>
44 outside region outside region outside region outside region
45 </div>
46 <div id="description" class="description">
47 <h1><a href="https://bugs.webkit.org/show_bug.cgi?id=122353">Bug #122353 - [CSS Regions] Layout Test for selecting text ignoring region content</a></h1>
48 <p>This test checks the selection in 2 text wrapping a region. If you se lect from <span class="token">word1</span> to <span class="token">word2</span> y ou will see that "inside region" text is not highlighted and not included in the selected content (because of the content of the region is before the "outside r egion" element in the DOM).</p>
49 <dl>
50 <dt>Selected content:</dt>
51 <dd id="selected-content"></dd>
52 </dl>
53 </div>
54 </body>
55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698