mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision c26470dac73f2df9d4822a0d3482f7eb1ebf57d9
This commit is contained in:
parent
7de87c487b
commit
4d3c932c47
648 changed files with 9014 additions and 4821 deletions
|
@ -5,6 +5,8 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
|
||||
<link rel="match" href="display-contents-pass-ref.html">
|
||||
<style>
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
div { display: contents }
|
||||
.p::before { content: "P" }
|
||||
.a::before { content: "A" }
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
|
||||
<link rel="match" href="display-contents-pass-ref.html">
|
||||
<style>
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
div::before {
|
||||
display: contents;
|
||||
border: 100px solid red;
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
|
||||
<link rel="match" href="display-contents-pass-ref.html">
|
||||
<style>
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
.flex { display: inline-flex; flex-direction: column }
|
||||
.flex::before { display: contents; content: "A" }
|
||||
.flex::after { display: contents; content: "S" }
|
||||
|
|
|
@ -5,8 +5,11 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-display/#unbox-html">
|
||||
<link rel="match" href="display-contents-pass-ref.html">
|
||||
<style>
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
button {
|
||||
all: initial;
|
||||
font-kerning: none; font-feature-settings: "kern" off;
|
||||
border: 10px solid red;
|
||||
display: contents;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-display/#unbox-html">
|
||||
<link rel="match" href="display-contents-pass-ref.html">
|
||||
<style>
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
fieldset, legend {
|
||||
all: initial;
|
||||
border: 10px solid red;
|
||||
|
|
|
@ -2,5 +2,9 @@
|
|||
<meta charset="utf-8">
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Rune Lillesveen" href="mailto:rune@opera.com">
|
||||
<style>
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
</style>
|
||||
<p>You should see the word PASS below.</p>
|
||||
P<span>A</span>S<span>S</span>
|
||||
PASS
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Display: display:contents on SVG anchor child</title>
|
||||
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-display/#unbox-svg">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<svg>
|
||||
<a>
|
||||
<tspan style="display:contents;color:green">Text</tspan>
|
||||
</a>
|
||||
<text>
|
||||
<a>
|
||||
<tspan style="display:contents;color:green">Text</tspan>
|
||||
</a>
|
||||
</text>
|
||||
</svg>
|
||||
<script>
|
||||
test(() => {}, "Loading this page should not cause a crash.");
|
||||
</script>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Display: display:contents on SVG switch child</title>
|
||||
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-display/#unbox-svg">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<svg>
|
||||
<switch>
|
||||
<tspan style="display:contents;color:green">Text</tspan>
|
||||
</switch>
|
||||
</svg>
|
||||
<script>
|
||||
test(() => {}, "Loading this page should not cause a crash.");
|
||||
</script>
|
|
@ -5,6 +5,8 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
|
||||
<link rel="match" href="display-contents-pass-ref.html">
|
||||
<style>
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
td {
|
||||
display: contents;
|
||||
padding-right: 3em
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-display/#unbox-html">
|
||||
<link rel="match" href="display-contents-pass-ref.html">
|
||||
<style>
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
body { overflow: hidden }
|
||||
br, wbr, meter, progress, canvas, embed, object, audio, iframe, img, video,
|
||||
input, textarea, select {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue