-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import wpt@5e8c40ff417f1f27aa4469f720892da26b2672df
Using wpt-import in Chromium 54851d0. With Chromium commits locally applied on WPT: c2fe225 "[initial-letter] Make initail-letter text to take ::first-line style" 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 Directory owners for changes in this CL: kojii@chromium.org: external/wpt/css/css-writing-modes NOAUTOREVERT=true R=rubber-stamper@appspot.gserviceaccount.com No-Export: true Cq-Include-Trybots: luci.chromium.try:linux-wpt-identity-fyi-rel,linux-wpt-input-fyi-rel,linux-blink-rel Change-Id: I577cb274ba0576a8cf6c225500799978e097d8e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4056077 Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1075655}
- Loading branch information
Chromium WPT Sync
authored and
Chromium LUCI CQ
committed
Nov 25, 2022
1 parent
d24c82a
commit 4995d83
Showing
11 changed files
with
3,122 additions
and
10 deletions.
There are no files selected for viewing
1,235 changes: 1,235 additions & 0 deletions
1,235
third_party/blink/web_tests/FlagExpectations/disable-layout-ng
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
554 changes: 548 additions & 6 deletions
554
third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Large diffs are not rendered by default.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
...ests/external/wpt/css/css-writing-modes/forms/text-input-block-size.optional-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,17 @@ | ||
This is a testharness.js-based test. | ||
FAIL Test input[type=text] block-size in writing-mode: vertical-lr assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=text] block-size in writing-mode: vertical-rl assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=email] block-size in writing-mode: vertical-lr assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=email] block-size in writing-mode: vertical-rl assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=password] block-size in writing-mode: vertical-lr assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=password] block-size in writing-mode: vertical-rl assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=search] block-size in writing-mode: vertical-lr assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=search] block-size in writing-mode: vertical-rl assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=tel] block-size in writing-mode: vertical-lr assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=tel] block-size in writing-mode: vertical-rl assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=url] block-size in writing-mode: vertical-lr assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=url] block-size in writing-mode: vertical-rl assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=number] block-size in writing-mode: vertical-lr assert_true: input has correct aspect ratio for default input size expected true got false | ||
FAIL Test input[type=number] block-size in writing-mode: vertical-rl assert_true: input has correct aspect ratio for default input size expected true got false | ||
Harness: the test ran to completion. | ||
|
44 changes: 44 additions & 0 deletions
44
...nk/web_tests/external/wpt/css/css-writing-modes/forms/text-input-block-size.optional.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,44 @@ | ||
<!doctype html> | ||
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m"> | ||
<link rel="help" href="https://html.spec.whatwg.org/#the-input-element"> | ||
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow"> | ||
<title>Test block-size of text-based inputs is consistent across writing-modes</title> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<style> | ||
input { appearance: none } | ||
</style> | ||
|
||
<input id="horizontalInput"> | ||
<input id="verticalInput"> | ||
|
||
<script> | ||
for (const inputType of ["text", "email", "password", "search", "tel", "url", "number"]) { | ||
horizontalInput.type = inputType; | ||
verticalInput.type = inputType; | ||
for (const writingMode of ["vertical-lr", "vertical-rl", "sideways-lr", "sideways-rl"]) { | ||
if (!CSS.supports(`writing-mode: ${writingMode}`)) | ||
continue; | ||
test(t => { | ||
verticalInput.style.writingMode = writingMode; | ||
t.add_cleanup(() => { | ||
verticalInput.removeAttribute("style"); | ||
}); | ||
|
||
const verticalRect = verticalInput.getBoundingClientRect(); | ||
assert_true( | ||
verticalRect.width < verticalRect.height, | ||
"input has correct aspect ratio for default input size" | ||
); | ||
|
||
const horizontalRect = horizontalInput.getBoundingClientRect(); | ||
assert_equals( | ||
Math.round(verticalRect.width), | ||
Math.round(horizontalRect.height), | ||
"width of vertical input matches height of horizontal input" | ||
); | ||
}, `Test input[type=${inputType}] block-size in writing-mode: ${writingMode}`); | ||
} | ||
} | ||
</script> |
4 changes: 4 additions & 0 deletions
4
...rnal/wpt/shape-detection/detection-ImageDataUint16StorageFormat.https.window-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,4 @@ | ||
This is a testharness.js-based test. | ||
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message | ||
Harness: the test ran to completion. | ||
|
4 changes: 4 additions & 0 deletions
4
...tests/platform/linux/wpt_internal/geolocation-api/notimer-after-unload.https-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,4 @@ | ||
This is a testharness.js-based test. | ||
FAIL geolocation callbacks are not invoked after page unload promise_test: Unhandled rejection with value: "Geolocation callback invoked after page unload" | ||
Harness: the test ran to completion. | ||
|
5 changes: 5 additions & 0 deletions
5
..._tests/platform/linux/wpt_internal/geolocation-api/timeout-clear-watch.https-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. | ||
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message | ||
PASS Tests that when a watch times out and is cleared from the error callback, there is no crash. This a regression test for https://bugs.webkit.org/show_bug.cgi?id=32111. | ||
Harness: the test ran to completion. | ||
|
5 changes: 5 additions & 0 deletions
5
...web_tests/platform/linux/wpt_internal/geolocation-api/timeout-negative.https-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. | ||
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message | ||
PASS Tests that when timeout is negative (and maximumAge is too), the error callback is called immediately with code TIMEOUT. | ||
Harness: the test ran to completion. | ||
|
5 changes: 5 additions & 0 deletions
5
...ink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout-zero.https-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. | ||
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message | ||
PASS Tests that when timeout is zero (and maximumAge is too), the error callback is called immediately with code TIMEOUT. | ||
Harness: the test ran to completion. | ||
|
5 changes: 5 additions & 0 deletions
5
...ty/blink/web_tests/platform/linux/wpt_internal/geolocation-api/timeout.https-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. | ||
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught Error: Received unknown message | ||
FAIL Tests that when timeout is non-zero, the success callback is called as expected. promise_test: Unhandled rejection with value: "Error callback invoked unexpectedly" | ||
Harness: the test ran to completion. | ||
|