mirror of
https://github.com/servo/servo.git
synced 2025-10-04 18:49:23 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
38 lines
No EOL
1.4 KiB
HTML
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 < 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> |