text-align-007

text-align - end (basic)

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
The 'text-align' property set to 'end' on a block element aligns the text to the end edge.

Source

 1 <!DOCTYPE html>
 2 <html><head><meta charset="utf-8">
 3 <title>CSS Text Test: text-align - end (basic)</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" rel="help" title="7.1. Text Alignment: the 'text-align' property">
 7 <link href="reference/text-align-007-ref.htm" rel="match">
 8 <meta content="" name="flags">
 9 <meta content="The 'text-align' property set to 'end' on a block element aligns the text to the end edge." name="assert">
10 <style>
11   div {
12     border: 1px solid blue;
13     text-align: end;
14   }
15 </style>
16 </head><body>
17   <p>Test passes if the words "Filler Text" below are aligned to the right, inside the blue box.</p>
18   <div>Filler Text</div>
19 
20 </body></html>