<!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: <rt> element should not inherit text-decoration property</p>
<div class="container">
<div><span class="d"><ruby>X<rt>This line should NOT be underlined nor strike-through</rt></ruby></span></div>
<div><span class="d"><ruby>X<rt><span class="d">This line should be underlined and strike-through</span></rt></ruby></span></div>
</div>
</body>
</html>