mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Update web-platform-tests to revision edfb5824a2e35b1f428daa35277c14629392c8d4
This commit is contained in:
parent
7499b0736e
commit
071cb97177
54 changed files with 563 additions and 64 deletions
|
@ -1,4 +1,4 @@
|
|||
[hit-test-floats-004.html]
|
||||
[hit-test-floats-003.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -11,6 +11,3 @@
|
|||
[[data-expected-height\] 2]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 4]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[image-orientation-iframe.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,2 @@
|
|||
[lone-cr-001.tentative.html]
|
||||
expected: FAIL
|
|
@ -2,6 +2,3 @@
|
|||
[Hit test intersecting scaled box]
|
||||
expected: FAIL
|
||||
|
||||
[Hit test within unscaled box]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[elementFromPoint-001.html]
|
||||
[CSSOM View - 5 - extensions to the Document interface]
|
||||
expected: FAIL
|
||||
|
|
@ -17,3 +17,6 @@
|
|||
[test the top of layer]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: top left corner]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[matchMedia-display-none-iframe.html]
|
||||
expected: ERROR
|
|
@ -1,2 +0,0 @@
|
|||
[HTMLMediaElement.html]
|
||||
expected: TIMEOUT
|
|
@ -312,18 +312,24 @@
|
|||
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
|
||||
expected: NOTRUN
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -53,6 +53,6 @@
|
|||
[combined text/javascript ]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript x/x]
|
||||
[separate text/javascript error]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_1.html]
|
||||
[Multiple history traversals from the same task]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[traverse_the_history_5.html]
|
||||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[cross-origin-objects-on-new-window.html]
|
||||
expected: TIMEOUT
|
|
@ -1,16 +1,17 @@
|
|||
[supported-elements.html]
|
||||
expected: TIMEOUT
|
||||
[Contenteditable element should support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Element with tabindex should support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
[Area element should support autofocus]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Host element with delegatesFocus should support autofocus]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[iframe_sandbox_popups_nonescaping-1.html]
|
||||
expected: TIMEOUT
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[iframe_sandbox_popups_nonescaping-3.html]
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -3,3 +3,6 @@
|
|||
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: TIMEOUT
|
||||
|
||||
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[Worker-constructor.html]
|
||||
expected: ERROR
|
|
@ -1,7 +1,8 @@
|
|||
[shared-worker-in-data-url-context.window.html]
|
||||
expected: TIMEOUT
|
||||
[Create a shared worker in a data url frame]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Create a data url shared worker in a data url frame]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -24300,6 +24300,34 @@
|
|||
},
|
||||
"print-reftest": {
|
||||
"css": {
|
||||
"css-flexbox": {
|
||||
"break-nested-float-in-flex-item-001-print.html": [
|
||||
"1994190bf9432a53e696909d9432b17b244ab819",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-flexbox/break-nested-float-in-flex-item-print-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"break-nested-float-in-flex-item-002-print.html": [
|
||||
"83f47c47250a3b424276376505973bbb8162da26",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-flexbox/break-nested-float-in-flex-item-print-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
]
|
||||
},
|
||||
"css-multicol": {
|
||||
"column-balancing-paged-001-print.html": [
|
||||
"cf8e343d0fff9c576ad88f00a4f68b310bf0e65d",
|
||||
|
@ -124239,6 +124267,45 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"break-float-dynamic-001.html": [
|
||||
"f849b148fb6f9253c6f32dda72116a8066c287f8",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"break-float-dynamic-002.html": [
|
||||
"93e30ff04eecd443d1abaa326980a1aaa70ca555",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"break-overflowed-block-dynamic-001.html": [
|
||||
"9afdab1d8b4021261ad0ccf51f5d2d487afee830",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square.xht",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"fieldset-001.html": [
|
||||
"d320fe15bebcfbdd332ee9411b548dab60f8fba6",
|
||||
[
|
||||
|
@ -179667,6 +179734,19 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"lone-cr-001.tentative.html": [
|
||||
"ed5ff05a70d276e0d2987e82d6f8daf6e5b1cf85",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-text/white-space/lone-cr-001-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"pre-float-001.html": [
|
||||
"8dd08d80992e6d6310a6697f84c2533d399c8e5e",
|
||||
[
|
||||
|
@ -294164,6 +294244,10 @@
|
|||
"57f4307ca0c60174495221d27d2a739f14a94abe",
|
||||
[]
|
||||
],
|
||||
"break-nested-float-in-flex-item-print-ref.html": [
|
||||
"e867430bc63e3420004af5d377a1cc1edc4e75a8",
|
||||
[]
|
||||
],
|
||||
"css-flexbox-column-ref.html": [
|
||||
"b0287c2490bb8c1332e26a747fc2d5ed7cf48e2a",
|
||||
[]
|
||||
|
@ -310637,6 +310721,10 @@
|
|||
]
|
||||
},
|
||||
"white-space": {
|
||||
"lone-cr-001-ref.html": [
|
||||
"943daefee058239e51eef2a4c6b1b46471508696",
|
||||
[]
|
||||
],
|
||||
"reference": {
|
||||
"break-spaces-tab-003-ref.html": [
|
||||
"52a8c491cca2da9426e318d2e36786d05fe74e06",
|
||||
|
@ -337343,7 +337431,11 @@
|
|||
"bf6a1ae5bfe16e4fd50296636894859a0ee25ec1",
|
||||
[]
|
||||
]
|
||||
}
|
||||
},
|
||||
"target_blank_implicit_noopener.html.ini": [
|
||||
"532ba627866dd5ad0c0fd598a51d77e9effc3921",
|
||||
[]
|
||||
]
|
||||
},
|
||||
"linktypes": {
|
||||
"alternate-css-ref.html": [
|
||||
|
@ -511106,7 +511198,14 @@
|
|||
]
|
||||
],
|
||||
"keysplines-x-limits.html": [
|
||||
"3c9ba65059f99dfbad262a4df65cf1eba0a4f0d8",
|
||||
"376f04e659eb74cdff621583888e0e15fda73385",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"keysplines-y-limits.html": [
|
||||
"ccfbbe39576c55e032a1808fec2b1796c570a09b",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[hit-test-floats-004.html]
|
||||
[hit-test-floats-003.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -8,6 +8,9 @@
|
|||
[[data-expected-height\] 3]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 4]
|
||||
[[data-expected-height\] 1]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 2]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[image-orientation-iframe.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,2 @@
|
|||
[lone-cr-001.tentative.html]
|
||||
expected: FAIL
|
|
@ -2,6 +2,3 @@
|
|||
[Hit test intersecting scaled box]
|
||||
expected: FAIL
|
||||
|
||||
[Hit test within unscaled box]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[elementFromPoint-001.html]
|
||||
[CSSOM View - 5 - extensions to the Document interface]
|
||||
expected: FAIL
|
||||
|
|
@ -21,3 +21,6 @@
|
|||
[test the top of layer]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: top left corner]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[matchMedia-display-none-iframe.html]
|
||||
expected: ERROR
|
|
@ -1,2 +0,0 @@
|
|||
[HTMLMediaElement.html]
|
||||
expected: TIMEOUT
|
|
@ -312,18 +312,24 @@
|
|||
[fetch(): separate response Content-Type: text/plain ]
|
||||
expected: NOTRUN
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -53,6 +53,6 @@
|
|||
[combined text/javascript ]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript x/x]
|
||||
[separate text/javascript error]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_1.html]
|
||||
[Multiple history traversals from the same task]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[traverse_the_history_5.html]
|
||||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[cross-origin-objects-on-new-window.html]
|
||||
expected: TIMEOUT
|
|
@ -1,4 +1,5 @@
|
|||
[supported-elements.html]
|
||||
expected: TIMEOUT
|
||||
[Contenteditable element should support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6,11 +7,11 @@
|
|||
expected: FAIL
|
||||
|
||||
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Area element should support autofocus]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Host element with delegatesFocus should support autofocus]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[iframe_sandbox_popups_nonescaping-1.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
expected: CRASH
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[iframe_sandbox_popups_nonescaping-3.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -4,3 +4,6 @@
|
|||
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: TIMEOUT
|
||||
|
||||
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
|
||||
expected: FAIL
|
||||
|
||||
|
|
5
tests/wpt/metadata/webmessaging/with-ports/017.html.ini
Normal file
5
tests/wpt/metadata/webmessaging/with-ports/017.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[Worker-constructor.html]
|
||||
expected: ERROR
|
|
@ -1,7 +1,8 @@
|
|||
[shared-worker-in-data-url-context.window.html]
|
||||
expected: TIMEOUT
|
||||
[Create a shared worker in a data url frame]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Create a data url shared worker in a data url frame]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for dynamic re-pagination of a nested float element</title>
|
||||
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
|
||||
<style>
|
||||
#multicol {
|
||||
columns: 2;
|
||||
column-fill: auto;
|
||||
column-gap: 0;
|
||||
height: 400px; /* Must be large enough so that .target doesn't break initially. */
|
||||
width: 100px;
|
||||
background: red;
|
||||
}
|
||||
.block {
|
||||
width: 50px;
|
||||
background: green;
|
||||
}
|
||||
.target {
|
||||
float: left;
|
||||
height: 160px; /* Expected to be broken into 2 columns after runTest() */
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
function runTest() {
|
||||
document.body.offsetHeight;
|
||||
document.getElementById("multicol").style.height = "100px";
|
||||
}
|
||||
</script>
|
||||
|
||||
<body onload="runTest()">
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div id="multicol">
|
||||
<div>
|
||||
<div class="block" style="height: 40px"></div>
|
||||
<div class="block target"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for dynamic re-pagination of a nested float element with clearance</title>
|
||||
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
|
||||
<style>
|
||||
#multicol {
|
||||
columns: 2;
|
||||
column-fill: auto;
|
||||
column-gap: 0;
|
||||
height: 400px; /* Must be large enough so that .target doesn't break initially. */
|
||||
width: 100px;
|
||||
background: red;
|
||||
}
|
||||
.block {
|
||||
width: 50px;
|
||||
background: green;
|
||||
}
|
||||
.target {
|
||||
float: left;
|
||||
height: 160px; /* Expected to be broken into 2 columns after runTest() */
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
function runTest() {
|
||||
document.body.offsetHeight;
|
||||
document.getElementById("multicol").style.height = "100px";
|
||||
}
|
||||
</script>
|
||||
|
||||
<body onload="runTest()">
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div id="multicol">
|
||||
<div>
|
||||
<div class="block" style="height: 40px"></div>
|
||||
<div class="block target"></div>
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,47 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for dynamic re-pagination of a overflowed block element</title>
|
||||
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
|
||||
<style>
|
||||
#multicol {
|
||||
columns: 2;
|
||||
column-fill: auto;
|
||||
column-gap: 0;
|
||||
height: 400px; /* Must be large enough so that .target doesn't break initially. */
|
||||
width: 100px;
|
||||
background: red;
|
||||
}
|
||||
#block {
|
||||
height: 25px;
|
||||
}
|
||||
#target {
|
||||
background: green;
|
||||
width: 50px;
|
||||
height: 200px; /* Expected to be broken into 2 columns after runTest() */
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
function runTest() {
|
||||
document.body.offsetHeight;
|
||||
document.getElementById("multicol").style.height = "100px";
|
||||
}
|
||||
</script>
|
||||
|
||||
<body onload="runTest()">
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div id="multicol">
|
||||
<div id="block">
|
||||
<div id="target"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Flexbox Test Reference: Test for pagination of a nested float element in a flex item in a printing context</title>
|
||||
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961">
|
||||
<link rel="match" href="break-nested-float-in-flex-item-print-ref.html">
|
||||
|
||||
<style>
|
||||
@page { size:5in 3in; margin:0.5in; }
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
#flex {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
flex-direction: column;
|
||||
}
|
||||
#target {
|
||||
float: left;
|
||||
background: green;
|
||||
width: 2in;
|
||||
height: 6in; /* Expected to cover 3 pages. */
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div id="flex">
|
||||
<div>
|
||||
<div>
|
||||
<div>
|
||||
<!-- target needs to be deeply nested under a flex item. -->
|
||||
<div id="target"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Flexbox Test Reference: Test for pagination of a nested float element with clearance in a flex item in a printing context</title>
|
||||
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-break/#possible-breaks">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1559961">
|
||||
<link rel="match" href="break-nested-float-in-flex-item-print-ref.html">
|
||||
|
||||
<style>
|
||||
@page { size:5in 3in; margin:0.5in; }
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
#flex {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
flex-direction: column;
|
||||
}
|
||||
#target {
|
||||
float: left;
|
||||
background: green;
|
||||
width: 2in;
|
||||
height: 6in; /* Expected to cover 3 pages. */
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div id="flex">
|
||||
<div>
|
||||
<div>
|
||||
<div>
|
||||
<!-- target needs to be deeply nested under a flex item. -->
|
||||
<div id="target"></div>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Flexbox Test: Test for pagination of a nested float element in a flex item in a printing context</title>
|
||||
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
|
||||
|
||||
<style>
|
||||
@page { size:5in 3in; margin:0.5in; }
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
#target {
|
||||
background: green;
|
||||
width: 2in;
|
||||
height: 6in; /* Expected to cover 3 pages. */
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,3 @@
|
|||
<!doctype html>
|
||||
<title>CSS Test Reference</title>
|
||||
<p>A B</p>
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<title>Lone CR shouldn't cause previous spaces to collapse</title>
|
||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
||||
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1657437">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/855#issuecomment-380435969">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5410">
|
||||
<link rel="match" href="lone-cr-001-ref.html">
|
||||
<p>A 
B</p>
|
|
@ -0,0 +1,3 @@
|
|||
[target_blank_implicit_noopener.html]
|
||||
expected:
|
||||
if os == "android": ["TIMEOUT", "OK"]
|
|
@ -22,6 +22,26 @@
|
|||
<animate attributeName="x" values="0; 250" dur="5s"
|
||||
keyTimes="0; 1" keySplines="0 0 2 1" calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="50" fill="blue">
|
||||
<animateMotion values="0,50; 250,50" dur="5s" keyPoints="0; 1"
|
||||
keyTimes="0; 1" keySplines="-10 0 1 1"
|
||||
calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="60" fill="blue">
|
||||
<animateMotion values="0,60; 250,60" dur="5s" keyPoints="0; 1"
|
||||
keyTimes="0; 1" keySplines="10 0 1 1"
|
||||
calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="70" fill="blue">
|
||||
<animateMotion values="0,70; 250,70" dur="5s" keyPoints="0; 1"
|
||||
keyTimes="0; 1" keySplines="0 0 -10 1"
|
||||
calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="80" fill="blue">
|
||||
<animateMotion values="0,80; 250,80" dur="5s" keyPoints="0; 1"
|
||||
keyTimes="0; 1" keySplines="0 0 10 1"
|
||||
calcMode="spline"/>
|
||||
</rect>
|
||||
</svg>
|
||||
<script>
|
||||
async_test(t => {
|
||||
|
@ -36,6 +56,10 @@
|
|||
assert_equals(rects[2].getBBox().x, 10, 'first control point x greater than one');
|
||||
assert_equals(rects[3].getBBox().x, 10, 'second control point x less than zero');
|
||||
assert_equals(rects[4].getBBox().x, 10, 'second control point x greater than one');
|
||||
assert_equals(rects[5].getBBox().x, 10, 'first control point x less than zero');
|
||||
assert_equals(rects[6].getBBox().x, 10, 'first control point x greater than one');
|
||||
assert_equals(rects[7].getBBox().x, 10, 'second control point x less than zero');
|
||||
assert_equals(rects[8].getBBox().x, 10, 'second control point x greater than one');
|
||||
}));
|
||||
});
|
||||
});
|
||||
|
|
|
@ -0,0 +1,67 @@
|
|||
<!DOCTYPE html>
|
||||
<title>'keySplines' with y-values outside of the 0 to 1 range</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<svg>
|
||||
<rect x="10" width="10" height="10" fill="blue">
|
||||
<animate attributeName="x" values="0; 250" dur="5s"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="20" fill="blue">
|
||||
<animate attributeName="x" values="0; 250" dur="5s"
|
||||
keyTimes="0; 1" keySplines="0 -1 1 1" calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="30" fill="blue">
|
||||
<animate attributeName="x" values="0; 250" dur="5s"
|
||||
keyTimes="0; 1" keySplines="0 2 1 1" calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="10" fill="blue">
|
||||
<animate attributeName="x" values="0; 250" dur="5s"
|
||||
keyTimes="0; 1" keySplines="0 0 1 -1" calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="40" fill="blue">
|
||||
<animate attributeName="x" values="0; 250" dur="5s"
|
||||
keyTimes="0; 1" keySplines="0 0 1 2" calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="50" fill="blue">
|
||||
<animateMotion values="0,50; 250,50" dur="5s" keyPoints="0; 1"
|
||||
keyTimes="0; 1" keySplines="0 -10 1 1"
|
||||
calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="60" fill="blue">
|
||||
<animateMotion values="0,60; 250,60" dur="5s" keyPoints="0; 1"
|
||||
keyTimes="0; 1" keySplines="0 10 1 1"
|
||||
calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="70" fill="blue">
|
||||
<animateMotion values="0,70; 250,70" dur="5s" keyPoints="0; 1"
|
||||
keyTimes="0; 1" keySplines="0 0 1 -10"
|
||||
calcMode="spline"/>
|
||||
</rect>
|
||||
<rect x="10" width="10" height="10" y="80" fill="blue">
|
||||
<animateMotion values="0,80; 250,80" dur="5s" keyPoints="0; 1"
|
||||
keyTimes="0; 1" keySplines="0 0 1 10"
|
||||
calcMode="spline"/>
|
||||
</rect>
|
||||
</svg>
|
||||
<script>
|
||||
async_test(t => {
|
||||
let svg = document.querySelector('svg');
|
||||
svg.pauseAnimations();
|
||||
svg.setCurrentTime(2.5);
|
||||
window.onload = t.step_func(() => {
|
||||
requestAnimationFrame(t.step_func_done(() => {
|
||||
let rects = document.getElementsByTagName('rect');
|
||||
assert_equals(rects[0].getBBox().x, 125, 'animations applied');
|
||||
assert_equals(rects[1].getBBox().x, 10, 'first control point y less than zero');
|
||||
assert_equals(rects[2].getBBox().x, 10, 'first control point y greater than one');
|
||||
assert_equals(rects[3].getBBox().x, 10, 'second control point y less than zero');
|
||||
assert_equals(rects[4].getBBox().x, 10, 'second control point y greater than one');
|
||||
assert_equals(rects[5].getBBox().x, 10, 'first control point y less than zero');
|
||||
assert_equals(rects[6].getBBox().x, 10, 'first control point y greater than one');
|
||||
assert_equals(rects[7].getBBox().x, 10, 'second control point y less than zero');
|
||||
assert_equals(rects[8].getBBox().x, 10, 'second control point y greater than one');
|
||||
}));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue