16 lines
976 B
HTML
16 lines
976 B
HTML
<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>
|