OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script src="../resources/helper.js"></script> | |
4 <style> | |
5 #source { | |
6 -webkit-flow-into: content; | |
7 } | |
8 | |
9 #region { | |
10 -webkit-flow-from: content; | |
11 height: 100px; | |
12 width: 200px; | |
13 } | |
14 | |
15 #outside { | |
16 height: 100px; | |
17 width: 200px; | |
18 } | |
19 | |
20 body { | |
21 margin-top: 0; | |
22 } | |
23 | |
24 #description { | |
25 width: 600px; | |
26 } | |
27 </style> | |
28 </head> | |
29 <body onload="selectContentByRange(100, 10, 100, 110);"> | |
30 <div id="source">inside region inside region inside region inside region</di
v> | |
31 <div id="outside">outside region outside region outside region outside regio
n</div> | |
32 <div id="region"></div> | |
33 <div id="description"> | |
34 <h1><a href="https://bugs.webkit.org/show_bug.cgi?id=121501">Bug #121501
- [CSS Regions] Layout Test for selection direction</a></h1> | |
35 <p>Selection is based in DOM tree, so if you select text from "outside r
egion" to "inside region" the highlighted area is exactly the opposite to what t
he user is actually selecting.</p> | |
36 </div> | |
37 </body> | |
38 </html> | |
OLD | NEW |