| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>float overflowing container with forced region break</title> |
| <style> |
| article { |
| font-family: monospace; |
| font-size: 20px; |
| line-height: 1em; |
| color: green; |
| } |
| .flow { |
| -webkit-flow-into: f; |
| color: blue; |
| } |
| .float { |
| float: left; |
| color: green; |
| } |
| .region { |
| -webkit-flow-from: f; |
| margin: 20px; |
| } |
| #container { |
| -webkit-region-break-after: always; |
| } |
| #small { |
| font-size: 10px; |
| line-height: 1em; |
| } |
| </style> |
| </head> |
| <body> |
| <p> |
| Float overflowing its container that has a forced break. Two regions. No line should be sliced. |
| </p> |
| |
| <div class="region"> |
| </div> |
| <div class="region"> |
| </div> |
| |
| <article class="flow"> |
| <div id="container"> |
| <div class="float"> |
| FILLER<br> |
| FILLER<br> |
| FILLER<br> |
| FILLER |
| </div> |
| FILLER |
| <div id="small">TINY</div> |
| </div> |
| FILLER<br> |
| FILLER |
| </article> |
| </body> |
| </html> |