OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script src="../resources/helper.js"></script> | |
4 <link rel="stylesheet" href="../resources/region-style.css"></link> | |
5 <style> | |
6 html { | |
7 -webkit-writing-mode: horizontal-bt; | |
8 } | |
9 | |
10 body { | |
11 margin-bottom: 0; | |
12 } | |
13 </style> | |
14 <script> | |
15 onMouseUpLogSelection("selected-content"); | |
16 </script> | |
17 </head> | |
18 <body onload="selectContentByIds('word1', 'word2');"> | |
19 <div class="flowArticle"> | |
20 inside region inside region inside region inside region | |
21 inside region inside region inside region inside region | |
22 </div> | |
23 <div class="bigBox floatLeft"> | |
24 outside region outside region outside region outside region | |
25 <span id="word1" class="token">word1</span> | |
26 outside region outside region outside region outside region | |
27 </div> | |
28 <div class="clear"></div> | |
29 <div class="regionArticle greyBigBox"></div> | |
30 <div class="bigBox floatLeft"> | |
31 outside region outside region outside region outside region | |
32 <span id="word2" class="token">word2</span> | |
33 outside region outside region outside region outside region | |
34 </div> | |
35 <div class="clear"></div> | |
36 <div class="description"> | |
37 <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> | |
38 <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> | |
39 <dl> | |
40 <dt>Selected content:</dt> | |
41 <dd id="selected-content"></dd> | |
42 </dl> | |
43 </div> | |
44 </body> | |
45 </html> | |
OLD | NEW |