mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-ruby-1/#rubypos">
|
||||
<link rel="help" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br#deprecated_attributes">
|
||||
<style>
|
||||
#float {
|
||||
float: left;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: cyan;
|
||||
}
|
||||
#container {
|
||||
padding-bottom: 50px;
|
||||
line-height: 20px;
|
||||
background: yellow;
|
||||
}
|
||||
ruby {
|
||||
ruby-position: under;
|
||||
}
|
||||
ruby > div {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: hotpink;
|
||||
}
|
||||
rt > div {
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
<p>The yellow box should encompass its contents and also the cyan float, due to
|
||||
clearance. The yellow box has bottom padding, and the blue ruby annotation box
|
||||
is allowed to overflow into the padding area. In this case the blue box isn't
|
||||
tall enough to even get past the float, though.</p>
|
||||
<div id="float"></div>
|
||||
<div id="container" data-expected-height="150">
|
||||
<ruby>
|
||||
<div></div>
|
||||
<rt>
|
||||
<div></div>
|
||||
</rt>
|
||||
</ruby>
|
||||
<br clear="all">
|
||||
</div>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
<script>
|
||||
checkLayout("#container");
|
||||
</script>
|
|
@ -0,0 +1,51 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-ruby-1/#rubypos">
|
||||
<link rel="help" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br#deprecated_attributes">
|
||||
<style>
|
||||
#float {
|
||||
float: left;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: cyan;
|
||||
}
|
||||
#container {
|
||||
padding-bottom: 50px;
|
||||
line-height: 20px;
|
||||
background: yellow;
|
||||
}
|
||||
ruby {
|
||||
ruby-position: under;
|
||||
}
|
||||
ruby > div {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: hotpink;
|
||||
}
|
||||
rt > div {
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 100px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
<p>The yellow box should encompass its contents and also the cyan float, due to
|
||||
clearance. The yellow box has bottom padding, and the blue ruby annotation box
|
||||
is allowed to overflow into the padding area.</p>
|
||||
<div id="float"></div>
|
||||
<div id="container" data-expected-height="150">
|
||||
<ruby>
|
||||
<div></div>
|
||||
<rt>
|
||||
<div></div>
|
||||
</rt>
|
||||
</ruby>
|
||||
<br clear="all">
|
||||
</div>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
<script>
|
||||
checkLayout("#container");
|
||||
</script>
|
|
@ -0,0 +1,53 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-ruby-1/#rubypos">
|
||||
<link rel="help" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br#deprecated_attributes">
|
||||
<style>
|
||||
#float {
|
||||
float: left;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: cyan;
|
||||
}
|
||||
#container {
|
||||
padding-bottom: 50px;
|
||||
line-height: 20px;
|
||||
background: yellow;
|
||||
}
|
||||
ruby {
|
||||
ruby-position: under;
|
||||
}
|
||||
ruby > div {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: hotpink;
|
||||
}
|
||||
rt > div {
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 150px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
<p>The yellow box should encompass its contents and also the cyan float, due to
|
||||
clearance. The yellow box has bottom padding, and the blue ruby annotation box
|
||||
is allowed to overflow into the padding area. In this case the blue box is so
|
||||
tall it will use the entire padding area, and also stretch the yellow box
|
||||
somewhat.</p>
|
||||
<div id="float"></div>
|
||||
<div id="container" data-expected-height="170">
|
||||
<ruby>
|
||||
<div></div>
|
||||
<rt>
|
||||
<div></div>
|
||||
</rt>
|
||||
</ruby>
|
||||
<br clear="all">
|
||||
</div>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
<script>
|
||||
checkLayout("#container");
|
||||
</script>
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-ruby-1/#box-fixup">
|
||||
<link rel="match" href="reference/improperly-contained-annotation-001-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that an improperly-contained ruby annotation is wrapped in an anonymous ruby container.">
|
||||
|
||||
<style>
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Basic nested ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
|
||||
<style>
|
||||
div {
|
||||
display: inline-block;
|
||||
padding: 20px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
ruby {
|
||||
ruby-position: over;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if content in the two blocks are identical:</p>
|
||||
<div id="test">
|
||||
<ruby><rb>東<rb>南<rt>とう<rt>なん<rtc lang=en>Southeast</ruby>の方角
|
||||
</div>
|
||||
<div id="ref">
|
||||
<ruby><rb>東<rb>南<rt>とう<rt>なん<rtc lang=en>Southeast</ruby>の方角
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Basic nested ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#nested-pairing">
|
||||
<link rel="match" href="nested-ruby-pairing-001-ref.html">
|
||||
<style>
|
||||
div {
|
||||
display: inline-block;
|
||||
padding: 20px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
ruby {
|
||||
ruby-position: over;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if content in the two blocks are identical:</p>
|
||||
<div id="test">
|
||||
<ruby><ruby>東<rt>とう</rt>南<rt>なん</rt></ruby><rt lang=en>Southeast</rt></ruby>の方角
|
||||
</div>
|
||||
<div id="ref">
|
||||
<ruby><rb>東<rb>南<rt>とう<rt>なん<rtc lang=en>Southeast</ruby>の方角
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-ruby-1/#base-annotation-pairing">
|
||||
<link rel="match" href="reference/rb-display-001-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
|
||||
<style>
|
||||
ruby
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-ruby-1/#box-fixup">
|
||||
|
||||
<meta content="" name="flags">
|
||||
|
||||
<style>
|
||||
body
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-ruby-1/#base-annotation-pairing">
|
||||
<link rel="match" href="reference/rb-display-001-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
|
||||
<style>
|
||||
ruby
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Autohide ruby annotations which are identical to their bases</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
</head>
|
||||
<body>
|
||||
<ruby>
|
||||
<rb>振</rb><rb>り</rb><rb>仮</rb><rb>名</rb>
|
||||
<rt>ふ</rt><rt></rt><rt>が</rt><rt>な</rt>
|
||||
</ruby>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Autohide ruby annotations which are identical to their bases</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-ruby-1/#autohide">
|
||||
<link rel="match" href="ruby-autohide-001-ref.html">
|
||||
</head>
|
||||
<body>
|
||||
<ruby>
|
||||
<rb>振</rb><rb>り</rb><rb>仮</rb><rb>名</rb>
|
||||
<rt>ふ</rt><rt>り</rt><rt>が</rt><rt>な</rt>
|
||||
</ruby>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Autohide ruby annotations which are identical to their bases</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
</head>
|
||||
<body>
|
||||
<p><ruby>
|
||||
<rb>振</rb><rb>り</rb><rb>仮</rb><rb>名</rb>
|
||||
<rt>ふ</rt><rt>ri</rt><rt>が</rt><rt>な</rt>
|
||||
</ruby></p>
|
||||
<p><ruby>
|
||||
<rb>振</rb><rb>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></rt><rt>が</rt><rt>な</rt>
|
||||
</ruby></p>
|
||||
<p><ruby>
|
||||
<rb>振</rb><rb>り</rb><rb>仮</rb><rb>名</rb>
|
||||
<rt>ふ</rt><rt></rt><rt>が</rt><rt>な</rt>
|
||||
</ruby></p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Autohide ruby annotations which are identical to their bases</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-ruby-1/#autohide">
|
||||
<link rel="match" href="ruby-autohide-002-ref.html">
|
||||
<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>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Autohide ruby annotations which are identical to their bases</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<style>
|
||||
body { line-height: 5em; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<ruby>
|
||||
<rb>振</rb><rb>り</rb><rb>仮</rb><rb>名</rb>
|
||||
<rt>ふ</rt><rt></rt><rt>が</rt><rt>な</rt>
|
||||
</ruby>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Autohide ruby annotations which are identical to their bases</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-ruby-1/#autohide">
|
||||
<link rel="match" href="ruby-autohide-003-ref.html">
|
||||
<style>
|
||||
body { line-height: 5em; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<ruby>
|
||||
<rb>振</rb><rb>り</rb><rb>仮</rb><rb>名</rb>
|
||||
<rt>ふ</rt><rt style="line-height: 100em;">り</rt><rt>が</rt><rt>な</rt>
|
||||
</ruby>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Autohide ruby annotations which are identical to their bases</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-ruby-1/#autohide">
|
||||
<link rel="match" href="ruby-autohide-001-ref.html">
|
||||
</head>
|
||||
<body>
|
||||
<ruby>
|
||||
振<rt>ふ</rt>り<rt>り</rt>仮<rt>が</rt>名<rt>な</rt>
|
||||
</ruby>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="stylesheet" href="support/ruby-common.css">
|
||||
<style>
|
||||
.inline {
|
||||
display: inline-block;
|
||||
background-color: yellow;
|
||||
width: 30px; height: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><ruby>a<div class="inline">b</div>c</ruby></div>
|
||||
<div><rb>a<div class="inline">b</div>c</rb></div>
|
||||
<div><rt>a<div class="inline">b</div>c</rt></div>
|
||||
<div><rbc>a<div class="inline">b</div>c</rbc></div>
|
||||
<div><rtc>a<div class="inline">b</div>c</rtc></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-ruby-1/#anon-gen-inlinize">
|
||||
<link rel="match" href="ruby-inlinize-blocks-001-ref.html">
|
||||
<link rel="stylesheet" href="support/ruby-common.css">
|
||||
<style>
|
||||
.inline {
|
||||
display: block;
|
||||
background-color: yellow;
|
||||
width: 30px; height: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><ruby>a<div class="inline">b</div>c</ruby></div>
|
||||
<div><rb>a<div class="inline">b</div>c</rb></div>
|
||||
<div><rt>a<div class="inline">b</div>c</rt></div>
|
||||
<div><rbc>a<div class="inline">b</div>c</rbc></div>
|
||||
<div><rtc>a<div class="inline">b</div>c</rtc></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<style>
|
||||
body {
|
||||
/* Use a sans-serif font to avoid fuzzy pixels where e.g. the
|
||||
letter "a" bottom-right serif might overlap the table border: */
|
||||
font: 16px sans-serif;
|
||||
}
|
||||
.block, table, .flex {
|
||||
background-color: yellow;
|
||||
width: 100px; height: 30px;
|
||||
border: 1px solid blue;
|
||||
}
|
||||
.block { display: inline-block; }
|
||||
table { display: inline-table; border-collapse: collapse; }
|
||||
td { border: 3px solid red; }
|
||||
.flex { display: inline-flex; }
|
||||
.flex-item { flex: auto; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><rb>a<div class="block">b</div>c</rb><rt>x<div class="block">y</div>z</rt></div>
|
||||
<div>
|
||||
<rb>a<table><tr><td>b1</td><td>b2</td></tr></table>c</rb>
|
||||
<rt>x<table><tr><td>y1</td><td>y2</td></tr></table>z</rt>
|
||||
</div>
|
||||
<div>
|
||||
<rb>a<div class="flex">
|
||||
<div class="flex-item">b1</div>
|
||||
<div class="flex-item">b2</div>
|
||||
</div>c</rb>
|
||||
<rt>x<div class="flex">
|
||||
<div class="flex-item">y1</div>
|
||||
<div class="flex-item">y2</div>
|
||||
</div>z</rt>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-ruby-1/#anon-gen-inlinize">
|
||||
<link rel="match" href="ruby-inlinize-blocks-002-ref.html">
|
||||
<style>
|
||||
body {
|
||||
/* Use a sans-serif font to avoid fuzzy pixels where e.g. the
|
||||
letter "a" bottom-right serif might overlap the table border: */
|
||||
font: 16px sans-serif;
|
||||
}
|
||||
.block, table, .flex {
|
||||
background-color: yellow;
|
||||
width: 100px; height: 30px;
|
||||
border: 1px solid blue;
|
||||
}
|
||||
.block { display: block; }
|
||||
table { border-collapse: collapse; }
|
||||
td { border: 3px solid red; }
|
||||
.flex { display: flex; }
|
||||
.flex-item { flex: auto; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><rb>a<div class="block">b</div>c</rb><rt>x<div class="block">y</div>z</rt></div>
|
||||
<div>
|
||||
<rb>a<table><tr><td>b1</td><td>b2</td></tr></table>c</rb>
|
||||
<rt>x<table><tr><td>y1</td><td>y2</td></tr></table>z</rt>
|
||||
</div>
|
||||
<div>
|
||||
<rb>a<div class="flex">
|
||||
<div class="flex-item">b1</div>
|
||||
<div class="flex-item">b2</div>
|
||||
</div>c</rb>
|
||||
<rt>x<div class="flex">
|
||||
<div class="flex-item">y1</div>
|
||||
<div class="flex-item">y2</div>
|
||||
</div>z</rt>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="stylesheet" href="support/ruby-common.css">
|
||||
<style>
|
||||
div { border-collapse: collapse; }
|
||||
.table { display: inline-table; }
|
||||
.cell {
|
||||
display: table-cell;
|
||||
background-color: yellow;
|
||||
border: 3px solid blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><ruby>a<div class="table"><div class="cell">b1</div><div class="cell">b2</div></div>c</ruby></div>
|
||||
<div><rb>a<div class="table"><div class="cell">b1</div><div class="cell">b2</div></div>c</rb></div>
|
||||
<div><rt>a<div class="table"><div class="cell">b1</div><div class="cell">b2</div></div>c</rt></div>
|
||||
<div><rbc>a<div class="table"><div class="cell">b1</div><div class="cell">b2</div></div>c</rbc></div>
|
||||
<div><rtc>a<div class="table"><div class="cell">b1</div><div class="cell">b2</div></div>c</rtc></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-ruby-1/#anon-gen-inlinize">
|
||||
<link rel="match" href="ruby-inlinize-blocks-003-ref.html">
|
||||
<link rel="stylesheet" href="support/ruby-common.css">
|
||||
<style>
|
||||
body { border-collapse: collapse; }
|
||||
.cell {
|
||||
display: table-cell;
|
||||
background-color: yellow;
|
||||
border: 3px solid blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><ruby>a<div class="cell">b1</div><div class="cell">b2</div>c</ruby></div>
|
||||
<div><rb>a<div class="cell">b1</div><div class="cell">b2</div>c</rb></div>
|
||||
<div><rt>a<div class="cell">b1</div><div class="cell">b2</div>c</rt></div>
|
||||
<div><rbc>a<div class="cell">b1</div><div class="cell">b2</div>c</rbc></div>
|
||||
<div><rtc>a<div class="cell">b1</div><div class="cell">b2</div>c</rtc></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="stylesheet" href="support/ruby-common.css">
|
||||
<style>
|
||||
.inline {
|
||||
display: inline-block;
|
||||
background-color: yellow;
|
||||
width: 30px; height: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><ruby>a<span><div class="inline">b</div></span>c</ruby></div>
|
||||
<div><rb>a<span><div class="inline">b</div></span>c</rb></div>
|
||||
<div><rt>a<span><div class="inline">b</div></span>c</rt></div>
|
||||
<div><rbc>a<span><div class="inline">b</div></span>c</rbc></div>
|
||||
<div><rtc>a<span><div class="inline">b</div></span>c</rtc></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-ruby-1/#anon-gen-inlinize">
|
||||
<link rel="match" href="ruby-inlinize-blocks-004-ref.html">
|
||||
<link rel="stylesheet" href="support/ruby-common.css">
|
||||
<style>
|
||||
.inline {
|
||||
display: block;
|
||||
background-color: yellow;
|
||||
width: 30px; height: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><ruby>a<span><div class="inline">b</div></span>c</ruby></div>
|
||||
<div><rb>a<span><div class="inline">b</div></span>c</rb></div>
|
||||
<div><rt>a<span><div class="inline">b</div></span>c</rt></div>
|
||||
<div><rbc>a<span><div class="inline">b</div></span>c</rbc></div>
|
||||
<div><rtc>a<span><div class="inline">b</div></span>c</rtc></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="stylesheet" href="support/ruby-common.css">
|
||||
<style>
|
||||
ruby::before, rb::before, rt::before, rbc::before, rtc::before {
|
||||
content: "a";
|
||||
display: inline-block;
|
||||
background-color: yellow;
|
||||
width: 30px; height: 30px;
|
||||
}
|
||||
ruby::after, rb::after, rt::after, rbc::after, rtc::after {
|
||||
content: "c";
|
||||
display: inline-block;
|
||||
background-color: yellow;
|
||||
width: 30px; height: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><ruby>b</ruby></div>
|
||||
<div><rb>b</rb></div>
|
||||
<div><rt>b</rt></div>
|
||||
<div><rbc>b</rbc></div>
|
||||
<div><rtc>b</rtc></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Inlinize block-level boxes inside ruby</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-ruby-1/#anon-gen-inlinize">
|
||||
<link rel="match" href="ruby-inlinize-blocks-005-ref.html">
|
||||
<link rel="stylesheet" href="support/ruby-common.css">
|
||||
<style>
|
||||
ruby::before, rb::before, rt::before, rbc::before, rtc::before {
|
||||
content: "a";
|
||||
display: block;
|
||||
background-color: yellow;
|
||||
width: 30px; height: 30px;
|
||||
}
|
||||
ruby::after, rb::after, rt::after, rbc::after, rtc::after {
|
||||
content: "c";
|
||||
display: block;
|
||||
background-color: yellow;
|
||||
width: 30px; height: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><ruby>b</ruby></div>
|
||||
<div><rb>b</rb></div>
|
||||
<div><rt>b</rt></div>
|
||||
<div><rbc>b</rbc></div>
|
||||
<div><rtc>b</rtc></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Ruby with text-combine-upright in base</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
|
||||
<link rel="stylesheet" href="/fonts/ahem.css">
|
||||
<style>
|
||||
.test {
|
||||
font: 52px Ahem;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the two rectangles are vertically middle aligned.</p>
|
||||
<div class="test">
|
||||
<ruby><rb><span style="writing-mode: horizontal-tb">X</span></rb><rt>XXXXXXXX</rt></ruby>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Ruby with text-combine-upright base</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
|
||||
<link rel="match" href="ruby-text-combine-upright-001-ref.html">
|
||||
<link rel="stylesheet" href="/fonts/ahem.css">
|
||||
<style>
|
||||
.test {
|
||||
font: 52px Ahem;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the two rectangles are vertically middle aligned.</p>
|
||||
<div class="test">
|
||||
<ruby><rb style="text-combine-upright: all">X</rb><rt>XXXXXXXX</rt></ruby>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Ruby with text-combine-upright child in base</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
|
||||
<link rel="match" href="ruby-text-combine-upright-001-ref.html">
|
||||
<link rel="stylesheet" href="/fonts/ahem.css">
|
||||
<style>
|
||||
.test {
|
||||
font: 52px Ahem;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the two rectangles are vertically middle aligned.</p>
|
||||
<div class="test">
|
||||
<ruby><rb><span style="text-combine-upright: all">X</span></rb><rt>XXXXXXXX</rt></ruby>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: Ruby with text-combine-upright annotation</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
|
||||
<link rel="stylesheet" href="/fonts/ahem.css">
|
||||
<style>
|
||||
.test {
|
||||
font: 52px Ahem;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the two rectangles are vertically middle aligned.</p>
|
||||
<div class="test">
|
||||
<ruby><rb>XXXX</rb><rt><span style="writing-mode: horizontal-tb">X</span></rt></ruby>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Ruby with text-combine-upright in annotation</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
|
||||
<link rel="match" href="ruby-text-combine-upright-002-ref.html">
|
||||
<link rel="stylesheet" href="/fonts/ahem.css">
|
||||
<style>
|
||||
.test {
|
||||
font: 52px Ahem;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the two rectangles are vertically middle aligned.</p>
|
||||
<div class="test">
|
||||
<ruby><rb>XXXX</rb><rt style="text-combine-upright: all">X</rt></ruby>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: Ruby with text-combine-upright child in annotation</title>
|
||||
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
|
||||
<link rel="match" href="ruby-text-combine-upright-002-ref.html">
|
||||
<link rel="stylesheet" href="/fonts/ahem.css">
|
||||
<style>
|
||||
.test {
|
||||
font: 52px Ahem;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the two rectangles are vertically middle aligned.</p>
|
||||
<div class="test">
|
||||
<ruby><rb>XXXX</rb><rt><span style="text-combine-upright: all">X</span></rt></ruby>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue