servo/tests/wpt/css-tests/css-ruby-1_dev/xhtml1/ruby-autohide-002.xht
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

38 lines
No EOL
1.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="ja" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="UTF-8" />
<title>CSS Test: Autohide ruby annotations which are identical to their bases</title>
<link href="mailto:quanxunzhen@gmail.com" rel="author" title="Xidorn Quan" />
<link href="http://www.w3.org/TR/css-ruby-1/#autohide" rel="help" />
<link href="reference/ruby-autohide-002-ref.xht" rel="match" />
<script>
window.onload = function() {
// Force a reflow before changes.
document.body.clientWidth;
var elems = document.querySelectorAll('[data-content]');
for (var i = 0; i &lt; elems.length; i++) {
elems[i].textContent = elems[i].dataset.content;
}
};
</script>
</head>
<body>
<p><ruby>
<rb></rb><rb></rb><rb></rb><rb></rb>
<rt></rt><rt data-content="ri"></rt><rt></rt><rt></rt>
</ruby></p>
<p><ruby>
<rb></rb><rb data-content="ri"></rb><rb></rb><rb></rb>
<rt></rt><rt></rt><rt></rt><rt></rt>
</ruby></p>
<p><ruby>
<rb></rb><rb></rb><rb></rb><rb></rb>
<rt></rt><rt data-content="り">ri</rt><rt></rt><rt></rt>
</ruby></p>
<p><ruby>
<rb></rb><rb data-content="り">ri</rb><rb></rb><rb></rb>
<rt></rt><rt></rt><rt></rt><rt></rt>
</ruby></p>
</body></html>