-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import wpt@f5ca566a191992d6e37b17302505991bca5d9c34
Using wpt-import in Chromium 582bc1e. With Chromium commits locally applied on WPT: 6c499ee "Revert recent changes to inheritance of direction and language for <slot> elements." 0f6bbe9 "[FedCM] Enable the IDP Login Status API by default" Note to sheriffs: This CL imports external tests and adds expectations for those tests; if this CL is large and causes a few new failures, please fix the failures by adding new lines to TestExpectations rather than reverting. See: https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md NOAUTOREVERT=true R=rubber-stamper@appspot.gserviceaccount.com No-Export: true Validate-Test-Flakiness: skip Cq-Include-Trybots: luci.chromium.try:linux-wpt-identity-fyi-rel,linux-wpt-input-fyi-rel,linux-blink-rel Change-Id: I102616d87b8c2dae1620207abaf5b264ee28f81d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4986201 Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1216484}
- Loading branch information
Chromium WPT Sync
authored and
Chromium LUCI CQ
committed
Oct 28, 2023
1 parent
b11bd71
commit 999b6da
Showing
34 changed files
with
375 additions
and
343 deletions.
There are no files selected for viewing
237 changes: 192 additions & 45 deletions
237
third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...link/web_tests/external/wpt/css/css-color/nested-color-mix-with-currentcolor-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This is a testharness.js-based test. | ||
[FAIL] Nested color-mix function with inner currentColor should inherit unresolved | ||
assert_equals: expected "lch(0 0 none)" but got "lch(0 0 0)" | ||
Harness: the test ran to completion. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
third_party/blink/web_tests/external/wpt/css/css-color/t32-opacity-basic-0.6-a-ref.html
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
third_party/blink/web_tests/external/wpt/css/css-color/t32-opacity-basic-0.6-a-ref.xht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>CSS Test: rgba() colors</title> | ||
<link rel="author" title="L. David Baron" href="https://dbaron.org/" /> | ||
<link rel="author" title="Chris Lilley" href="https://svgees.us" /> | ||
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> | ||
<style type="text/css"><![CDATA[ | ||
html, body { background: white; color: black; } | ||
#one, #two { width: 12em; height: 12em; } | ||
#one { background-color: rgb(102, 102, 102); margin-bottom: 0 } | ||
]]></style> | ||
</head> | ||
<body> | ||
<p>The test passes if you see a gray square:</p> | ||
<p id="one"></p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
third_party/blink/web_tests/external/wpt/css/css-color/t422-rgba-a0.6-a-ref.xht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>CSS Test: rgba() colors</title> | ||
<link rel="author" title="L. David Baron" href="https://dbaron.org/" /> | ||
<link rel="author" title="Chris Lilley" href="https://svgees.us" /> | ||
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> | ||
<style type="text/css"><![CDATA[ | ||
html, body { background: white; color: black; } | ||
#one, #two { width: 12em; height: 12em; } | ||
#one { background-color: rgb(102, 102, 102); margin-bottom: 0 } | ||
]]></style> | ||
</head> | ||
<body> | ||
<p>The test passes if you see a gray square:</p> | ||
<p id="one"></p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
third_party/blink/web_tests/external/wpt/css/css-color/t425-hsla-basic-a-ref.html
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
third_party/blink/web_tests/external/wpt/css/css-color/t425-hsla-basic-a-ref.xht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>CSS Test: hsla()</title> | ||
<link rel="author" title="L. David Baron" href="https://dbaron.org/" /> | ||
<link rel="author" title="Chris Lilley" href="https://svgees.us" /> | ||
<style type="text/css"><![CDATA[ | ||
html, body { background: white; } | ||
div { width: 12em; height: 12em; } | ||
#one { background-color: hsla(120, 100%, 70%, 1.0); margin-bottom: 0 } | ||
]]></style> | ||
</head> | ||
<body> | ||
<p>Test passes if you see a light green square.</p> | ||
<div id="one"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
...ml/semantics/interactive-elements/the-dialog-element/focus-previous-iframe.tentative.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<title>Test focus is moved to the previously focused element when dialog is closed</title> | ||
<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> | ||
|
||
<body> | ||
<dialog>Dialog in parent</dialog> | ||
|
||
<iframe srcdoc="<input><dialog> Dialog in child </dialog>"></iframe> | ||
|
||
<input> | ||
<script> | ||
test(() => { | ||
window.onload = function() { | ||
const iframe = document.querySelector("iframe"); | ||
const input = iframe.contentDocument.querySelector("input"); | ||
// <input> in the child document is focused | ||
input.focus(); | ||
|
||
const dialog = document.querySelector("dialog"); | ||
// <dialog> in the parent document is opened | ||
dialog.showModal(); | ||
dialog.close(); | ||
|
||
assert_equals(document.activeElement, iframe); | ||
assert_equals(iframe.contentDocument.activeElement, input); | ||
} | ||
}, "Focus should move back from parent document to child document"); | ||
|
||
test(() => { | ||
window.onload = function() { | ||
const iframe = document.querySelector("iframe"); | ||
const input = document.querySelector("input"); | ||
// <input> in the parent document is focused | ||
input.focus(); | ||
|
||
const dialog = iframe.contentDocument.querySelector("dialog"); | ||
|
||
// <dialog> in the child document is focused | ||
dialog.showModal(); | ||
dialog.close(); | ||
|
||
assert_equals(document.activeElement, input); | ||
} | ||
}, "Focus should move back from child document to parent document"); | ||
</script> | ||
</body> |
2 changes: 1 addition & 1 deletion
2
...web_tests/external/wpt/requestidlecallback/callback-timeRemaining-cross-realm-method.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.