Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import wpt@58eba72745d997d6409722902a6d169ae41b7114
Using wpt-import in Chromium 8b190bd. 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: I7e0b21e28951b3a8ec91ef835d0cf75558995c5f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4055745 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1075730}
- Loading branch information
Chromium WPT Sync
authored and
Chromium LUCI CQ
committed
Nov 25, 2022
1 parent
4a41f96
commit e591405
Showing
4 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
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
3 changes: 3 additions & 0 deletions
3
...ty/blink/web_tests/external/wpt/css/css-writing-modes/forms/range-input-painting-ref.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,3 @@ | ||
<!DOCTYPE html> | ||
<title>Reference: painting of input[type=range] does not happen outside of its bounds</title> | ||
<p>The range input below should be fully covered.</p> |
37 changes: 37 additions & 0 deletions
37
...web_tests/external/wpt/css/css-writing-modes/forms/range-input-vertical-ltr-painting.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,37 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m"> | ||
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)"> | ||
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow"> | ||
<title>Test that painting of input[type=range] does not happen outside of its bounds</title> | ||
<meta charset="utf-8"> | ||
<link rel="match" href="range-input-painting-ref.html"> | ||
|
||
<style> | ||
#container { | ||
position: relative; | ||
} | ||
#cover { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: red; | ||
} | ||
@supports (writing-mode: vertical-lr) { | ||
#cover { | ||
background-color: Canvas; | ||
} | ||
} | ||
input { | ||
appearance: none; | ||
writing-mode: vertical-lr; | ||
} | ||
</style> | ||
|
||
<p>The range input below should be fully covered.</p> | ||
|
||
<div id="container"> | ||
<input type="range"> | ||
<div id="cover"></div> | ||
</div> |
39 changes: 39 additions & 0 deletions
39
...web_tests/external/wpt/css/css-writing-modes/forms/range-input-vertical-rtl-painting.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,39 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m"> | ||
<link rel="help" href="https://html.spec.whatwg.org/#range-state-(type=range)"> | ||
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow"> | ||
<title>Test that painting of input[type=range] does not happen outside of its bounds</title> | ||
<meta charset="utf-8"> | ||
<link rel="match" href="range-input-painting-ref.html"> | ||
|
||
<style> | ||
#container { | ||
position: relative; | ||
} | ||
#cover { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: red; | ||
} | ||
@supports (writing-mode: vertical-lr) and (direction: rtl) { | ||
#cover { | ||
background-color: Canvas; | ||
} | ||
} | ||
input { | ||
appearance: none; | ||
writing-mode: vertical-lr; | ||
direction: rtl; | ||
} | ||
</style> | ||
|
||
<p>The range input below should be fully covered.</p> | ||
|
||
<div id="container"> | ||
<input type="range"> | ||
<div id="cover"></div> | ||
</div> | ||
|