Auto merge of #23285 - servo-wpt-sync:wpt_update_29-04-2019, r=servo-wpt-sync

Sync WPT with upstream (29-04-2019)

Automated downstream sync of changes from upstream as of 29-04-2019.
[no-wpt-sync]
This commit is contained in:
bors-servo 2019-04-29 00:58:07 -04:00 committed by GitHub
commit d58ea974ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 611 additions and 57 deletions

View file

@ -127153,9 +127153,9 @@
{}
]
],
"css/css-lists/counter-reset-increment-display-contents.html": [
"css/css-lists/counter-reset-increment-set-display-contents.html": [
[
"css/css-lists/counter-reset-increment-display-contents.html",
"css/css-lists/counter-reset-increment-set-display-contents.html",
[
[
"/css/css-lists/counter-7-ref.html",
@ -127165,9 +127165,9 @@
{}
]
],
"css/css-lists/counter-reset-increment-display-none.html": [
"css/css-lists/counter-reset-increment-set-display-none.html": [
[
"css/css-lists/counter-reset-increment-display-none.html",
"css/css-lists/counter-reset-increment-set-display-none.html",
[
[
"/css/css-lists/counter-7-ref.html",
@ -127189,6 +127189,42 @@
{}
]
],
"css/css-lists/counter-set-001.html": [
[
"css/css-lists/counter-set-001.html",
[
[
"/css/css-lists/counter-set-001-ref.html",
"=="
]
],
{}
]
],
"css/css-lists/li-list-item-counter.html": [
[
"css/css-lists/li-list-item-counter.html",
[
[
"/css/css-lists/li-list-item-counter-ref.html",
"=="
]
],
{}
]
],
"css/css-lists/li-value-counter-reset-001.html": [
[
"css/css-lists/li-value-counter-reset-001.html",
[
[
"/css/css-lists/li-value-counter-reset-001-ref.html",
"=="
]
],
{}
]
],
"css/css-lists/li-with-height-001.html": [
[
"css/css-lists/li-with-height-001.html",
@ -130969,6 +131005,42 @@
{}
]
],
"css/css-multicol/multicol-span-all-button-001.html": [
[
"css/css-multicol/multicol-span-all-button-001.html",
[
[
"/css/css-multicol/multicol-span-all-button-001-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-span-all-button-002.html": [
[
"css/css-multicol/multicol-span-all-button-002.html",
[
[
"/css/css-multicol/multicol-span-all-button-002-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-span-all-button-003.html": [
[
"css/css-multicol/multicol-span-all-button-003.html",
[
[
"/css/css-multicol/multicol-span-all-button-003-ref.html",
"=="
]
],
{}
]
],
"css/css-multicol/multicol-span-all-children-height-001.html": [
[
"css/css-multicol/multicol-span-all-children-height-001.html",
@ -270609,6 +270681,21 @@
{}
]
],
"css/css-lists/counter-set-001-ref.html": [
[
{}
]
],
"css/css-lists/li-list-item-counter-ref.html": [
[
{}
]
],
"css/css-lists/li-value-counter-reset-001-ref.html": [
[
{}
]
],
"css/css-lists/li-with-height-001-ref.html": [
[
{}
@ -271454,6 +271541,21 @@
{}
]
],
"css/css-multicol/multicol-span-all-button-001-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-span-all-button-002-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-span-all-button-003-ref.html": [
[
{}
]
],
"css/css-multicol/multicol-span-all-children-height-001-ref.html": [
[
{}
@ -535945,7 +536047,7 @@
"support"
],
"css/CSS2/lists/counter-reset-increment-002.xht": [
"bf422ba1eb890076652160080389d708360b5f0a",
"8dc50ca60b242153e74307021c9ab7435ab149a6",
"reftest"
],
"css/CSS2/lists/counter-reset-multiple-001.xht": [
@ -593464,18 +593566,26 @@
"938015937025272c14a52b5839d65784ccb757bc",
"reftest"
],
"css/css-lists/counter-reset-increment-display-contents.html": [
"a59576b25345032b80580a64d4775969e824f999",
"css/css-lists/counter-reset-increment-set-display-contents.html": [
"6508df0da150a92e42032c546f2cf4ac6c171859",
"reftest"
],
"css/css-lists/counter-reset-increment-display-none.html": [
"3b344a751c1da2d3c15feab1cdba078cc3c4590a",
"css/css-lists/counter-reset-increment-set-display-none.html": [
"510fd8b6482be5a9007c111c6f8478bb659d72b0",
"reftest"
],
"css/css-lists/counter-reset-inside-display-contents.html": [
"85c137e675e55a54c4ab3834469ab3d13aa32725",
"reftest"
],
"css/css-lists/counter-set-001-ref.html": [
"be06ea1dc948b4f4cc9331f494dc90a5787170de",
"support"
],
"css/css-lists/counter-set-001.html": [
"3be4c737c2ba0cc9af542413b7df7d682486efff",
"reftest"
],
"css/css-lists/inheritance.html": [
"590319d63fd09466f4d5fffe6943b4ff0430fcee",
"testharness"
@ -593484,6 +593594,22 @@
"0fae6e3f6036c46b8f658304787da5879913296f",
"testharness"
],
"css/css-lists/li-list-item-counter-ref.html": [
"8340d6d7f65aebaee0cebf0317092050bb33b4e2",
"support"
],
"css/css-lists/li-list-item-counter.html": [
"b9a1196cabce1924b74bbd66d84917f02a4186a9",
"reftest"
],
"css/css-lists/li-value-counter-reset-001-ref.html": [
"9afb1ecfa059dda219c63d6e4d6381ac5c251d4e",
"support"
],
"css/css-lists/li-value-counter-reset-001.html": [
"0e91c3a03d618a9d17194c883f80fd90899d4459",
"reftest"
],
"css/css-lists/li-with-height-001-ref.html": [
"486009d5604ab7a2cb66df735efff3c11c00b685",
"support"
@ -595664,6 +595790,30 @@
"83debd12d20b9f78d5beaf338ae7f068ed6bf693",
"support"
],
"css/css-multicol/multicol-span-all-button-001-ref.html": [
"d25ecd08c85978ff34c964d2c95f339d7c69b6ae",
"support"
],
"css/css-multicol/multicol-span-all-button-001.html": [
"14833091c8f1bd7804e4ad1a082d3cc0f039d0d9",
"reftest"
],
"css/css-multicol/multicol-span-all-button-002-ref.html": [
"c9ec677335e4969ff10e10d98a43ce680dc5dbce",
"support"
],
"css/css-multicol/multicol-span-all-button-002.html": [
"874cb130dee2ab8ba00e8beb29a4eae07138ddcf",
"reftest"
],
"css/css-multicol/multicol-span-all-button-003-ref.html": [
"337f9c763aadb85c440f9811cab90ac8bccf8ffd",
"support"
],
"css/css-multicol/multicol-span-all-button-003.html": [
"fc15c94a306f406bcf8e232a3021cf568a878a43",
"reftest"
],
"css/css-multicol/multicol-span-all-children-height-001-ref.html": [
"e95210fed257c34d8c265259c7694497c1ff712d",
"support"
@ -600861,7 +601011,7 @@
"testharness"
],
"css/css-scroll-snap/overflowing-snap-areas.html": [
"8f6698d02064a05709c91b63a5905ca0f9dd992f",
"ee31847fddd16ec9d4a5b1e799c73461009f9e1a",
"testharness"
],
"css/css-scroll-snap/parsing/scroll-margin-block-invalid.html": [
@ -648721,7 +648871,7 @@
"testharness"
],
"fetch/api/request/request-keepalive.html": [
"c9e1a6acdd30ad85c8a60ae434b2a71f601e50a2",
"602fabc4db347139980d21f955cb20e59826739f",
"testharness"
],
"fetch/api/request/request-reset-attributes.https.html": [
@ -671269,7 +671419,7 @@
"support"
],
"interfaces/mediacapture-streams.idl": [
"0feea37802d9facb70978684b4faaf5780dbd0bb",
"427aa92dd1f750f305bccb0b9514820f5bc1d29b",
"support"
],
"interfaces/mediasession.idl": [
@ -671441,7 +671591,7 @@
"support"
],
"interfaces/user-timing.idl": [
"cd2e1446b89ef6bb2e03caadda707f141476c9b7",
"13ad7f8730d3cd269fa231a40ba490780bef476c",
"support"
],
"interfaces/vibration.idl": [

View file

@ -0,0 +1,2 @@
[counter-reset-increment-002.xht]
expected: FAIL

View file

@ -2,7 +2,6 @@
type: testharness
[single-byte-decoder.html?document]
expected: TIMEOUT
[ISO-8859-4: iso_8859-4:1988 (document.characterSet and document.inputEncoding)]
expected: FAIL

View file

@ -312,24 +312,3 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: */* text/html]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_5.html]
[traverse_the_history_2.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_3.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,5 +1,5 @@
[name-attribute.window.html]
expected: CRASH
expected: TIMEOUT
[cross-origin <frame name=>]
expected: TIMEOUT

View file

@ -0,0 +1,7 @@
[toggleEvent.html]
[Calling open twice on 'details' fires only one toggle event]
expected: FAIL
[Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element]
expected: FAIL

View file

@ -0,0 +1,4 @@
[WorkerGlobalScope-close.html]
[Test sending a message after closing.]
expected: FAIL

View file

@ -0,0 +1,2 @@
[Worker-constructor.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[transition_calc_implicit.html]
expected: TIMEOUT

View file

@ -29,7 +29,6 @@
li:before
{
content: counter(list-item) ". ";
counter-increment: list-item;
}
]]></style>

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: counter-reset and counter-increment on display:contents</title>
<title>CSS Lists: counter-reset, counter-set and counter-increment on display:contents</title>
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-lists/#counters-without-boxes">
<link rel="match" href="counter-7-ref.html">
@ -8,6 +8,7 @@
.inc { counter-increment: x }
.reset-6 { counter-reset: x 6 }
.reset-666 { counter-reset: x 666 }
.set-666 { counter-set: x 666 }
.contents { display: contents }
.result::before { content: counter(x) }
</style>
@ -15,5 +16,6 @@
<div>
<span class="reset-6"></span>
<span class="contents reset-666 inc"></span>
<span class="contents set-666"></span>
<span class="inc result"></span>
</div>

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: counter-reset and counter-increment on display:none</title>
<title>CSS Lists: counter-reset, counter-set and counter-increment on display:none</title>
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-lists/#counters-without-boxes">
<link rel="match" href="counter-7-ref.html">
@ -8,6 +8,7 @@
.inc { counter-increment: x }
.reset-6 { counter-reset: x 6 }
.reset-666 { counter-reset: x 666 }
.set-666 { counter-set: x 666 }
.none { display: none }
.result::before { content: counter(x) }
</style>
@ -15,5 +16,6 @@
<div>
<span class="reset-6"></span>
<span class="none reset-666 inc"></span>
<span class="none set-666"></span>
<span class="inc result"></span>
</div>

View file

@ -0,0 +1,37 @@
<!DOCTYPE HTML>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
<meta charset="utf-8">
<title>CSS Lists: basic tests for 'counter-set'</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
<style>
html,body {
color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}
</style>
</head>
<body>
<span>7</span><!-- "7" -->
<span>0</span><!-- "0" -->
<span>7</span><!-- "7" -->
<span>8</span><!-- "8" -->
<span>2</span><!-- "2" -->
<x>
<span>2</span><!-- "2" -->
</x>
<span>3</span><!-- "3" -->
<x>
<span>0</span><!-- "0" -->
<span>2</span><!-- "2" -->
<x>
<span>2.5</span><!-- "2.5" -->
</x>
</x>
<span>3</span><!-- "3" -->
</body>
</html>

View file

@ -0,0 +1,40 @@
<!DOCTYPE HTML>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
<meta charset="utf-8">
<title>CSS Lists: basic tests for 'counter-set'</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-lists/#propdef-counter-set">
<link rel="match" href="counter-set-001-ref.html">
<style>
html,body {
color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}
span::before { content: counters(n, '.'); }
</style>
</head>
<body>
<span style="counter-set: n 7"></span><!-- "7" -->
<span style="counter-set: n"></span><!-- "0" -->
<span style="counter-set: n 8 n 7"></span><!-- "7" -->
<span style="counter-set: n 6; counter-increment: n 2"></span><!-- "8" -->
<span style="counter-set: n; counter-increment: n 2"></span><!-- "2" -->
<x style="counter-reset: n 9">
<span style="counter-set: n 2"></span><!-- "2" -->
</x>
<span style="counter-increment: n"></span><!-- "3" -->
<x style="counter-reset: n 9">
<span style="counter-set: n"></span><!-- "0" -->
<span style="counter-set: n 2"></span><!-- "2" -->
<x style="counter-reset: n 1">
<span style="counter-set: n 5"></span><!-- "2.5" -->
</x>
</x>
<span style="counter-increment: n"></span><!-- "3" -->
</body>
</html>

View file

@ -0,0 +1,26 @@
<!DOCTYPE HTML>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
<meta charset="utf-8">
<title>Reference:_CSS Lists: 'counter-increment:list-item' on LI</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
<style>
html,body {
color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}
body { margin-left: 10em; }
</style>
</head>
<body>
<ol><li value=0>a<li value=4>b<li value=4>c</ol>
<ol><li value=0>a<li value=9>b<li value=9>c</ol>
<ol><li value=-1>a<li value=3>b<li value=2>c</ol>
<ol><li value=0>a<li value=4>b<li value=4>c</ol>
<ol><li value=2>a<li value=6>b<li value=8>c</ol>
</body>
</html>

View file

@ -0,0 +1,32 @@
<!DOCTYPE HTML>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
<meta charset="utf-8">
<title>CSS Lists: 'counter-increment:list-item' on LI</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-lists/#propdef-counter-increment">
<link rel="match" href="li-list-item-counter-ref.html">
<style>
html,body {
color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}
body { margin-left: 10em; }
li { counter-increment: list-item 0; }
.dec { counter-increment:list-item -1; }
.zero { counter-increment:list-item 1 list-item -1; }
.two { counter-increment:list-item 3 list-item -1; }
</style>
</head>
<body>
<ol><li>a<li value=4>b<li>c</ol>
<ol><li>a<li value=4 style="counter-increment:list-item 5">b<li>c</ol>
<ol><li class=dec>a<li value=4 class=dec>b<li class=dec>c</ol>
<ol><li class=zero>a<li value=4 class=zero>b<li class=zero>c</ol>
<ol><li class=two>a<li value=4 class=two>b<li class=two>c</ol>
</body>
</html>

View file

@ -0,0 +1,27 @@
<!DOCTYPE HTML>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
<meta charset="utf-8">
<title>Reference:_CSS Lists: 'counter-set:list-item' trumps LI @value</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
<style>
html,body {
color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}
body { margin-left: 10em; }
</style>
</head>
<body>
<ol><li>a<li value=99>b</ol>
<ol><li>a<li value=149>b</ol>
<ol><li>a<li value=54>b</ol>
<ol><li>a<li value=149>b</ol>
<ol><li>a<li value=51>b</ol>
<ol><li>a<li value=88>b</ol>
</body>
</html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE HTML>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
<meta charset="utf-8">
<title>CSS Lists: 'counter-set:list-item' trumps LI @value</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-lists/#propdef-counter-set">
<link rel="match" href="li-value-counter-reset-001-ref.html">
<style>
html,body {
color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}
body { margin-left: 10em; }
li.set { counter-set: list-item 99; }
</style>
</head>
<body>
<ol><li>a<li value=4 class=set>b</ol>
<ol><li>a<li value=4 class=set style="counter-increment:list-item 50">b</ol>
<ol><li>a<li value=4 style="counter-increment:list-item 50">b</ol>
<ol><li>a<li class=set style="counter-increment:list-item 50">b</ol>
<ol><li>a<li style="counter-increment:list-item 50">b</ol>
<ol><li>a<li value=4 class=set style="counter-set:list-item 88">b</ol>
</body>
</html>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test a multi-column container on button works with a column-span:all child</title>
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<style>
button {
width: 400px;
}
.inner {
column-count: 3;
column-rule: 6px solid;
}
h3 {
column-span: all;
outline: 1px solid blue;
}
</style>
<button>
<div class="inner">
<div>block1</div><div>block2</div>
<h3>spanner</h3>
<div>block3</div><div>block4</div>
</div>
</button>
</html>

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test a multi-column container on button works with a column-span:all child</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-button-001-ref.html">
<meta name="assert" content="This test checks the page is rendered correctly for a multi-column container on button with a column-span:all child.">
<style>
button {
column-count: 3;
column-rule: 6px solid;
width: 400px;
}
h3 {
column-span: all;
outline: 1px solid blue;
}
</style>
<button>
<div>block1</div><div>block2</div>
<h3>spanner</h3>
<div>block3</div><div>block4</div>
</button>
</html>

View file

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test a overflow:hidden and position:absolute multi-column container on button works with a column-span:all child and position:absolute boxes</title>
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<style>
button {
width: 400px;
padding: 1em;
overflow: hidden;
position: absolute;
}
.inner {
column-count: 3;
column-rule: 6px solid;
}
h3 {
column-span: all;
outline: 1px solid blue;
}
a {
position: absolute;
width: 1em;
height: 1em;
background-color: blue;
}
</style>
<button>
<div class="inner">
<div>block1</div><div>block2</div><a></a>
<h3>spanner<a></a></h3>
<div>block3</div><div>block4</div><a></a>
</div>
</button>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test a overflow:hidden and position:absolute multi-column container on button works with a column-span:all child and position:absolute boxes</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-button-002-ref.html">
<meta name="assert" content="This test checks the page is rendered correctly for a overflow:hidden and position:absolute button multi-column container with a column-span:all child and position:absolute boxes.">
<style>
button {
column-count: 3;
column-rule: 6px solid;
width: 400px;
padding: 1em;
overflow: hidden;
position: absolute;
}
h3 {
column-span: all;
outline: 1px solid blue;
}
a {
position: absolute;
width: 1em;
height: 1em;
background-color: blue;
}
</style>
<button>
<div>block1</div><div>block2</div><a></a>
<h3>spanner<a></a></h3>
<div>block3</div><div>block4</div><a></a>
</button>
</html>

View file

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test a overflow:hidden and position:absolute multi-column container on button works with a column-span:all child and position:fixed boxes</title>
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<style>
button {
width: 400px;
padding: 1em;
overflow: hidden;
position: absolute;
}
.inner {
column-count: 3;
column-rule: 6px solid;
}
h3 {
column-span: all;
outline: 1px solid blue;
}
a {
position: fixed;
width: 1em;
height: 1em;
background-color: blue;
}
</style>
<button>
<div class="inner">
<div>block1</div><div>block2</div><a></a>
<h3>spanner<a></a></h3>
<div>block3</div><div>block4</div><a></a>
</div>
</button>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test a overflow:hidden and position:absolute multi-column container on button works with a column-span:all child and position:fixed boxes</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-button-003-ref.html">
<meta name="assert" content="This test checks the page is rendered correctly for a overflow:hidden and position:absolute button multi-column container with a column-span:all child and position:absolute boxes.">
<style>
button {
column-count: 3;
column-rule: 6px solid;
width: 400px;
padding: 1em;
overflow: hidden;
position: absolute;
}
h3 {
column-span: all;
outline: 1px solid blue;
}
a {
position: fixed;
width: 1em;
height: 1em;
background-color: blue;
}
</style>
<button>
<div>block1</div><div>block2</div><a></a>
<h3>spanner<a></a></h3>
<div>block3</div><div>block4</div><a></a>
</button>
</html>

View file

@ -63,6 +63,7 @@ div {
<div class="target small" style="top: 200px"></div>
<div class="target small" style="top: 600px"></div>
<div class="target small" style="top: 1200px"></div>
<div class="target large-y" style="top: 2000px"></div>
</div>
</div>
@ -143,6 +144,20 @@ test(() => {
}, "Snap to current scroll position which is a valid snap position, as the " +
"snap area covers snapport on y and there is no subsequent snap positions.");
test(() => {
const maxScrollTop = scroller_y.scrollHeight - scroller_y.clientHeight;
// Scroll to the bottom edge which is a valid snap position that a large
// target element covers the snapport.
scroller_y.scrollTo(0, maxScrollTop);
assert_equals(scroller_y.scrollTop, maxScrollTop);
// Scroll to `the bottom edge + 1`.
scroller_y.scrollTo(0, maxScrollTop + 1);
assert_equals(scroller_y.scrollTop, maxScrollTop);
}, "Don't snap back even if scrollTo tries to scroll to positions which are " +
"outside of the scroll range and if a snap target element covers the snaport");
test(() => {
two_axes_scroller.scrollTo(10, 100);
assert_equals(two_axes_scroller.scrollLeft, 10);

View file

@ -21,7 +21,7 @@ test(() => {
test(() => {
const init = {method: 'POST', keepalive: true, body: new ReadableStream()};
assert_throws('TypeError', () => {new Request('/', init)});
assert_throws(new TypeError(), () => {new Request('/', init)});
}, 'keepalive flag with stream body');
</script>
</body>

View file

@ -38,7 +38,6 @@ interface MediaStreamTrack : EventTarget {
MediaTrackConstraints getConstraints();
MediaTrackSettings getSettings();
Promise<void> applyConstraints(optional MediaTrackConstraints constraints);
attribute EventHandler onoverconstrained;
};
enum MediaStreamTrackState {
@ -149,16 +148,6 @@ dictionary MediaStreamTrackEventInit : EventInit {
required MediaStreamTrack track;
};
[Exposed=Window,
Constructor(DOMString type, OverconstrainedErrorEventInit eventInitDict)]
interface OverconstrainedErrorEvent : Event {
readonly attribute OverconstrainedError? error;
};
dictionary OverconstrainedErrorEventInit : EventInit {
OverconstrainedError? error = null;
};
partial interface Navigator {
[SameObject, SecureContext]
readonly attribute MediaDevices mediaDevices;

View file

@ -4,12 +4,12 @@
// Source: User Timing Level 3 (https://w3c.github.io/user-timing/)
dictionary PerformanceMarkOptions {
any detail = null;
any detail;
DOMHighResTimeStamp startTime;
};
dictionary PerformanceMeasureOptions {
any detail = null;
any detail;
(DOMString or DOMHighResTimeStamp) start;
DOMHighResTimeStamp duration;
(DOMString or DOMHighResTimeStamp) end;
@ -18,7 +18,7 @@ dictionary PerformanceMeasureOptions {
partial interface Performance {
PerformanceMark mark(DOMString markName, optional PerformanceMarkOptions markOptions);
void clearMarks(optional DOMString markName);
PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions)? startOrMeasureOptions, optional DOMString endMark);
PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions, optional DOMString endMark);
void clearMeasures(optional DOMString measureName);
};

View file

@ -41,3 +41,6 @@
[WebGL test #84: could not create image (SVG)]
expected: FAIL
[WebGL test #68: could not create image (SVG)]
expected: FAIL