| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 #region { | 4 #region { |
| 5 height: 100px; | 5 height: 100px; |
| 6 width: 200px; | 6 width: 200px; |
| 7 position: absolute; | 7 position: absolute; |
| 8 top: 100px; | 8 top: 100px; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 </head> | 39 </head> |
| 40 <body onload="selectText();"> | 40 <body onload="selectText();"> |
| 41 <div id="region">inside region inside region inside region inside region</di
v> | 41 <div id="region">inside region inside region inside region inside region</di
v> |
| 42 <div id="outside">outside region outside region outside region outside regio
n</div> | 42 <div id="outside">outside region outside region outside region outside regio
n</div> |
| 43 <div id="description"> | 43 <div id="description"> |
| 44 <h1><a href="https://bugs.webkit.org/show_bug.cgi?id=121501">Bug #121501
- [CSS Regions] Layout Test for selection direction</a></h1> | 44 <h1><a href="https://bugs.webkit.org/show_bug.cgi?id=121501">Bug #121501
- [CSS Regions] Layout Test for selection direction</a></h1> |
| 45 <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> | 45 <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> |
| 46 </div> | 46 </div> |
| 47 </body> | 47 </body> |
| 48 </html> | 48 </html> |
| OLD | NEW |