| <!DOCTYPE html> |
| <title>Tests BFC resolves at the box trimmed by `text-box-trim`.</title> |
| <link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-trim"> |
| <link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-edge"> |
| <link rel="match" href="text-box-trim-float-start-001-ref.html"> |
| <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> |
| <style> |
| .float { |
| float: left; |
| width: 100px; |
| height: 50px; |
| background: yellow; |
| } |
| .text { |
| margin-top: 100px; |
| font: 50px/3 Ahem; |
| text-box-trim: trim-start; |
| text-box-edge: text; |
| } |
| </style> |
| <div> |
| <div class="float"></div> |
| <div class="text">A</div> |
| </div> |