| OLD | NEW |
| (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 <script> | |
| 7 onMouseUpLogSelection("selected-content"); | |
| 8 </script> | |
| 9 </head> | |
| 10 <body onload="selectContentByIds('word1', 'word2');" style="margin-top: 0;"> | |
| 11 <div class="flowArticle"> | |
| 12 inside region inside region inside region inside region | |
| 13 <span id="word1" class="token">word1</span> | |
| 14 inside region inside region inside region inside region | |
| 15 <span class="break"></span> | |
| 16 inside region inside region inside region inside region | |
| 17 <span id="word2" class="token">word2</span> | |
| 18 inside region inside region inside region inside region | |
| 19 </div> | |
| 20 <div class="regionArticle greyBigBox"></div> | |
| 21 <div class="bigBox"> | |
| 22 outside region outside region outside region outside region | |
| 23 outside region outside region outside region outside region | |
| 24 </div> | |
| 25 <div class="regionArticle greyBigBox"></div> | |
| 26 <div class="description"> | |
| 27 <h1><a href="https://bugs.webkit.org/show_bug.cgi?id=121841">Bug #121841
- [CSS Regions] Layout Test for selecting text in 2 regions</a></h1> | |
| 28 <p>This test checks the selection in 2 regions. If you select from <span
class="token">word1</span> to <span class="token">word2</span> you will see tha
t "outside region" text is not highlighted and not included in the selected cont
ent.</p> | |
| 29 <dl> | |
| 30 <dt>Selected content:</dt> | |
| 31 <dd id="selected-content"></dd> | |
| 32 </dl> | |
| 33 </div> | |
| 34 </body> | |
| 35 </html> | |
| OLD | NEW |