| <!DOCTYPE html> |
| <html> |
| <head> |
| <style> |
| .region { |
| border: 3px solid blue; |
| float: left; |
| } |
| #region1 { |
| height: 250px; |
| } |
| #region2 { |
| width: 300px; |
| height: 200px; |
| margin-left: 50px; |
| } |
| .article { |
| background-color: #009999; |
| } |
| #article1 { |
| height: 230px; |
| } |
| #video { |
| width: 320px; |
| height: 300px; |
| background-color: salmon; |
| border: 3px solid black; |
| } |
| </style> |
| </head> |
| |
| <body> |
| <a href="https://bugs.webkit.org/show_bug.cgi?id=132601">Bug 132601 - [CSS Regions] Block incorrectly sized when containing an unsplittable box</a> |
| <p>This test passes if the <span style="color:#00BB00">green text</span> is positioned at the very top of the second <span style="color:blue">region</span> and the <span style="color:blue">blue text</span> immediately after it.</p> |
| <div class="region" id="region1"> |
| <div class="article" id="article1"> |
| <video id="video" controls></video><span style="color:#00FF00"> |
| </div> |
| </div> |
| |
| <div class="region" id="region2"> |
| <div class="article" id="article2"> |
| <span style="color:#00FF00">This text, together with the video element, are inside an anonymouse block</span> |
| <div id="after" style="color:blue">This div is after the anonymous block</div> |
| </div> |
| </div> |
| |
| </body> |
| </html> |