Update web-platform-tests to revision 1b0f824f9ef09f035d2549ab4f6c92131ba62c0f

This commit is contained in:
WPT Sync Bot 2020-10-14 08:21:08 +00:00
parent 605c4b099a
commit 0554d61f26
85 changed files with 596 additions and 145 deletions

View file

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

View file

@ -1,2 +0,0 @@
[inline-children-root-linebox-crash-001.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[inline-negative-margin-minmax-crash-001.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[abspos-inline-container-in-inline-block.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[text-emphasis-unrepresentable-characters.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[pre-line-with-space-and-newline.html]
expected: FAIL

View file

@ -2,3 +2,6 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -0,0 +1,4 @@
[CaretPosition-001.html]
[Element at (400, 100)]
expected: FAIL

View file

@ -2,3 +2,6 @@
[elementsFromPoint on the root document for points in iframe elements]
expected: FAIL
[elementsFromPoint on inner documents]
expected: FAIL

View file

@ -0,0 +1,4 @@
[is-where-pseudo-classes.html]
[:is() combined with pseudo-classes]
expected: FAIL

View file

@ -0,0 +1,2 @@
[is-where-pseudo-elements.html]
expected: FAIL

View file

@ -315,15 +315,21 @@
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate 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 */*;charset=gbk]
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;" \\" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

View file

@ -56,9 +56,3 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript error]
expected: FAIL
[separate text/javascript ]
expected: FAIL

View file

@ -11,3 +11,9 @@
[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%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL
[Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

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

View file

@ -1,5 +1,4 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener of discarded nested browsing context]
expected: FAIL

View file

@ -171,3 +171,6 @@
[XHTML img usemap="#hash-id"]
expected: FAIL
[HTML (standards) IMG usemap="no-hash-name"]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +0,0 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -1,4 +0,0 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

@ -4,5 +4,5 @@
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
expected: TIMEOUT

View file

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

View file

@ -1,5 +1,4 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -1,5 +0,0 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
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

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

View file

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

View file

@ -1,8 +1,7 @@
[shared-worker-in-data-url-context.window.html]
expected: TIMEOUT
[Create a shared worker in a data url frame]
expected: FAIL
[Create a data url shared worker in a data url frame]
expected: TIMEOUT
expected: FAIL

View file

@ -164084,6 +164084,32 @@
{}
]
],
"webkit-line-clamp-036.html": [
"cc5fb5b13ede54c59a0c69d2a1290a765e575826",
[
null,
[
[
"/css/css-overflow/reference/webkit-line-clamp-036-ref.html",
"=="
]
],
{}
]
],
"webkit-line-clamp-037.html": [
"86015228f88e4c622c4bd1c20cb35a20619075c7",
[
null,
[
[
"/css/css-overflow/reference/webkit-line-clamp-037-ref.html",
"=="
]
],
{}
]
],
"webkit-line-clamp-with-line-height.tentative.html": [
"a82635f986b60ff4853785dc40b7bbe985af4eb1",
[
@ -186239,6 +186265,19 @@
{}
]
],
"pre-line-with-space-and-newline.html": [
"5d75597d83b99fdfa3368625801560415d4b8659",
[
null,
[
[
"/css/reference/ref-filled-green-200px-square.html",
"=="
]
],
{}
]
],
"pre-wrap-001.html": [
"87ffad96310532a6501e1b75c30f986433cc634e",
[
@ -202801,6 +202840,19 @@
{}
]
],
"translucent-outline.html": [
"38109a56a52d6b1fb0c9f9e0f2503206a610b2d1",
[
null,
[
[
"/css/css-ui/translucent-outline-ref.html",
"=="
]
],
{}
]
],
"webkit-appearance-auto-001.html": [
"fb0261b020f6fc2b1e3bfccb3da7d899f0337f79",
[
@ -221219,6 +221271,19 @@
]
]
},
"is-where-pseudo-elements.html": [
"428b3b9a2d8747674b66aacffff17c730097d135",
[
null,
[
[
"/css/selectors/is-where-pseudo-elements-ref.html",
"=="
]
],
{}
]
],
"not-links.html": [
"d49a86fd0ea710d8fd36798e84034f3042e58e81",
[
@ -246798,7 +246863,7 @@
]
],
"mo-form.html": [
"b67b389ec1c4aca155e1f29908325ade67f37e76",
"d037989d1e427c8686cc9c813bbc9a4c6a66e00b",
[
null,
[
@ -279547,7 +279612,7 @@
[]
],
"otpcredential-helper.js": [
"3cf4510585d61c683e78140452ad8fe3fd9150fe",
"0c6ce8b1f38ca321900efae35a53977da9370acb",
[]
],
"otpcredential-iframe.html": [
@ -312525,6 +312590,14 @@
"f7488ba2ec6ebeae2d281b29586aaedb9effab97",
[]
],
"webkit-line-clamp-036-ref.html": [
"2219e3106d3107bb081b8896d7db898b4dda3c35",
[]
],
"webkit-line-clamp-037-ref.html": [
"2927716d76dbc8ebc8b98169c533301214a517aa",
[]
],
"webkit-line-clamp-with-line-height-ref.html": [
"c2c8914161af668cd57ce7ebac15b2100d93be8b",
[]
@ -321397,7 +321470,11 @@
"010635dddc80817eb9ce06cd21b1c22de9171eeb",
[]
]
}
},
"translucent-outline-ref.html": [
"383e256533d3e9d716e3ec850d58a8c889aa2829",
[]
]
},
"css-values": {
"META.yml": [
@ -325590,6 +325667,10 @@
[]
]
},
"is-where-pseudo-elements-ref.html": [
"3a17efedfbbaa0558ab73a16aef42ce626e27b7d",
[]
],
"not-links-ref.html": [
"1efe5943f4e33eb0046fa89dfac8a97eeff3da85",
[]
@ -348600,7 +348681,7 @@
[]
],
"mo-form-ref.html": [
"608ad4bbadedf0cd1f7a848493add9636efac275",
"b249fe43b591b70bed7e9f75962497db56ba119a",
[]
],
"mo-lspace-rspace-dynamic-ref.html": [
@ -353463,7 +353544,7 @@
[]
],
"mock-sms-receiver.js": [
"c4aa9a86f2c8a15303f96cc9859b2ec146eb2f58",
"903456d6830481cfd8d977120105359d4fc43774",
[]
],
"mock-textdetection.js": [
@ -353511,7 +353592,7 @@
[]
],
"webxr-test.js": [
"a31bdc95eb6d5c7bca2a9085e94914f7e69051a4",
"01d2ec23396a9fbe21d25fba90dc8dcd0f9bd0d3",
[]
],
"webxr-test.js.headers": [
@ -353691,7 +353772,7 @@
[]
],
"no-title.html": [
"d8caa5f9c08ad2952b3d21f025e94b41f580a3d7",
"3458af4459674c89de7529aecbc6a0b6de233757",
[]
],
"order.html": [
@ -353980,7 +354061,7 @@
[]
],
"testharness.js": [
"cf61b2ae273b0f9d543ad59557383ed11c5ac9a2",
"85ffcf726af1b634a9e5bc1fc35aca56deb74b4c",
[]
],
"testharness.js.headers": [
@ -401610,7 +401691,7 @@
]
},
"font-face-range-order.html": [
"ed0508a18ff7c4d2e447f6227146f294950fe1e1",
"b198a9fb572d38a87e25cc71e932821d8e96b16c",
[
null,
{}
@ -407298,6 +407379,13 @@
null,
{}
]
],
"scrollable-overflow-self-collapsing.html": [
"cf47f2407c424c80576c79fd25ea60af709b4e35",
[
null,
{}
]
]
},
"css-overscroll-behavior": {
@ -422261,6 +422349,13 @@
{}
]
],
"is-where-pseudo-classes.html": [
"c3f1cfa81856a7c4083ed6a9bd100e098889fff0",
[
null,
{}
]
],
"is-where-shadow.html": [
"1b25bb63f168a5da7ba3a9d9b871ebda9c9c032e",
[
@ -487114,6 +487209,13 @@
{}
]
],
"longtask-before-observer.window.js": [
"b7d4eb9d1de1ac1b91a2e6c9b5d124413b6dc0b9",
[
"longtask-timing/longtask-before-observer.window.html",
{}
]
],
"longtask-in-childiframe-crossorigin.html": [
"d0fdf742804d722a6682e8f2b455284dc83fa4b9",
[
@ -533195,7 +533297,7 @@
]
],
"audioworkletnode-constructor-options.https.html": [
"cee9ec82c20f42a5941698fc394e6babb639ace9",
"d3347d265e42365dcba1190c9a91a30a7e2a6589",
[
null,
{}

View file

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

View file

@ -1,2 +0,0 @@
[inline-children-root-linebox-crash-001.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[inline-negative-margin-minmax-crash-001.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[abspos-inline-container-in-inline-block.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[text-emphasis-unrepresentable-characters.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[pre-line-with-space-and-newline.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[trailing-other-space-separators-break-spaces-012.html]
expected: FAIL

View file

@ -2,3 +2,6 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -0,0 +1,4 @@
[CaretPosition-001.html]
[Element at (400, 100)]
expected: FAIL

View file

@ -2,3 +2,6 @@
[elementsFromPoint on the root document for points in iframe elements]
expected: FAIL
[elementsFromPoint on inner documents]
expected: FAIL

View file

@ -0,0 +1,4 @@
[is-where-pseudo-classes.html]
[:is() combined with pseudo-classes]
expected: FAIL

View file

@ -0,0 +1,2 @@
[is-where-pseudo-elements.html]
expected: FAIL

View file

@ -315,15 +315,21 @@
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate 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 */*;charset=gbk]
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;" \\" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

View file

@ -56,9 +56,3 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript error]
expected: FAIL
[separate text/javascript ]
expected: FAIL

View file

@ -11,3 +11,9 @@
[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%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL
[Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

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

View file

@ -1,5 +1,4 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener and "removed" embedded documents]
expected: FAIL

View file

@ -172,3 +172,6 @@
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
expected: FAIL
[HTML (standards) IMG usemap="no-hash-name"]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +0,0 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -1,4 +0,0 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

@ -5,5 +5,5 @@
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
expected: TIMEOUT

View file

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

View file

@ -1,5 +1,4 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -1,5 +0,0 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
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

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

View file

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

View file

@ -1,8 +1,7 @@
[shared-worker-in-data-url-context.window.html]
expected: TIMEOUT
[Create a shared worker in a data url frame]
expected: FAIL
[Create a data url shared worker in a data url frame]
expected: TIMEOUT
expected: FAIL

View file

@ -13,7 +13,7 @@ const Status = {};
async function loadChromiumResources() {
const resources = [
'/gen/mojo/public/mojom/base/time.mojom-lite.js',
'/gen/third_party/blink/public/mojom/sms/sms_receiver.mojom-lite.js',
'/gen/third_party/blink/public/mojom/sms/webotp_service.mojom-lite.js',
];
await loadMojoResources(resources, true);

View file

@ -20,15 +20,12 @@ src: local(Ahem);
}
</style>
<script>
async_test(function(t) {
document.fonts.load("12px reversed-range-test").then((fonts) => {
t.step( () => {
promise_test(async (t) => {
const fonts = await document.fonts.load("12px reversed-range-test");
assert_equals(fonts[0].stretch, "200% 50%", "Stretch value must be returned as specified.");
assert_equals(fonts[0].style, "oblique 90deg -90deg", "Style value must be returned as specified.");
assert_equals(fonts[0].weight, "900 100", "Weight value must be returned as specified.");
});
t.done()
})});
</script>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
width: 150px;
font: 16px / 32px monospace;
background-color: yellow;
padding: 4px;
overflow: hidden;
}
</style>
<div class="clamp">
supercalifragilisticexpialidocious
supercalifragi…
</div>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
width: 150px;
font: 16px / 32px monospace;
background-color: yellow;
padding: 4px;
overflow: hidden;
}
</style>
<div class="clamp">
supercalifragilisticexpialidocious
supercalifragilisticexpialidocious
</div>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<meta name="assert" content="This ensures that an end self-collapsing block contributes to the scrollable overflow correctly.">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.target')">
<div class="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="110">
<div style="width: 50px; height: 100px; margin-bottom: 10px; background: lime;"></div>
<div></div> <!-- self-collapsing -->
</div>
<div class="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="150">
<div style="width: 50px; height: 100px; margin-bottom: 10px; background: lime;"></div>
<div style="margin-bottom: 50px;"></div> <!-- self-collapsing -->
</div>
<div class="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="180">
<div style="width: 50px; height: 100px; margin-bottom: 30px; background: lime;"></div>
<div style="margin-bottom: 100px;"> <!-- self-collapsing -->
<div style="margin-top: -20px;"></div>
</div>
</div>
<div id=log></div>
</body>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#webkit-line-clamp">
<link rel="match" href="reference/webkit-line-clamp-036-ref.html">
<meta name="assert" content="text-overflow: ellipsis shouldn't apply within a -webkit-line-clamp context.">
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
width: 150px;
font: 16px / 32px monospace;
background-color: yellow;
padding: 4px;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
<div class="clamp">
supercalifragilisticexpialidocious
supercalifragilisticexpialidocious
supercalifragilisticexpialidocious
</div>

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#webkit-line-clamp">
<link rel="match" href="reference/webkit-line-clamp-037-ref.html">
<meta name="assert" content="text-overflow: ellipsis shouldn't apply within a -webkit-line-clamp context.">
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
width: 150px;
font: 16px / 32px monospace;
background-color: yellow;
padding: 4px;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
<div class="clamp">
supercalifragilisticexpialidocious
supercalifragilisticexpialidocious
</div>

View file

@ -0,0 +1,44 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: 'white-space: pre-line' with space and newline</title>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-text/#white-space-phase-1">
<link rel="help" href="https://crbug.com/1136688">
<link rel="match" href="../../reference/ref-filled-green-200px-square.html">
<meta name="assert" content="
Checks that collapsible spaces immediately preceding a sequent break are removed.
That still applies if they are separated into different inline elements.
Also, if some text is inserted dynamically, the browser should not crash.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
span {
font: 25px/1 Ahem;
background: red;
color: green;
}
i {
white-space: pre-line;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class="static together">
<span>XXXXXXXX<i> &#10;</i>XXXXXXXX</span>
</div>
<div class="static separated">
<span>XXXXXXXX<i> </i><i>&#10;</i>XXXXXXXX</span>
</div>
<div class="dynamic together">
<span>XXXXXXXX<i> &#10;</i></span>
</div>
<div class="dynamic separated">
<span>XXXXXXXX<i> </i><i>&#10;</i></span>
</div>
<script>
// Force layout
document.body.offsetLeft;
// Insert text, should not crash
for (let span of document.querySelectorAll(".dynamic > span")) {
span.append("XXXXXXXX");
}
</script>

View file

@ -0,0 +1,3 @@
<!DOCTYPE html>
There should be a square in uniform pale green color.
<div style="width: 100px; height: 100px; background: rgba(0, 128, 0, 0.5)"></div>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<title>Outline with translucent color, will-change:transform and negative-z index child</title>
<link rel="help" title="7.1. 'outline' property" href="http://www.w3.org/TR/css3-ui/#outline">
<link rel="match" href="translucent-outline-ref.html">
<style>div { will-change: transform; }</style>
There should be a square in uniform pale green color.
<div style="position: relative; top: 25px; left: 25px;
width: 50px; height: 50px;
outline: 25px solid rgba(0, 128, 0, 0.5);
background: rgba(0, 128, 0, 0.5)">
<div style="position: absolute; width: 10px; height: 10px; z-index: -1"></div>
</div>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<title>:is() combined with pseudo-classes</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://drafts.csswg.org/selectors-4/#matches">
<link rel="help" href="https://drafts.csswg.org/selectors/#useraction-pseudos">
<style>
button {
color: black;
}
/* Selects #a, #c */
:is(main :where(main #a), #c:nth-child(odd), #d):is(:enabled) {
color: green;
}
/* Selects #b, #d, #f */
button:is(:nth-child(even), span #e):is(:enabled, :where(:disabled)) {
color: blue;
}
</style>
<main>
<button id=a>A</button>
<button id=b>B</button>
<button id=c>C</button>
<button id=d disabled>D</button>
<button id=e disabled>E</button>
<button id=f disabled>F</button>
</main>
<script>
test(function() {
assert_equals(getComputedStyle(a).color, 'rgb(0, 128, 0)');
assert_equals(getComputedStyle(b).color, 'rgb(0, 0, 255)');
assert_equals(getComputedStyle(c).color, 'rgb(0, 128, 0)');
assert_equals(getComputedStyle(d).color, 'rgb(0, 0, 255)');
assert_equals(getComputedStyle(e).color, 'rgb(0, 0, 0)');
assert_equals(getComputedStyle(f).color, 'rgb(0, 0, 255)');
}, ':is() combined with pseudo-classes');
</script>

View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<title>:is() combined with pseudo elements</title>
<link rel="help" href="https://drafts.csswg.org/selectors-4/#matches">
<style>
#b::before, #d::before {
content: "before ";
color: green;
}
#e::after, #h::after {
content: " after";
color: green;
}
#a::first-letter, #b::first-letter {
color: blue;
}
#g::first-line, #l::first-line {
color: magenta;
}
</style>
<main id=main>
<div id=a>a</div>
<div id=b>b</div>
<div id=c>c</div>
<div id=d>d</div>
<div id=e>e</div>
<div id=f>f</div>
<div id=g>g</div>
<div id=h>h</div>
<div id=j>j</div>
<div id=k>k</div>
<div id=l>l<br>l2</div>
</main>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<title>:is() combined with pseudo elements</title>
<link rel="help" href="https://drafts.csswg.org/selectors-4/#matches">
<link rel="match" href="is-where-pseudo-elements-ref.html">
<style>
:is(#a, #c) + :is(main :is(#b, #d))::before {
content: "before ";
color: green;
}
:is(#d + div, #d ~ #h)::after {
content: " after";
color: green;
}
:is(main > #a, #b)::first-letter {
color: blue;
}
:is(:where(main > div + #g, #k + #l))::first-line {
color: magenta;
}
</style>
<main id=main>
<div id=a>a</div>
<div id=b>b</div>
<div id=c>c</div>
<div id=d>d</div>
<div id=e>e</div>
<div id=f>f</div>
<div id=g>g</div>
<div id=h>h</div>
<div id=j>j</div>
<div id=k>k</div>
<div id=l>l<br>l2</div>
</main>

View file

@ -0,0 +1,16 @@
async_test(t => {
assert_implements(window.PerformanceLongTaskTiming, 'Longtasks are not supported.');
// Create a long task before any observer.
const begin = window.performance.now();
while (window.performance.now() < begin + 60);
// After a timeout, add an observer with buffered flag.
t.step_timeout(() => {
new PerformanceObserver(t.step_func_done(list => {
list.getEntries().forEach(entry => {
assert_equals(entry.entryType, 'longtask');
assert_equals(entry.name, 'self');
assert_greater_than(entry.duration, 50);
});
})).observe({type: 'longtask', buffered: true});
}, 0);
}, 'PerformanceObserver with buffered flag can see previous longtask entries.');

View file

@ -17,9 +17,9 @@
_<math><mo lspace="0.27777em" rspace="0.27777em"></mo></math>_
<!-- This checks the effect of @form on a postfix operator. -->
_<math><mo lspace="0.27777em" rspace="0.27777em"></mo></math>_
_<math><mo lspace="0.27777em" rspace="0.27777em"></mo></math>_
_<math><mo lspace="0em" rspace="0.11111em"></mo></math>_
_<math><mo lspace="0.27777em" rspace="0.27777em"></mo></math>_
_<math><mo lspace="0.27777em" rspace="0.27777em"></mo></math>_
_<math><mo lspace="0em" rspace="0em"></mo></math>_
</body>
</html>

View file

@ -20,9 +20,9 @@
_<math><mo form="postfix"></mo></math>_
<!-- This checks the effect of @form on a postfix operator. -->
_<math><mo form="infix"></mo></math>_
_<math><mo form="prefix"></mo></math>_
_<math><mo form="postfix"></mo></math>_
_<math><mo form="infix"></mo></math>_
_<math><mo form="prefix"></mo></math>_
_<math><mo form="postfix"></mo></math>_
<script src="/mathml/support/feature-detection.js"></script>
<script>MathMLFeatureDetection.ensure_for_match_reftest("has_operator_spacing");</script>

View file

@ -2,13 +2,13 @@
const SmsProvider = (() => {
class MockSmsReceiver {
class MockWebOTPService {
constructor() {
this.mojoReceiver_ = new blink.mojom.SmsReceiverReceiver(this);
this.mojoReceiver_ = new blink.mojom.WebOTPServiceReceiver(this);
this.interceptor_ =
new MojoInterfaceInterceptor(blink.mojom.SmsReceiver.$interfaceName);
new MojoInterfaceInterceptor(blink.mojom.WebOTPService.$interfaceName);
this.interceptor_.oninterfacerequest = (e) => {
this.mojoReceiver_.$.bindHandle(e.handle);
@ -35,7 +35,7 @@ const SmsProvider = (() => {
}
}
const mockSmsReceiver = new MockSmsReceiver();
const mockWebOTPService = new MockWebOTPService();
class SmsProviderChromium {
constructor() {
@ -43,7 +43,7 @@ const SmsProvider = (() => {
}
pushReturnValuesForTesting(callName, callback) {
mockSmsReceiver.pushReturnValuesForTesting(callName, callback);
mockWebOTPService.pushReturnValuesForTesting(callName, callback);
}
}

View file

@ -361,7 +361,7 @@ class MockRuntime {
this.bounds_ = null;
this.send_mojo_space_reset_ = false;
this.stageParameters_ = null;
this.stageParametersUpdated_ = false;
this.stageParametersId_ = 1;
this.service_ = service;
@ -585,11 +585,7 @@ class MockRuntime {
onStageParametersUpdated() {
// Indicate for the frame loop that the stage parameters have been updated.
this.stageParametersUpdated_ = true;
this.displayInfo_.stageParameters = this.stageParameters_;
if (this.sessionClient_.ptr.isBound()) {
this.sessionClient_.onChanged(this.displayInfo_);
}
this.stageParametersId_++;
}
simulateResetPose() {
@ -756,8 +752,6 @@ class MockRuntime {
const mojo_space_reset = this.send_mojo_space_reset_;
this.send_mojo_space_reset_ = false;
const stage_parameters_updated = this.stageParametersUpdated_;
this.stageParametersUpdated_ = false;
if (this.pose_) {
this.pose_.poseIndex++;
}
@ -786,7 +780,7 @@ class MockRuntime {
bufferHolder: null,
bufferSize: {},
stageParameters: this.stageParameters_,
stageParametersUpdated: stage_parameters_updated,
stageParametersId: this.stageParametersId_,
};
this.next_frame_id_++;

View file

@ -21,6 +21,14 @@
test(() => { assert_true(true, '5') });
test(() => { assert_true(true, '6') } );
test(() => { assert_true(true, '7'); });
test(() => {});
test(() => { });
test(() => {;;;;});
test(() => { ; ; ; ; });
test(()=>{});
test(()=>{ });
test(()=>{;;;;});
test(()=>{ ; ; ; ; });
</script>
<script type="text/json" id="expected">
{
@ -70,6 +78,54 @@
"name": "assert_true(true, '7')",
"properties": {},
"message": null
},
{
"status_string": "PASS",
"name": "Tests with no title 2",
"properties": {},
"message": null
},
{
"status_string": "PASS",
"name": "Tests with no title 3",
"properties": {},
"message": null
},
{
"status_string": "PASS",
"name": "Tests with no title 4",
"properties": {},
"message": null
},
{
"status_string": "PASS",
"name": "Tests with no title 5",
"properties": {},
"message": null
},
{
"status_string": "PASS",
"name": "Tests with no title 6",
"properties": {},
"message": null
},
{
"status_string": "PASS",
"name": "Tests with no title 7",
"properties": {},
"message": null
},
{
"status_string": "PASS",
"name": "Tests with no title 8",
"properties": {},
"message": null
},
{
"status_string": "PASS",
"name": "Tests with no title 9",
"properties": {},
"message": null
}
],
"type": "complete"

View file

@ -534,10 +534,11 @@ policies and contribution forms [3].
// Check for JS line separators
if (arrow !== null && !/[\u000A\u000D\u2028\u2029]/.test(func_code)) {
var trimmed = (arrow[1] || arrow[2]).trim();
// drop a trailing ; if it's the only one
if (/^[^;]*;$/.test(trimmed)) trimmed = trimmed.substring(0, trimmed.length - 1);
return trimmed;
var trimmed = (arrow[1] !== undefined ? arrow[1] : arrow[2]).trim();
// drop trailing ; if there's no earlier ones
trimmed = trimmed.replace(/^([^;]*)(;\s*)+$/, "$1");
// ignore this if it's then empty
if (trimmed) return trimmed;
}
}

View file

@ -137,7 +137,7 @@
const options1 = {channelInterpretation: 'foobar'};
should(
() => new AudioWorkletNode(context, 'dummy', options1),
'Creating AudioWorkletNode with channelCountMode "foobar"')
'Creating AudioWorkletNode with channelInterpretation "foobar"')
.throw(TypeError);
task.done();