mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update web-platform-tests to revision 9919d0f04266001686c09d47ff6e25c98b48d91f
This commit is contained in:
parent
026e550d35
commit
e7fcc8e274
453 changed files with 7751 additions and 2288 deletions
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout Test: Insert a block into a multicol details containing column-span:all</title>
|
||||
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
|
||||
|
||||
<style>
|
||||
#details {
|
||||
column-count: 3;
|
||||
column-rule: 6px solid;
|
||||
width: 400px;
|
||||
outline: 1px solid black;
|
||||
}
|
||||
h3 {
|
||||
column-span: all;
|
||||
outline: 1px solid blue;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<details open id="details">
|
||||
<div>block1</div>
|
||||
<summary>Summary</summary>
|
||||
<h3>spanner</h3>
|
||||
<div>block2</div>
|
||||
</details>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout Test: Insert a block into a multicol details containing column-span:all</title>
|
||||
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
|
||||
<link rel="match" href="multicol-span-all-dynamic-add-013-ref.html">
|
||||
<meta name="assert" content="This test checks that <summary> is still rendered as the first element after inserting a block into multicol <details>, at the place before <summary>.">
|
||||
|
||||
<script>
|
||||
function runTest() {
|
||||
document.body.offsetHeight;
|
||||
|
||||
// Create a div, and insert it as the first child of <details>,
|
||||
// just before <summary>.
|
||||
var block1 = document.createElement("div");
|
||||
var block1Text = document.createTextNode("block1");
|
||||
block1.appendChild(block1Text);
|
||||
|
||||
var details = document.getElementById("details");
|
||||
details.insertBefore(block1, details.children[0]);
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#details {
|
||||
column-count: 3;
|
||||
column-rule: 6px solid;
|
||||
width: 400px;
|
||||
outline: 1px solid black;
|
||||
}
|
||||
h3 {
|
||||
column-span: all;
|
||||
outline: 1px solid blue;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body onload="runTest();">
|
||||
<details open id="details">
|
||||
<summary>Summary</summary>
|
||||
<h3>spanner</h3>
|
||||
<div>block2</div>
|
||||
</details>
|
||||
</body>
|
||||
</html>
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout: getComputedValue().columnCount</title>
|
||||
<title>CSS Multi-column Layout: getComputedStyle().columnCount</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-count">
|
||||
<meta name="assert" content="column-count computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout: getComputedValue().columnFill</title>
|
||||
<title>CSS Multi-column Layout: getComputedStyle().columnFill</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-fill">
|
||||
<meta name="assert" content="column-fill computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout: getComputedValue().columnGap</title>
|
||||
<title>CSS Multi-column Layout: getComputedStyle().columnGap</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-gap">
|
||||
<meta name="assert" content="column-gap computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout: getComputedValue().columnRuleColor</title>
|
||||
<title>CSS Multi-column Layout: getComputedStyle().columnRuleColor</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-rule-color">
|
||||
<meta name="assert" content="column-rule-color computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout: getComputedValue().columnRule</title>
|
||||
<title>CSS Multi-column Layout: getComputedStyle().columnRule</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-rule">
|
||||
<meta name="assert" content="column-rule computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout: getComputedValue().columnRuleStyle</title>
|
||||
<title>CSS Multi-column Layout: getComputedStyle().columnRuleStyle</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-rule-style">
|
||||
<meta name="assert" content="column-rule-style computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout: getComputedValue().columnRuleWidth</title>
|
||||
<title>CSS Multi-column Layout: getComputedStyle().columnRuleWidth</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-rule-width">
|
||||
<meta name="assert" content="column-rule-width computed value is absolute length.">
|
||||
<meta name="assert" content="column-rule-width computed value is 0 if the column rule style is none or hidden.">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout: getComputedValue().columnSpan</title>
|
||||
<title>CSS Multi-column Layout: getComputedStyle().columnSpan</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-span">
|
||||
<meta name="assert" content="column-span computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout: getComputedValue().columnWidth</title>
|
||||
<title>CSS Multi-column Layout: getComputedStyle().columnWidth</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-width">
|
||||
<meta name="assert" content="column-width computed value is the keyword auto or an absolute length.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue