| <!doctype html> |
| <html style="font: 16px/1.25 monospace;"> |
| <head> |
| <style> |
| #content { |
| border: 1px dotted black; |
| } |
| .overflow { |
| color: orange; |
| } |
| #region { |
| width: 300px; |
| height: 100px; |
| border: 10px solid blue; |
| padding: 5px; |
| float: right; |
| } |
| #regionContainer { |
| border: 2px solid black; |
| position: absolute; |
| top: 160px; |
| padding: 10px; |
| width: 95%; |
| } |
| </style> |
| </head> |
| <body> |
| <p>Test that overflow content is correctly computed when the region is floating.</p> |
| <p>On success, the following should be true:</p> |
| <ul> |
| <li>Three <span style="color: orange;"><b>orange</b></span> overflow lines should be visible below the <span style="color: blue;"><b>blue</b></span> region.</li> |
| <li>All <span style="color: orange;"><b>orange</b></span> overflow lines should be selectable</li> |
| </ul> |
| <div id="regionContainer"> |
| <div id="region"> |
| <div id="content"> |
| <div>flow1_1</div> |
| <div>flow1_2</div> |
| <div>flow1_3</div> |
| <div>flow1_4</div> |
| <div>flow1_5</div> |
| <br/><br/> |
| <div class="overflow">Overflow2_1</div> |
| <div class="overflow">Overflow2_2</div> |
| <div class="overflow">Overflow2_3</div> |
| </div> |
| </div> |
| </div> |
| </body> |
| </html> |