text-overflow-015.html (935B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Basic User Interface Test: ellipsis after graphical transformations</title> 4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> 5 <link rel="help" href="http://www.w3.org/TR/css3-ui/#ellipsing-details"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <meta name="flags" content="ahem"> 8 <meta name="assert" content="Ellipsing occurs after relative positioning"> 9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 10 <style> 11 div { 12 overflow: hidden; 13 text-overflow: ellipsis; 14 width: 100px; 15 height: 100px; 16 white-space: pre; 17 font: 20px/1 Ahem; 18 color: green; 19 background: url("support/1x1-red.png") top right / 1em 1em no-repeat, green; 20 } 21 .rel { 22 position: relative; 23 left: 1em; 24 } 25 </style> 26 27 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 28 <div><span class=rel> </span></div>