blob: 234a9d363273d79236794fd37887a2d25018e717 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: ruby layout items should block text decoration propagation just like atomic inlines do</title>
<style type="text/css">
.container { font-size:24pt; }
.d {
text-decoration:underline line-through;
}
rt { color:blue; }
</style>
</head>
<body>
<p>Bug <a href="http://bugs.webkit.org/show_bug.cgi?id=71266">71266</a>: CSS2:text-decoration: &lt;rt&gt; element should not inherit text-decoration property</p>
<div class="container">
<div><ruby><span class="d">X</span><rt>This line should NOT be underlined nor strike-through</rt></ruby></div>
<div><ruby><span class="d">X</span><rt><span class="d">This line should be underlined and strike-through</span></rt></ruby></div>
</div>
</body>
</html>