text-indent-percent-001

text-indent test (single-line-percent)

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html><head>
 3 <link rel="reference" href="text-indent-percent-001-ref.xht">
 4 <title>CSS Test: text-indent test (single-line-percent)</title>
 5 <link rel="author" title="L. David Baron" href="http://dbaron.org/">
 6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
 7 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#indentation-prop">
 8 <meta name="flags" content="">
 9 <style type="text/css">
10 div { width: 500px; }
11 p { width: 300px; text-indent: 10%; }
12 </style>
13 </head>
14 <body>
15 <div>
16 <p>text</p>
17 </div>
18 
19 
20 </body></html>