mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
This commit is contained in:
parent
4997ec26c2
commit
a5af9a106a
192 changed files with 3943 additions and 1927 deletions
|
@ -5,7 +5,7 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="layout containment does not apply to non atomic inlines">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||
|
||||
<style>
|
||||
|
@ -15,5 +15,5 @@ span {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><span>PA</span>SS</div>
|
||||
|
|
|
@ -5,28 +5,32 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="ahem">
|
||||
<meta name=assert content="layout containment does not apply to ruby-base">
|
||||
<link rel="match" href="reference/contain-layout-002-ref.html">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||
|
||||
<style>
|
||||
div {
|
||||
position: relative;
|
||||
background: red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
padding: 25px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
rb {
|
||||
contain: layout;
|
||||
display: ruby-base;
|
||||
font-family: ahem;
|
||||
font-size: 20px;
|
||||
font-family: Ahem;
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
}
|
||||
rb::before {
|
||||
content: "X";
|
||||
color: green;
|
||||
}
|
||||
rb::after {
|
||||
content: "X";
|
||||
color: white;
|
||||
color: green;
|
||||
position: absolute;
|
||||
top:0; left: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see a green box below.
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div><ruby><rb></rb></ruby></div>
|
||||
|
|
|
@ -5,28 +5,32 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="ahem">
|
||||
<meta name=assert content="layout containment does not apply to ruby-base-container">
|
||||
<link rel="match" href="reference/contain-layout-002-ref.html">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||
|
||||
<style>
|
||||
div {
|
||||
position: relative;
|
||||
background: red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
padding: 25px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
rbc {
|
||||
contain: layout;
|
||||
display: ruby-base-container;
|
||||
font-family: ahem;
|
||||
font-size: 20px;
|
||||
font-family: Ahem;
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
}
|
||||
rbc::before {
|
||||
content: "X";
|
||||
color: green;
|
||||
}
|
||||
rbc::after {
|
||||
content: "X";
|
||||
color: white;
|
||||
color: green;
|
||||
position: absolute;
|
||||
top:0; left: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see a green box below.
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div><ruby><rbc></rbc></ruby></div>
|
||||
|
|
|
@ -5,28 +5,32 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="ahem">
|
||||
<meta name=assert content="layout containment does not apply to ruby-text-container">
|
||||
<link rel="match" href="reference/contain-layout-004-ref.html">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||
|
||||
<style>
|
||||
div {
|
||||
position: relative;
|
||||
background: red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
padding: 25px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
rtc {
|
||||
contain: layout;
|
||||
display: ruby-text-container;
|
||||
font-family: ahem;
|
||||
font-size: 20px;
|
||||
font-family: Ahem;
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
}
|
||||
rtc::before {
|
||||
content: "X";
|
||||
color: green;
|
||||
}
|
||||
rtc::after {
|
||||
content: "X";
|
||||
color: white;
|
||||
color: green;
|
||||
position: absolute;
|
||||
top:0; left: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see a green box below.
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div><ruby><rtc></rtc></ruby></div>
|
||||
|
|
|
@ -5,28 +5,32 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="ahem">
|
||||
<meta name=assert content="layout containment does not apply to ruby-text">
|
||||
<link rel="match" href="reference/contain-layout-005-ref.html">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||
|
||||
<style>
|
||||
div {
|
||||
position: relative;
|
||||
background: red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
padding: 25px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
rt {
|
||||
contain: layout;
|
||||
display: ruby-text;
|
||||
font-family: ahem;
|
||||
font-size: 20px;
|
||||
font-family: Ahem;
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
}
|
||||
rt::before {
|
||||
content: "X";
|
||||
color: green;
|
||||
}
|
||||
rt::after {
|
||||
content: "X";
|
||||
color: white;
|
||||
color: green;
|
||||
position: absolute;
|
||||
top:0; left: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see a green box below.
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div><ruby><rt></rt></ruby></div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="paint containment does not apply to non atomic inlines">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
|
||||
<style>
|
||||
|
@ -19,5 +19,5 @@ span::after {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><span></span></div>
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="paint containment applies to the principal box, which is the table wrapper box for tables">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
|
||||
<style>
|
||||
table { contain: paint; }
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<table>
|
||||
<caption>PASS</caption>
|
||||
</table>
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="paint containment applies to the principal box, which for list items excludes the list marker">
|
||||
<link rel="match" href="reference/contain-paint-004-ref.html">
|
||||
<link rel="match" href="../reference/nothing.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
|
||||
<style>
|
||||
li { contain: paint; }
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see no number below.
|
||||
<p>There should be nothing below.</p>
|
||||
<ol>
|
||||
<li>
|
||||
<li>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="paint containment does not apply to ruby-base">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
|
||||
<style>
|
||||
|
@ -20,5 +20,5 @@ rb::after {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><ruby><rb></rb></ruby></div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="paint containment does not apply to ruby-base-container">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
|
||||
<style>
|
||||
|
@ -20,5 +20,5 @@ rbc::after {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><ruby><rbc></rbc></ruby></div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Paint containment on table-cell</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
<link rel="match" href="reference/contain-paint-014-ref.html">
|
||||
<link rel="match" href="../reference/nothing.html">
|
||||
<meta name=assert content="Paint containment does apply to table-cell elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -15,5 +15,5 @@ span {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can NOT see the word FAIL below.</p>
|
||||
<p>There should be nothing below.</p>
|
||||
<div><span>FAIL</span></div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Paint containment on table-row-group</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Paint containment doesn't apply to table-row-group elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -15,5 +15,5 @@ span {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><span>PASS</span></div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Paint containment on table-header-group</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Paint containment doesn't apply to table-header-group elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -15,5 +15,5 @@ span {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><span>PASS</span></div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Paint containment on table-footer-group</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Paint containment doesn't apply to table-footer-group elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -15,5 +15,5 @@ span {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><span>PASS</span></div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Paint containment on table-row</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Paint containment doesn't apply to table-row elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -15,5 +15,5 @@ span {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><span>PASS</span></div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Paint containment on table-caption</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||
<link rel="match" href="reference/contain-paint-014-ref.html">
|
||||
<link rel="match" href="../reference/nothing.html">
|
||||
<meta name=assert content="Paint containment does apply to table-caption elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -15,5 +15,5 @@ span {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can NOT see the word FAIL below.</p>
|
||||
<p>There should be nothing below.</p>
|
||||
<div><span>FAIL</span></div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="size containment does not apply to non atomic inlines">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
|
||||
<style>
|
||||
|
@ -13,5 +13,5 @@ div { overflow: hidden; }
|
|||
span { contain: size; }
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><span>PASS</span></div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="size containment does not to apply ruby-base, which is an internatl ruby element">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
<link rel=help href="https://drafts.csswg.org/css-display-3/#internal-ruby-element">
|
||||
|
||||
|
@ -20,5 +20,5 @@ rb {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><ruby><rb>PASS</rb></ruby></div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="size containment does not to apply ruby-base-container, which is an internatl ruby element">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
<link rel=help href="https://drafts.csswg.org/css-display-3/#internal-ruby-element">
|
||||
|
||||
|
@ -20,5 +20,5 @@ rbc {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div><ruby><rbc>PASS</rbc></ruby></div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Size containment on table-cell</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Size containment doesn't apply to table-cell elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -13,5 +13,5 @@ div {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div>PASS</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Size containment on table-row-group</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Size containment doesn't apply to table-row-group elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -13,5 +13,5 @@ div {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div>PASS</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Size containment on table-header-group</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Size containment doesn't apply to table-header-group elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -13,5 +13,5 @@ div {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div>PASS</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Size containment on table-footer-group</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Size containment doesn't apply to table-footer-group elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -13,5 +13,5 @@ div {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div>PASS</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Size containment on table-row</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Size containment doesn't apply to table-row elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -13,5 +13,5 @@ div {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div>PASS</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Size containment on table-caption</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
<link rel="match" href="reference/contain-paint-014-ref.html">
|
||||
<link rel="match" href="../reference/nothing.html">
|
||||
<meta name=assert content="Size containment does apply to table-caption elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -13,5 +13,5 @@ div {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can NOT see the word FAIL below.</p>
|
||||
<p>There should be nothing below.</p>
|
||||
<div>FAIL</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<title>CSS Containment Test: Size containment on table</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
||||
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||
<meta name=assert content="Size containment doesn't apply to table elements.">
|
||||
<style>
|
||||
div {
|
||||
|
@ -13,5 +13,5 @@ div {
|
|||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see the word PASS below.</p>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div>PASS</div>
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test referene</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="ahem">
|
||||
|
||||
<style>
|
||||
rb {
|
||||
font-family: ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
rb::before {
|
||||
content: "X";
|
||||
color: green;
|
||||
}
|
||||
rb::after {
|
||||
content: "X";
|
||||
color: white;
|
||||
position: absolute;
|
||||
top:0; left: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see a green box below.
|
||||
<div><ruby><rb></rb></ruby></div>
|
|
@ -1,28 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="ahem">
|
||||
|
||||
<style>
|
||||
rtc {
|
||||
display: ruby-text-container;
|
||||
font-family: ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
rtc::before {
|
||||
content: "X";
|
||||
color: green;
|
||||
}
|
||||
rtc::after {
|
||||
content: "X";
|
||||
color: white;
|
||||
position: absolute;
|
||||
top:0; left: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see a green box below.
|
||||
<div><ruby><rtc></rtc></ruby></div>
|
|
@ -1,28 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="ahem">
|
||||
|
||||
<style>
|
||||
rt {
|
||||
display: ruby-text;
|
||||
font-family: ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
rt::before {
|
||||
content: "X";
|
||||
color: green;
|
||||
}
|
||||
rt::after {
|
||||
content: "X";
|
||||
color: white;
|
||||
position: absolute;
|
||||
top:0; left: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>This test passes if you can see a green box below.
|
||||
<div><ruby><rt></rt></ruby></div>
|
|
@ -1,7 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
|
||||
<p>This test passes if you can see no number below.
|
|
@ -1,5 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Containment Test: Reference file</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<p>This test passes if you can NOT see the word FAIL below.</p>
|
|
@ -1,8 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
|
||||
<p>This test passes if you can see the word PASS below.
|
||||
<div>PASS</div>
|
Loading…
Add table
Add a link
Reference in a new issue