mirror of
https://github.com/servo/servo.git
synced 2025-07-31 19:20:22 +01:00
Update web-platform-tests to revision db527a4944833201557faf740d4717c3ebe4c75f
This commit is contained in:
parent
481662d0a7
commit
02a351684c
16 changed files with 163 additions and 23 deletions
|
@ -37,3 +37,6 @@
|
|||
[Revoke blob URL after creating Request, will fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Revoke blob URL after calling fetch, fetch should succeed]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -129561,6 +129561,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-multicol/multicol-span-all-008.html": [
|
||||
[
|
||||
"/css/css-multicol/multicol-span-all-008.html",
|
||||
[
|
||||
[
|
||||
"/css/css-multicol/multicol-span-all-008-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-multicol/multicol-span-all-009.html": [
|
||||
[
|
||||
"/css/css-multicol/multicol-span-all-009.html",
|
||||
|
@ -267104,6 +267116,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-multicol/multicol-span-all-008-ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-multicol/multicol-span-all-009-ref.html": [
|
||||
[
|
||||
{}
|
||||
|
@ -377261,6 +377278,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/srcset/srcset-media-dynamic.html": [
|
||||
[
|
||||
"/html/semantics/embedded-content/the-img-element/srcset/srcset-media-dynamic.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/update-media.html": [
|
||||
[
|
||||
"/html/semantics/embedded-content/the-img-element/update-media.html",
|
||||
|
@ -567782,6 +567805,14 @@
|
|||
"2464327ff4238fb167bb8fc76b7f3d01fea1d377",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-multicol/multicol-span-all-008-ref.html": [
|
||||
"ddc0b40bdd3b5e51c8808c1f7593ecd51f2d4e2a",
|
||||
"support"
|
||||
],
|
||||
"css/css-multicol/multicol-span-all-008.html": [
|
||||
"82a24832b7c74d86a13c01e620cc059b98603f8e",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-multicol/multicol-span-all-009-ref.html": [
|
||||
"b323e423e0ce6076d166e59349a373715dc91de3",
|
||||
"support"
|
||||
|
@ -591019,7 +591050,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-numbers.html": [
|
||||
"5c2c91d7a8c97c2dd5dda2d0736660b5134469a5",
|
||||
"995595b8a3e91ab3a72ec465d509030f082ea5bf",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-values/calc-parenthesis-stack.html": [
|
||||
|
@ -633898,6 +633929,10 @@
|
|||
"292395d3aef45b01dec8d9db576b42b4cde61749",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/srcset/srcset-media-dynamic.html": [
|
||||
"2cc74e2b8f49ec7f698b325e8570dbdeea7d91fe",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/update-media.html": [
|
||||
"dd679ef571584a2dea1f050aa22a09b8a99a11a4",
|
||||
"testharness"
|
||||
|
|
|
@ -6,6 +6,3 @@
|
|||
[Instant scrolling while doing history navigation.]
|
||||
expected: FAIL
|
||||
|
||||
[Smooth scrolling while doing history navigation.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
|
||||
[single-byte-decoder.html?XMLHttpRequest]
|
||||
expected: TIMEOUT
|
||||
expected: CRASH
|
||||
[ISO-8859-2: iso_8859-2:1987 (XMLHttpRequest)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -312,3 +312,9 @@
|
|||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[javascript-url-abort-return-value-string.tentative.html]
|
||||
[Aborting fetch for javascript:string navigation]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[javascript-url-abort-return-value-undefined.tentative.html]
|
||||
expected: TIMEOUT
|
||||
[Not aborting fetch for javascript:undefined navigation]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[traverse_the_history_1.html]
|
||||
[Multiple history traversals from the same task]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_5.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -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
|
||||
|
|
@ -12,3 +12,6 @@
|
|||
[Verifies the resolution of entry.startTime is at least 5 microseconds.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Verifies the resolution of performance.now() is at least 5 microseconds.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[realtimeanalyser-fft-scaling.html]
|
||||
expected: TIMEOUT
|
||||
[X 2048-point FFT peak position is not equal to 64. Got 0.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout Test Reference: Test a bidi-override multi-column container with a dir=rtl 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>
|
||||
body {
|
||||
column-count: 1;
|
||||
column-rule: 6px solid;
|
||||
width: 400px;
|
||||
outline: 1px solid black;
|
||||
}
|
||||
h3 {
|
||||
/* "column-count: 1" makes this behave like a real spanner. */
|
||||
outline: 1px solid blue;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div>block1</div>
|
||||
<h3 dir="rtl">spanner</h3>
|
||||
<div>block2</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Multi-column Layout Test: Test a bidi-override multi-column container with a dir=rtl 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-008-ref.html">
|
||||
<meta name="assert" content="This test checks the page is rendered correctly for a bidi-override multi-column container with a dir=rtl column-span:all child.">
|
||||
|
||||
<style>
|
||||
article {
|
||||
column-count: 3;
|
||||
column-rule: 6px solid;
|
||||
width: 400px;
|
||||
outline: 1px solid black;
|
||||
unicode-bidi: bidi-override; /* Needed to trigger bidi resolution. */
|
||||
}
|
||||
h3 {
|
||||
column-span: all;
|
||||
outline: 1px solid blue;
|
||||
}
|
||||
</style>
|
||||
|
||||
<article>
|
||||
<div>block1</div>
|
||||
<h3 dir="rtl">spanner</h3>
|
||||
<div>block2</div>
|
||||
</article>
|
||||
</html>
|
|
@ -16,9 +16,10 @@ https://chromium.googlesource.com/chromium/src/+/c825d655f6aaf73484f9d56e9012793
|
|||
<link rel="help" href="https://www.w3.org/TR/css-color-3/#transparency">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-text-3/#tab-size-property">
|
||||
<link rel="help" href="https://www.w3.org/TR/css3-values/#calc-computed-value">
|
||||
<link rel="help" href="https://www.w3.org/TR/css3-values/#calc-range">
|
||||
|
||||
<meta name="flags" content="invalid">
|
||||
<meta content="This test verifies how 12 calc() functions are computed for 'opacity' and 'tab-size'." name="assert">
|
||||
<meta content="This test verifies how 11 calc() functions are computed for 'opacity' and 'tab-size'." name="assert">
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
|
||||
|
@ -41,12 +42,11 @@ https://chromium.googlesource.com/chromium/src/+/c825d655f6aaf73484f9d56e9012793
|
|||
elemTarget.style.setProperty(property_name, initial_value);
|
||||
|
||||
/*
|
||||
In exactly 9 out of the 12 sub-tests, the initial_value will
|
||||
act as a fallback value because the calc() function in the
|
||||
specified value generates an invalid value. Since we are
|
||||
running 12 consecutive tests on the same element, then
|
||||
it is necessary to 'reset' its property to an initial
|
||||
value.
|
||||
In exactly 6 out of the 11 sub-tests, the initial_value will
|
||||
act as a fallback value because the specified value generates
|
||||
an invalid value. Since we are running 11 consecutive tests
|
||||
on the same element, then it is necessary to 'reset' its
|
||||
property to an initial value.
|
||||
*/
|
||||
|
||||
elemTarget.style.setProperty(property_name, specified_value);
|
||||
|
@ -60,11 +60,21 @@ https://chromium.googlesource.com/chromium/src/+/c825d655f6aaf73484f9d56e9012793
|
|||
|
||||
verifyComputedStyle("tab-size", "initial", "calc(2 * 3)", "6", "testing tab-size: calc(2 * 3)");
|
||||
|
||||
verifyComputedStyle("tab-size", "12345", "calc(2 * -4)", "12345", "testing tab-size: calc(2 * -4)");
|
||||
verifyComputedStyle("tab-size", "12345", "calc(2 * -4)", "0", "testing tab-size: calc(2 * -4)");
|
||||
/*
|
||||
an out-of-range value inside a calc() does not cause
|
||||
the declaration to become invalid. The value resulting
|
||||
from an expression must be clamped to the range
|
||||
allowed in the target context.
|
||||
https://www.w3.org/TR/css-values-3/#calc-range
|
||||
*/
|
||||
|
||||
verifyComputedStyle("opacity", "initial", "calc(2 / 4)", "0.5", "testing opacity: calc(2 / 4)");
|
||||
|
||||
verifyComputedStyle("tab-size", "12345", "calc(2 / 4)", "0.5", "testing tab-size: calc(2 / 4)");
|
||||
/*
|
||||
'tab-size' accepts <number> values.
|
||||
*/
|
||||
|
||||
verifyComputedStyle("opacity", "0.9", "calc(2 / 4) * 1px", "0.9", "testing opacity: calc(2 / 4) * 1px");
|
||||
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<!doctype html>
|
||||
<title>source element in picture handles dynamic media change correctly.</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=1523627">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<picture id="pic">
|
||||
<source srcset="data:,a">
|
||||
</picture>
|
||||
<script>
|
||||
let t = async_test("Dynamic media change is handled correctly");
|
||||
|
||||
let pic = document.getElementById("pic");
|
||||
// Something that will never match.
|
||||
pic.querySelector("source").setAttribute("media", "not all");
|
||||
|
||||
let img = document.createElement("img");
|
||||
img.src = "data:,b";
|
||||
pic.appendChild(img);
|
||||
|
||||
onload = t.step_func_done(function() {
|
||||
assert_equals(img.currentSrc, "data:,b");
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue