seg-break-transformation-019.tentative.html (1275B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text level 3 Test: out of flow elements and segment break transformations</title> 4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> 5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-encoding"> 6 <link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform"> 7 <link rel=match href="../../reference/ref-filled-green-100px-square.xht"> 8 <meta name="assert" content="Out-of-flow elements must be ignored for segment break transformations"> 9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 10 <style> 11 div { 12 font: 20px/1 Ahem; 13 color: green; 14 } 15 aside { 16 color: transparent; 17 } 18 #abs { position: absolute; } 19 #fixed { position: fixed; } 20 #float-r { float: right; } 21 #float-l { float: left; margin-left: -3em; } 22 #red { 23 width: 100px; 24 height: 100px; 25 background: red; 26 position: absolute; 27 z-index: -1; 28 } 29 </style> 30 31 <p>Test passes if there is a filled green square and <strong>no red</strong>. 32 33 <div id=red></div> 34 35 <div>aa​ 36 bbb</div> 37 38 <div>aa​<aside id=abs>foo</aside> 39 bbb</div> 40 41 <div>aa​<aside id=fixed>foo</aside> 42 bbb</div> 43 44 <div>aa​<aside id=float-r>foo</aside> 45 bbb</div> 46 47 <div>aa​<aside id=float-l>foo</aside> 48 bbb</div>