| <!doctype html> |
| <html style="font: 16px/1.25 monospace;"> |
| <head> |
| <style> |
| #content { |
| -webkit-flow-into: flow; |
| } |
| .overflow { color: orange; margin: 2px;} |
| .no_overflow { margin: 2px; } |
| |
| #region1, #region2 { -webkit-flow-from: flow; width: 100px; height: 100px; width: 100%; box-sizing: border-box;} |
| #region1 { border: 5px solid green;} |
| #region2 { border: 5px solid blue; } |
| |
| #container { |
| position: relative; |
| border: thin solid red; |
| overflow: auto; |
| height: 300px; |
| width: 150px; |
| } |
| </style> |
| </head> |
| <body> |
| <p>Test that regions affected by the vertical scrollbar triggered resize correctly.</p> |
| <p>On success, the orange lines of text should be visible above the blue border rectangle and the red container should be scrollable. There should be no horizontal overflow/scrollbar.</p> |
| <div id="content"> |
| <p class="no_overflow">Linetext1</p> |
| <p class="no_overflow">Linetext2</p> |
| <p class="no_overflow">Linetext3</p> |
| <p class="no_overflow" style="-webkit-region-break-after: always;">Linetext4</p> |
| <p class="no_overflow">Linetext5</p> |
| <p class="no_overflow">Linetext6</p> |
| <p class="no_overflow">Linetext7</p> |
| <p class="no_overflow">Linetext8</p> |
| <p class="no_overflow">Linetext9</p> |
| <br/> |
| <p class="overflow">Overflow10</p> |
| <p class="overflow">Overflow11</p> |
| <p class="overflow">Overflow12</p> |
| <p class="overflow">Overflow13</p> |
| <p class="overflow">Overflow14</p> |
| <p class="overflow">Overflow15</p> |
| <p class="overflow">Overflow16</p> |
| </div> |
| <div id="container"> |
| <div class="region" id="region1"></div> |
| <div class="region" id="region2"></div> |
| </div> |
| </body> |
| </html> |