1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <title>CSS Test: ruby layout items should block text decoration propagation just like atomic inlines do
</title>
5 <style type=
"text/css">
6 .container { font-size:24pt; }
8 text-decoration:underline line-through
;
14 <p>Bug
<a href=
"http://bugs.webkit.org/show_bug.cgi?id=71266">71266</a>: CSS2:text-decoration:
<rt
> element should not inherit text-decoration property
</p>
15 <div class=
"container">
16 <div><span class=
"d"><ruby>X
<rt>This line should NOT be underlined nor strike-through
</rt></ruby></span></div>
17 <div><span class=
"d"><ruby>X
<rt><span class=
"d">This line should be underlined and strike-through
</span></rt></ruby></span></div>