text-align-match-parent-root-rtl

CSS Text: text-align: match-parent

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
Text checks that text-align: match-parent on a root element with dir=rtl is equivalent to text-align: start

Source

 1 <!DOCTYPE html>
 2 <html dir="rtl"><head>
 3     <title>CSS Text: text-align: match-parent</title>
 4     <link href="mailto:smontagu@mozilla.com" rel="author" title="Simon Montagu">
 5     <link href="http://www.w3.org/TR/css-text-3/#text-align-property" rel="help">
 6     <meta content="Text checks that
 7       text-align: match-parent on a root element with dir=rtl is
 8       equivalent to text-align: start" name="assert">
 9     <link href="reference/text-align-match-parent-root-rtl-ref.htm" rel="match">
10     <style type="text/css">
11 html { text-align: match-parent; }
12     </style>
13   </head>
14   <body>
15     <p>This line should be aligned right</p>
16   
17 
18 </body></html>