1 <!DOCTYPE html>
2 <html><head><meta charset="utf-8">
3 <title>CSS Text Test: text-align-last applied to "display: block" span element</title>
4 <link href="http://www.intel.com" rel="author" title="Intel">
5 <link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan">
6 <link href="http://www.w3.org/TR/css-text-3/#text-align-last" rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property">
7 <meta content="" name="flags">
8 <meta content="Test checks that the 'text-align-last' property is valid if the span element set 'display: block'." name="assert">
9 <style>
10 span {
11 border: 1px solid blue;
12 display: block;
13 text-align-last: center;
14 width: 200px;
15 }
16 </style>
17 </head><body>
18 <p>Test passes if the last line of "FillerText" below is centered inside the blue box.</p>
19 <span>FillerText FillerText FillerText FillerText FillerText</span>
20
21 </body></html>