Update web-platform-tests to revision 31500c8726aeb1871bc5ca19642f5cb94a0e1a92

This commit is contained in:
WPT Sync Bot 2020-05-22 08:19:02 +00:00
parent 32b240b013
commit e9b62f1a9b
64 changed files with 290 additions and 125 deletions

View file

@ -4,7 +4,7 @@
expected: TIMEOUT
[Opening a blob URL in a new window immediately before revoking it works.]
expected: FAIL
expected: TIMEOUT
[Fetching a blob URL immediately before revoking it works in an iframe.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,2 @@
[aspect-ratio-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[device-aspect-ratio-002.html]
expected: FAIL

View file

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

View file

@ -56,3 +56,9 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript;charset=windows-1252 error text/javascript]
expected: FAIL
[separate text/javascript;charset=windows-1252 text/javascript]
expected: FAIL

View file

@ -11,9 +11,3 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[X-Content-Type-Options%3A%20%22nosniFF%22]
expected: FAIL
[X-Content-Type-Options%3A%20%2Cnosniff]
expected: FAIL

View file

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

View file

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

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_escaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL
expected: TIMEOUT

View file

@ -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

View file

@ -1,5 +1,4 @@
[iframe_sandbox_popups_nonescaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN
expected: FAIL

View file

@ -0,0 +1,8 @@
[htmlanchorelement_noopener.html]
expected: TIMEOUT
[Check that targeting of rel=noopener with a given name reuses an existing window with that name]
expected: FAIL
[Check that rel=noopener with target=_parent does a normal load]
expected: NOTRUN

View file

@ -1,9 +1,10 @@
[promise-job-entry.html]
expected: TIMEOUT
[Fulfillment handler on fulfilled promise]
expected: FAIL
[Rejection handler on pending-then-rejected promise]
expected: FAIL
expected: TIMEOUT
[Sanity check: this all works as expected with no promises involved]
expected: FAIL
@ -15,5 +16,5 @@
expected: FAIL
[Fulfillment handler on pending-then-fulfilled promise]
expected: FAIL
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -7,7 +7,7 @@
expected: FAIL
[Opening a blob URL in a new window immediately before revoking it works.]
expected: FAIL
expected: TIMEOUT
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
expected: TIMEOUT

View file

@ -208048,7 +208048,7 @@
]
],
"aspect-ratio-002.html": [
"b4a25eebb274424e2cc8bbf7afe27a8492e08127",
"78eee374bf78e35cbcdd3fa3cd10cd6aff0ad7f0",
[
null,
[
@ -208074,7 +208074,7 @@
]
],
"aspect-ratio-004.html": [
"b4b2e860d872ae684615dce3c6848e0a4a5c369f",
"cc7afda3946638dfed30febd9978a11316f4a447",
[
null,
[
@ -208126,7 +208126,7 @@
]
],
"device-aspect-ratio-002.html": [
"52c985aafa06505aaad2a58430bd30fd5c20e116",
"5acc4c30b6f7dcc9bd832e0417b78888c0f53cd4",
[
null,
[
@ -208152,7 +208152,7 @@
]
],
"device-aspect-ratio-004.html": [
"cd949145229c41a4e13767bf184e30f1459f2859",
"adca53cf09738b88a756f17d4e72db5df2626b20",
[
null,
[
@ -215380,7 +215380,7 @@
]
],
"flexbox-column-row-gap-004.html": [
"d94571d8d7146cb4a584364837e4a70960801904",
"0d86b3818ff02aae7cb05d527bb487b653eebf3d",
[
null,
[
@ -312004,7 +312004,7 @@
]
},
"requirements.txt": [
"634dfe6209214725bb45217e72210f16c9e2b9b7",
"b54096f2d662de86e99c04ad6122cc1aa271b2c7",
[]
],
"selectors": {
@ -313368,7 +313368,7 @@
[]
],
"reftest.list": [
"1c5b5447c7049a61174659944e7ab283f189b164",
"0bde2a8c8e30fbaa99affb5b75fe025ac2249be5",
[]
]
},
@ -313960,7 +313960,7 @@
[]
],
"flexbox-column-row-gap-004-ref.html": [
"c23c7b176d74ee5765f3921da42b980af02e36ec",
"0b40fb2d6267157f391a8a020af3868fd5d783a2",
[]
],
"flexbox-definite-sizes-001-ref.html": [
@ -314352,7 +314352,7 @@
[]
],
"reftest.list": [
"2493ab155b06d9ce974c8d0348e2f2582eb7daec",
"8e2c24584021a59b4e6292537ef44a80a721d191",
[]
],
"support": {
@ -333804,7 +333804,7 @@
[]
],
"web-animations.idl": [
"64265c3bf3fc32cd4071d6d8386a00578f67f49f",
"ae64bb867eb23d6c491d3e9fee743c7cf8963236",
[]
],
"web-bluetooth.idl": [
@ -343699,7 +343699,7 @@
[]
],
"test_valid.py": [
"c0863dfb2f5af338d13f5e6b7847838e33bc2a8f",
"47cbc2e87bb80597dd980e9f98bc413b0416b552",
[]
]
}
@ -349427,7 +349427,7 @@
]
},
"requirements.txt": [
"9b84e7334bbcb0702e9379d49192e4cc38a5e1c5",
"5310721bbb90fa94b90b4c10d202fc5a13c04d58",
[]
],
"requirements_android_webview.txt": [
@ -391439,7 +391439,7 @@
]
],
"slotted-parsing.html": [
"2c55a0ded0918b585443f255e81a2d3a2eaa3350",
"f0062c86744f07a1522b164e453d26c84ae2f948",
[
null,
{}
@ -393361,21 +393361,21 @@
"aspect-ratio": {
"parsing": {
"contain-intrinsic-size-computed.html": [
"3cd562fb9ce10a0f5c82b4884046c91e2b9428b0",
"bf56adb9fe136d5e73c4dd5caec2cb4040b75115",
[
null,
{}
]
],
"contain-intrinsic-size-invalid.html": [
"523ba7269c76777cd314edeb195b5465bbccef4d",
"20378ab8cfe4f346d841a9a59e579a90b8147515",
[
null,
{}
]
],
"contain-intrinsic-size-valid.html": [
"d9341d8c15b0a4f7fac268d24b08109484cafe20",
"96b3ca59acc8af8c292fdaf2cc255475e7929d1f",
[
null,
{}
@ -404098,7 +404098,7 @@
]
],
"test_media_queries.html": [
"881df835f5a95e45487193881d5da89c81602ba9",
"b063d2b6834d8fb7137137c47895b1b17c393b97",
[
null,
{}
@ -405699,6 +405699,22 @@
]
},
"delegated-ink": {
"exception-thrown-bad-color.tentative.html": [
"24e54c50bae567c3f1690378d1d62e8b68290e5e",
[
null,
{
"testdriver": true
}
]
],
"exception-thrown-untrusted-event.tentative.window.js": [
"de4a2b43571f62d27cc67e9dccc66cd63c192b83",
[
"delegated-ink/exception-thrown-untrusted-event.tentative.window.html",
{}
]
],
"requestPresenter-returns-valid-promise.tentative.window.js": [
"0a54115ee11ab701edd600770900c2265a294e11",
[
@ -427144,6 +427160,13 @@
null,
{}
]
],
"forced-colors-mode-27.html": [
"5a42f947adcac841cc00be7a233ea2fbd94828c8",
[
null,
{}
]
]
},
"fullscreen": {
@ -474876,7 +474899,7 @@
]
],
"payment-request-constructor.https.sub.html": [
"e9e5121f67cb26030b9e0310c44858ebaadaf603",
"9b0ad06454f9330ba4115bff2990647b47adbd2d",
[
null,
{}
@ -488940,21 +488963,21 @@
]
],
"element-based-offset-clamp.html": [
"514eba09c78468f351cae4b38543389f7f33feb0",
"b140507493848688f38021573643ce7d6321e514",
[
null,
{}
]
],
"element-based-offset.html": [
"064ab4c5f3ae43c4ea4476997a85c3836a1419ee",
"4b8661ae41b4e3d9c00660ac70f5c10da0aa116e",
[
null,
{}
]
],
"finish-animation.html": [
"87bcc41a6a222d883ebe2b249ae103b05275019d",
"6729d2fe7f342481de8b27965b67d5b5538ba198",
[
null,
{}
@ -488979,21 +489002,21 @@
]
],
"scroll-animation-inactive-timeline.html": [
"1c0befa6943bca12c1e200d429f61473bfd2764b",
"2d36648925c3690c644945fd59d281f25531c764",
[
null,
{}
]
],
"scroll-animation.html": [
"cb270d52f7c406523cc7705433267bdf33ede5cc",
"60fc4c500cd3e06bf67f511687dd9c7161fa6a0f",
[
null,
{}
]
],
"scroll-timeline-invalidation.html": [
"7ab59a140be40ef53c26ec5f9aee46721d6292c8",
"45c148e4aa9f8a8a3c72594bcf0069e19938ae2b",
[
null,
{}
@ -489016,21 +489039,21 @@
]
],
"setting-current-time.html": [
"d46206d8257702d443e3b1e620bf9bad4f327ee3",
"91b558b1ceac840e43e0d3af8031a8d30e129ece",
[
null,
{}
]
],
"setting-playback-rate.html": [
"0575464337fdc909fefcdd4af4d68b230d448ac4",
"e71d933be1a8e494f4cd556184e974c8635b5d28",
[
null,
{}
]
],
"setting-start-time.html": [
"643f62a9b58b186de441bdb6c3dd5cc70d35fb73",
"9346214b0577c432228bc00d4b8608d56421d04d",
[
null,
{}
@ -519968,7 +519991,7 @@
]
],
"webGLCanvasContext_create_xrcompatible.https.html": [
"b83b9601aed1930b5687154b9f5a1b6877bb988a",
"8ba225bcf7c91a3de17699300310baf9ad75a18f",
[
null,
{}

View file

@ -0,0 +1,4 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,2 @@
[aspect-ratio-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[device-aspect-ratio-002.html]
expected: FAIL

View file

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

View file

@ -56,3 +56,9 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript;charset=windows-1252 error text/javascript]
expected: FAIL
[separate text/javascript;charset=windows-1252 text/javascript]
expected: FAIL

View file

@ -11,9 +11,3 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[X-Content-Type-Options%3A%20%22nosniFF%22]
expected: FAIL
[X-Content-Type-Options%3A%20%2Cnosniff]
expected: FAIL

View file

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

View file

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

View file

@ -1,5 +1,6 @@
[iframe_sandbox_popups_escaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL
expected: TIMEOUT

View file

@ -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

View file

@ -1,6 +1,5 @@
[iframe_sandbox_popups_nonescaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN
expected: FAIL

View file

@ -1,17 +1,12 @@
[htmlanchorelement_noopener.html]
type: testharness
expected: TIMEOUT
[Check that targeting of rel=noopener with a given name ignores an existing window with that name]
expected: NOTRUN
[Check that rel=noopener with target=_parent does a normal load]
expected: FAIL
[Check that rel=noopener with target=_top does a normal load]
expected: FAIL
expected: NOTRUN
[Check that targeting of rel=noopener with a given name reuses an existing window with that name]
expected: FAIL
[Check that rel=noopener with target=_self does a normal load]
expected: FAIL

View file

@ -1,9 +1,10 @@
[promise-job-entry.html]
expected: TIMEOUT
[Fulfillment handler on fulfilled promise]
expected: FAIL
[Rejection handler on pending-then-rejected promise]
expected: FAIL
expected: TIMEOUT
[Sanity check: this all works as expected with no promises involved]
expected: FAIL
@ -15,5 +16,5 @@
expected: FAIL
[Fulfillment handler on pending-then-fulfilled promise]
expected: FAIL
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -14,7 +14,13 @@
test_invalid_selector("::slotted(*).class");
test_invalid_selector("::slotted(*)#id {}");
test_invalid_selector("::slotted(*)[attr]");
test_invalid_selector("::slotted(*):host");
test_invalid_selector("::slotted(*):host(div)");
test_invalid_selector("::slotted(*):hover");
test_invalid_selector("::slotted(*):is(:hover)");
test_invalid_selector("::slotted(*):where(:hover)");
test_invalid_selector("::slotted(*):is(#id)");
test_invalid_selector("::slotted(*):where(#id)");
test_invalid_selector("::slotted(*):read-only");
test_invalid_selector("::slotted(*)::slotted(*)");
test_invalid_selector("::slotted(*)::before::slotted(*)");

View file

@ -12,7 +12,17 @@
<script>
test_computed_value("aspect-ratio", "auto");
test_computed_value("aspect-ratio", "1 / 1");
test_computed_value("aspect-ratio", "1");
test_computed_value("aspect-ratio", "1.3");
test_computed_value("aspect-ratio", "1 / 1", "1");
test_computed_value("aspect-ratio", "16 / 9");
test_computed_value("aspect-ratio", "16.3 / 9.5");
test_computed_value("aspect-ratio", "16/9", "16 / 9");
test_computed_value("aspect-ratio", "0 / 9");
test_computed_value("aspect-ratio", "16 / 0");
// The computed value of a <ratio> is the pair of numbers provided, unless
// both numbers are zero, in which case the computed value is the pair (1, 0)
// (same as 1 / 0).
// https://github.com/w3c/csswg-drafts/issues/5084
test_computed_value("aspect-ratio", "0 / 0", "1 / 0");
</script>

View file

@ -12,8 +12,7 @@ test_invalid_value("aspect-ratio", "auto / 5");
test_invalid_value("aspect-ratio", "auto / 16");
test_invalid_value("aspect-ratio", "16 9");
test_invalid_value("aspect-ratio", "16px / 9px");
test_invalid_value("aspect-ratio", "0 / 9");
test_invalid_value("aspect-ratio", "16 / 0");
test_invalid_value("aspect-ratio", "0 / 0");
test_invalid_value("aspect-ratio", "16 / -9");
test_invalid_value("aspect-ratio", "1 auto");
test_invalid_value("aspect-ratio", "1.5 auto");
</script>

View file

@ -9,8 +9,16 @@
<script>
test_valid_value("aspect-ratio", "auto");
test_valid_value("aspect-ratio", "16");
test_valid_value("aspect-ratio", "1/1", "1");
test_valid_value("aspect-ratio", "16.3");
test_valid_value("aspect-ratio", "16 / 9");
test_valid_value("aspect-ratio", "16.3 / 9.4");
test_valid_value("aspect-ratio", "16/9", "16 / 9");
test_valid_value("aspect-ratio", "16 /9", "16 / 9");
test_valid_value("aspect-ratio", "16/ 9", "16 / 9");
test_valid_value("aspect-ratio", "0 / 9");
test_valid_value("aspect-ratio", "16 / 0");
// https://github.com/w3c/csswg-drafts/issues/5084
test_valid_value("aspect-ratio", "0 / 0", "1 / 0");
</script>

View file

@ -6,7 +6,7 @@
<link rel="help" title="4.6. aspect-ratio" href="http://www.w3.org/TR/css3-mediaqueries/#aspect-ratio">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
<meta name="assert" content="The 'aspect-ratio' property with prefix 'min' set '0/0' is invalid that means the style sheet specified by 'min-aspect-ratio' will not be applied.">
<meta name="assert" content="The 'aspect-ratio' property with prefix 'min' set '0/0' (which is converted into '1/0') is infinite that means the style sheet specified by 'min-aspect-ratio' will not be applied.">
<style>
div {
background-color: green;

View file

@ -6,16 +6,16 @@
<link rel="help" title="4.6. aspect-ratio" href="http://www.w3.org/TR/css3-mediaqueries/#aspect-ratio">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
<meta name="assert" content="The 'aspect-ratio' property with prefix 'max' set '0/0' is invalid that means the style sheet specified by 'max-aspect-ratio' will not be applied.">
<meta name="assert" content="The 'aspect-ratio' property with prefix 'max' set '0/0' (which is converted into '1/0') is infinite that means the style sheet specified by 'max-aspect-ratio' will be applied.">
<style>
div {
background-color: green;
background-color: red;
height: 100px;
width: 100px;
}
@media screen and (max-aspect-ratio: 0/0) {
div {
background-color: red;
background-color: green;
}
}
</style>

View file

@ -6,16 +6,16 @@
<link rel="help" title="4.7. device-aspect-ratio" href="http://www.w3.org/TR/css3-mediaqueries/#device-aspect-ratio">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
<meta name="assert" content="The 'device-aspect-ratio' property with prefix 'max' set '0/0' is invalid that means the style sheet specified by 'max-device-aspect-ratio' will not be applied.">
<meta name="assert" content="The 'device-aspect-ratio' property with prefix 'max' set '0/0' (which is converted into '1/0') is infinite that means the style sheet specified by 'max-device-aspect-ratio' will be applied.">
<style>
div {
background-color: green;
background-color: red;
height: 100px;
width: 100px;
}
@media screen and (max-device-aspect-ratio: 0/0) {
div {
background-color: red;
background-color: green;
}
}
</style>

View file

@ -6,7 +6,7 @@
<link rel="help" title="4.7. device-aspect-ratio" href="http://www.w3.org/TR/css3-mediaqueries/#device-aspect-ratio">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="flags" content="">
<meta name="assert" content="The 'device-aspect-ratio' property with prefix 'min' set '0/0' is invalid that means the style sheet specified by 'min-device-aspect-ratio' will not be applied.">
<meta name="assert" content="The 'device-aspect-ratio' property with prefix 'min' set '0/0' (which is converted into '1/0') is infinite that means the style sheet specified by 'min-device-aspect-ratio' will not be applied.">
<style>
div {
background-color: green;

View file

@ -307,14 +307,14 @@ function run() {
expression_should_be_parseable(feature + ": 1 /1");
expression_should_be_parseable(feature + ": 1 / \t\n1");
expression_should_be_parseable(feature + ": 1/\r1");
expression_should_not_be_parseable(feature + ": 1");
expression_should_not_be_parseable(feature + ": 0.5");
expression_should_not_be_parseable(feature + ": 1.0/1");
expression_should_not_be_parseable(feature + ": 1/1.0");
expression_should_not_be_parseable(feature + ": 1.0/1.0");
expression_should_not_be_parseable(feature + ": 0/1");
expression_should_not_be_parseable(feature + ": 1/0");
expression_should_not_be_parseable(feature + ": 0/0");
expression_should_be_parseable(feature + ": 1");
expression_should_be_parseable(feature + ": 0.5");
expression_should_be_parseable(feature + ": 1.0/1");
expression_should_be_parseable(feature + ": 1/1.0");
expression_should_be_parseable(feature + ": 1.0/1.0");
expression_should_be_parseable(feature + ": 0/1");
expression_should_be_parseable(feature + ": 1/0");
expression_should_be_parseable(feature + ": 0/0");
expression_should_not_be_parseable(feature + ": -1/1");
expression_should_not_be_parseable(feature + ": 1/-1");
expression_should_not_be_parseable(feature + ": -1/-1");

View file

@ -2,5 +2,5 @@ Template-Python==0.1.post1
html5lib==1.0.1
lxml==4.1.1
mercurial==4.5
six==1.14.0
six==1.15.0
webencodings==0.5.1

View file

@ -1,4 +1,3 @@
== contain-paint-clip-001.html contain-paint-clip-001-ref.html
== contain-paint-clip-002.html contain-paint-clip-002-ref.html
== contain-paint-clip-003.html contain-paint-clip-003-ref.html

View file

@ -8,12 +8,10 @@
<title>Reference: Testing percentage gap resolution in flex containers</title>
<link rel="author" title="Mihir Iyer" href="mailto:miyer@mozilla.com">
<meta charset="utf-8">
</html>
<style>
.flexContainer {
display: flex;
border: 2px solid black;
row-gap: 20px;
column-gap: 10px;
align-content: start;
justify-content: start;

View file

@ -9,7 +9,9 @@
<link rel="author" title="Mihir Iyer" href="mailto:miyer@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-align/#column-row-gap">
<link rel="match" href="flexbox-column-row-gap-004-ref.html">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5081">
<meta charset="utf-8">
<meta name="assert" content="% row-gaps in a flexbox with indefinite block size are treated as 'normal'." />
<style>
.flexContainer {
display: flex;

View file

@ -190,7 +190,7 @@
== flexbox-mbp-horiz-002b.xhtml flexbox-mbp-horiz-002-ref.xhtml
== flexbox-mbp-horiz-002v.xhtml flexbox-mbp-horiz-002-ref.xhtml
== flexbox-mbp-horiz-003.xhtml flexbox-mbp-horiz-003-ref.xhtml
== flexbox-mbp-horiz-003v.xhtml flexbox-mbp-horiz-003-ref.xhtml
== flexbox-mbp-horiz-003v.xhtml flexbox-mbp-horiz-003-ref.xhtml
== flexbox-mbp-horiz-003-reverse.xhtml flexbox-mbp-horiz-003-reverse-ref.xhtml
== flexbox-mbp-horiz-004.xhtml flexbox-mbp-horiz-004-ref.xhtml

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-actions.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<canvas id="canvas"></canvas>
<script>
promise_test(async (t) => {
const presenter = await navigator.ink.requestPresenter('delegated-ink-trail', canvas);
const style = { color: "bad-color", diameter: 6 };
canvas.addEventListener("pointermove", evt => {
assert_throws_js(TypeError, function() {
presenter.updateInkTrailStartPoint(evt, style);
}, "Expected a TypeError to be thrown due to bad color.");
});
const actions_promise = new test_driver.Actions().pointerMove(10,10).send();
t.add_cleanup(() => actions_promise);
});
</script>

View file

@ -0,0 +1,10 @@
let presenter = navigator.ink.requestPresenter('delegated-ink-trail');
let style = { color: "red", diameter: 3 };
let evt = new PointerEvent("pointerdown", {clientX: 10, clientY: 10});
presenter.then( function(p) {
test(() => {
assert_throws_dom("NotAllowedError", function() {
p.updateInkTrailStartPoint(evt, style);
}, "NotAllowedError is expected due to untrusted event.");
}, "Expected a NotAllowedError to be thrown due to untrusted event.");
})

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - html/head elements.
Tests that the color properties are overridden for html/head elements and not
just for the body.
</title>
<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-colors-properties">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
html {
color: red;
}
head {
color: blue;
}
div {
color: CanvasText;
forced-color-adjust: none;
}
</style>
<div>
The color properties for the head and html elements should get updated in
Forced Colors Mode.
</div>
<script>
var div_color = getComputedStyle(document.querySelector('div')).color;
var html_color = getComputedStyle(document.querySelector('html')).color;
var head_color = getComputedStyle(document.querySelector('head')).color;
test(function(){
assert_equals(html_color, div_color);
assert_equals(head_color, div_color);
}, "Checks that html/head color is overridden to CanvasText.");
</script>

View file

@ -6,6 +6,7 @@
[Exposed=Window]
interface AnimationTimeline {
readonly attribute double? currentTime;
readonly attribute TimelinePhase phase;
};
dictionary DocumentTimelineOptions {
@ -49,6 +50,8 @@ enum AnimationPlayState { "idle", "running", "paused", "finished" };
enum AnimationReplaceState { "active", "removed", "persisted" };
enum TimelinePhase { "inactive", "before", "active", "after" };
[Exposed=Window]
interface AnimationEffect {
EffectTiming getTiming();

View file

@ -111,6 +111,19 @@ test(() => {
assert_throws_js(TypeError, () => new PaymentRequest([], defaultDetails));
}, "If the length of the methodData sequence is zero, then throw a TypeError");
test(() => {
smokeTest();
const duplicateMethods = [
{
supportedMethods: "https://{{domains[nonexistent]}}/payment-request",
},
{
supportedMethods: "https://{{domains[nonexistent]}}/payment-request",
},
];
assert_throws_js(RangeError, () => new PaymentRequest(duplicateMethods, defaultDetails));
}, "If payment method is duplicate, then throw a RangeError");
test(() => {
smokeTest();
const JSONSerializables = [[], { object: {} }];

View file

@ -11,6 +11,7 @@
overflow: scroll;
height: 500px;
width: 500px;
will-change: transform;
}
/* Disable scrollbars to simplify the calculations in the test. */

View file

@ -11,6 +11,7 @@
overflow: auto;
height: 500px;
width: 500px;
will-change: transform;
}
.contents {

View file

@ -12,6 +12,7 @@
overflow: auto;
height: 200px;
width: 100px;
will-change: transform;
}
.contents {

View file

@ -10,6 +10,7 @@
overflow: auto;
height: 100px;
width: 100px;
will-change: transform;
}
.contents {
height: 1000px;

View file

@ -10,6 +10,7 @@
overflow: auto;
height: 100px;
width: 100px;
will-change: transform;
}
.contents {
height: 1000px;

View file

@ -11,6 +11,7 @@
overflow: auto;
height: 100px;
width: 100px;
will-change: transform;
}
.contents {
height: 1000px;

View file

@ -11,6 +11,7 @@
overflow: auto;
height: 200px;
width: 100px;
will-change: transform;
}
.contents {
height: 1000px;

View file

@ -11,6 +11,7 @@
overflow: auto;
height: 100px;
width: 100px;
will-change: transform;
}
.contents {
height: 1000px;

View file

@ -11,6 +11,7 @@
overflow: auto;
height: 200px;
width: 100px;
will-change: transform;
}
.contents {
height: 1000px;

View file

@ -46,7 +46,11 @@ def test_verify_payload():
r.raise_for_status()
create_task_schema = r.json()
r = requests.get("https://raw.githubusercontent.com/taskcluster/taskcluster/master/workers/docker-worker/schemas/v1/payload.json")
# TODO(Hexcles): Change it to https://community-tc.services.mozilla.com/references/schemas/docker-worker/v1/payload.json
# after the next Community-TC release (see https://bugzilla.mozilla.org/show_bug.cgi?id=1639732)..
r = requests.get(
"https://raw.githubusercontent.com/taskcluster/taskcluster/"
"3ed511ef9119da54fc093e976b7b5955874c9b54/workers/docker-worker/schemas/v1/payload.json")
r.raise_for_status()
payload_schema = r.json()

View file

@ -6,4 +6,4 @@ mozdebug==0.2
pillow==6.2.2 # pyup: <7.0
urllib3[secure]==1.25.9
requests==2.23.0
six==1.14.0
six==1.15.0

View file

@ -16,7 +16,7 @@
// Check that an offscreen context behaves no different.
let offscreenCanvas = document.createElement('canvas');
let offscreenGl = webglCanvas.getContext(
let offscreenGl = offscreenCanvas.getContext(
'webgl', {xrCompatible: true});
assert_true(offscreenGl.getContextAttributes().xrCompatible);
});