bidi-text-decoration-underline-001

text-decoration: none and bidi reordering

WeasyPrint

This browser

Assertion
Underline should span the entire line and not be affected by bidi reordering or no text-decoration on children

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3   <head>
 4     <title>CSS Test: text-decoration: none and bidi reordering</title>
 5     <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
 6     <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#lining-striking-props">
 7     <meta name="flags" content="">
 8     <meta name="assert" content="Underline should span the entire line and not       be affected by bidi reordering or no text-decoration on children">
 9     <style type="text/css">
10       a {
11       text-decoration: underline;
12       }
13       span {
14       text-decoration: none;
15       }
16     </style>
17   </head>
18   
19   <body>
20     <p>
21       There should be an unbroken underline under the entire line:
22     </p>
23     <p><a href="#">abc <span>def ليص</span> افت</a></p>
24     
25   </body>
26 </html>