haikuwebkit/LayoutTests/fast/ruby/text-emphasis.html

16 lines
976 B
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>
Test the user agent style sheet rule that disables inheritance of text-emphasis to ruby text.
</p>
<p style="-webkit-text-emphasis: filled sesame;">
攻殻 機動隊 <ruby>攻殻<rt>こうかく</rt>機動隊<rt>きどうたい</rt></ruby>
</p>
<p id="result">
</p>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var rt = document.querySelector("rt");
document.getElementById("result").innerText = getComputedStyle(rt).webkitTextEmphasisStyle == "none" ? "PASS" : "FAIL";
</script>