mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -8,6 +8,17 @@
|
|||
<title>CSS Ruby Reference: basic 'block ruby' layout.</title>
|
||||
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
|
||||
<style>
|
||||
@font-face
|
||||
{
|
||||
font-family: "mplus-1p-regular";
|
||||
src: url("/fonts/mplus-1p-regular.woff") format("woff");
|
||||
}
|
||||
|
||||
html
|
||||
{
|
||||
font-family: "mplus-1p-regular";
|
||||
}
|
||||
|
||||
.b { background: lightblue; }
|
||||
.mbp {
|
||||
margin: 1px 3px 5px 7px;
|
||||
|
@ -25,13 +36,13 @@ rbc {
|
|||
display: ruby-base-container;
|
||||
unicode-bidi: isolate;
|
||||
}
|
||||
.w { white-space: nowrap; width:2.5em; }
|
||||
.w { white-space: nowrap; width:2.5em; margin: 1em 0em; }
|
||||
</style>
|
||||
A<div class=b><ruby>べ<rt>る</rt></ruby></div>B
|
||||
A<div class="b"><ruby>べ<rt>る</rt></ruby></div>B
|
||||
A<div class="mbp b"><ruby>べ<rt>る</rt></ruby></div>B
|
||||
<div class=columns>A<div class="mbp b"><ruby>べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt></ruby></div>B</div>
|
||||
<div style="width:2.5em; border:1px solid; text-align: center">
|
||||
<p><div class="w b"><ruby><rb>一<rb>二<rb>三<rb>四<rb>五<rb>六<rb>七<rb>八</ruby></div></p>
|
||||
<p><div class="w b"><ruby><rbc>一</rbc><rbc>二</rbc><rbc>三</rbc><rbc>四</rbc><rbc>五</rbc><rbc>六</rbc><rbc>七</rbc><rbc>八</rbc></ruby></div></p>
|
||||
<div class="columns">A<div class="mbp b"><ruby>べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt></ruby></div>B</div>
|
||||
<div style="width:2.5em; border:1px solid;">
|
||||
<div class="w b"><ruby><rb>一<rb>二<rb>三<rb>四<rb>五<rb>六<rb>七<rb>八</ruby></div>
|
||||
<div class="w b"><ruby><rbc>一</rbc><rbc>二</rbc><rbc>三</rbc><rbc>四</rbc><rbc>五</rbc><rbc>六</rbc><rbc>七</rbc><rbc>八</rbc></ruby></div>
|
||||
</div>
|
||||
</html>
|
||||
|
|
|
@ -11,6 +11,17 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-layout">
|
||||
<link rel="match" href="block-ruby-001-ref.html">
|
||||
<style>
|
||||
@font-face
|
||||
{
|
||||
font-family: "mplus-1p-regular";
|
||||
src: url("/fonts/mplus-1p-regular.woff") format("woff");
|
||||
}
|
||||
|
||||
html
|
||||
{
|
||||
font-family: "mplus-1p-regular";
|
||||
}
|
||||
|
||||
ruby { display: block ruby; background: lightblue; }
|
||||
.mbp {
|
||||
margin: 1px 3px 5px 7px;
|
||||
|
@ -30,10 +41,10 @@ rbc {
|
|||
}
|
||||
</style>
|
||||
A<ruby>べ<rt>る</rt></ruby>B
|
||||
A<ruby class=mbp>べ<rt>る</rt></ruby>B
|
||||
<div class=columns>A<ruby class=mbp>べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt></ruby>B</div>
|
||||
<div style="width:2.5em; border:1px solid; text-align: center">
|
||||
<p><ruby><rb>一<rb>二<rb>三<rb>四<rb>五<rb>六<rb>七<rb>八</ruby></p>
|
||||
<p><ruby><rbc>一</rbc><rbc>二</rbc><rbc>三</rbc><rbc>四</rbc><rbc>五</rbc><rbc>六</rbc><rbc>七</rbc><rbc>八</rbc></ruby></p>
|
||||
A<ruby class="mbp">べ<rt>る</rt></ruby>B
|
||||
<div class="columns">A<ruby class=mbp>べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt> べ<rt>る</rt></ruby>B</div>
|
||||
<div style="width:2.5em; border:1px solid;">
|
||||
<ruby style="margin: 1em 0em;"><rb>一<rb>二<rb>三<rb>四<rb>五<rb>六<rb>七<rb>八</ruby>
|
||||
<ruby style="margin: 1em 0em;"><rbc>一</rbc><rbc>二</rbc><rbc>三</rbc><rbc>四</rbc><rbc>五</rbc><rbc>六</rbc><rbc>七</rbc><rbc>八</rbc></ruby>
|
||||
</div>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Ruby Test: intra-base white space (complex)</title>
|
||||
|
||||
<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/#white-space">
|
||||
<link rel="match" href="reference/intra-base-white-space-001-ref.html">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that a single intra-base white space must be used when doing unit box pairing as long as it does not begin a ruby base container box or it does not end a ruby base container box. In this test, a leading white space inside of a ruby base unit box (the 'c' one) and a trailing white space inside of a ruby base unit box (the 'd' one) are collapsible white spaces across adjacent ruby base boxes according to white space processing rules.">
|
||||
|
||||
<style>
|
||||
ruby
|
||||
{
|
||||
background-color: lightblue;
|
||||
font-size: 60px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<ruby>
|
||||
|
||||
b<rb> </rb><rb> c</rb><rb>d </rb><rb> </rb><rb>e</rb>
|
||||
|
||||
<rt>a</rt><rt></rt><rt>a</rt><rt>a</rt><rt></rt><rt>a</rt>
|
||||
|
||||
</ruby>
|
||||
|
||||
<!--
|
||||
|
||||
|[ a ]|[ ]|[ a ]| [ a ] |[]|[ a ]|
|
||||
|[ b ]|[ws]|[ c ]|[ d ][ws]|[]|[ e ]|
|
||||
|
||||
-->
|
|
@ -7,6 +7,7 @@
|
|||
<title>CSS Ruby Test: rbc and rtc elements (basic)</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="match" href="reference/rbc-rtc-basic-001-ref.html">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-ruby-1/#box-fixup">
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Reference File</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style>
|
||||
ruby
|
||||
{
|
||||
background-color: lightblue;
|
||||
font-size: 60px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<ruby>
|
||||
|
||||
<rb>b</rb><rt>a</rt><rb> </rb><rt></rt><rb>c</rb><rt>a</rt><rb>d </rb><rt>a</rt><rb>e</rb><rt>a</rt>
|
||||
|
||||
</ruby>
|
||||
|
||||
<!--
|
||||
|
||||
|[ a ]|[ ]|[ a ]| [ a ] |[ a ]|
|
||||
|[ b ]|[ws]|[ c ]|[ d ][ws]|[ e ]|
|
||||
|
||||
-->
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Reference File</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="stylesheet" href="/fonts/ahem.css">
|
||||
|
||||
<style>
|
||||
div
|
||||
{
|
||||
font-family: Ahem;
|
||||
font-size: 60px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
div.annotation
|
||||
{
|
||||
font-size: 30px;
|
||||
margin-top: 60px;
|
||||
text-indent: 15px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="annotation">A</div>
|
||||
|
||||
<div>W Z</div>
|
||||
|
||||
<div class="annotation">A</div>
|
||||
|
||||
<div>W Z</div>
|
||||
|
||||
<div class="annotation">A</div>
|
||||
|
||||
<div>W Z</div>
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Ruby Test: single ruby annotation pairing</title>
|
||||
|
||||
<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/#base-annotation-pairing">
|
||||
<link rel="match" href="reference/ruby-annotation-pairing-001-ref.html">
|
||||
<link rel="stylesheet" href="/fonts/ahem.css">
|
||||
|
||||
<meta content="" name="flags">
|
||||
<meta content="This test checks that a single ruby annotation must be paired with the corresponding first ruby base of its segment.">
|
||||
|
||||
<!--
|
||||
Chromium 90.0.4430.212 and Chromium 93.0.4559.0 fail this test.
|
||||
-->
|
||||
|
||||
<style>
|
||||
div, p
|
||||
{
|
||||
font-family: Ahem;
|
||||
font-size: 60px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
div#annotation
|
||||
{
|
||||
font-size: 30px;
|
||||
text-indent: 15px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p><ruby><rb>W</rb> <rb>Z</rb> <rt>A</rt></ruby></p>
|
||||
|
||||
<div id="annotation" title="reference">A</div>
|
||||
|
||||
<div id="base" title="reference">W Z</div>
|
||||
|
||||
<p><ruby><rb>W</rb> <span>Z</span> <rt>A</rt></ruby></p>
|
Loading…
Add table
Add a link
Reference in a new issue