-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1937928 [wpt PR 49746] - Update customizable select styles, a=tes…
…tonly Automatic update from web-platform-tests Update customizable select styles This patch updates background-color and border-radius to the latest proposal here: w3c/csswg-drafts#10857 Change-Id: Icc6ec70d27cc9f1131f5e164b1db66e63e8847fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6072270 Commit-Queue: Joey Arhar <[email protected]> Reviewed-by: Mason Freed <[email protected]> Auto-Submit: Joey Arhar <[email protected]> Cr-Commit-Position: refs/heads/main@{#1397608} -- wpt-commits: 441d9bfafda626484b081e3cd4964489e9608ca2 wpt-pr: 49746
- Loading branch information
1 parent
89a2582
commit f567d92
Showing
14 changed files
with
54 additions
and
26 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
8 changes: 1 addition & 7 deletions
8
.../semantics/forms/the-select-element/customizable-select/select-appearance-active-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 |
---|---|---|
@@ -1,19 +1,13 @@ | ||
<!DOCTYPE html> | ||
<link rel=stylesheet href="resources/customizable-select-styles.css"> | ||
|
||
<div class=customizable-select-button popovertarget=popover id=button> | ||
<div class="customizable-select-button active" popovertarget=popover id=button> | ||
<span class=customizable-select-selectedoption>option</span> | ||
</div> | ||
<div id=popover popover=auto anchor=button class=customizable-select-popover> | ||
<div class="customizable-select-option selected">option</div> | ||
</div> | ||
|
||
<style> | ||
.customizable-select-button { | ||
background-color: color-mix(in lab, currentColor 30%, transparent); | ||
} | ||
</style> | ||
|
||
<script> | ||
document.getElementById('popover').showPopover(); | ||
</script> |
2 changes: 1 addition & 1 deletion
2
...tics/forms/the-select-element/customizable-select/select-appearance-active.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html class=reftest-wait> | ||
<meta name=fuzzy content="maxDifference=0-29;totalPixels=0-1"> | ||
<meta name=fuzzy content="maxDifference=0-33;totalPixels=0-1"> | ||
<link rel=author href="mailto:[email protected]"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/10909"> | ||
<link rel=match href="select-appearance-active-ref.html"> | ||
|
2 changes: 1 addition & 1 deletion
2
...s/forms/the-select-element/customizable-select/select-appearance-dark-mode.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html class=reftest-wait> | ||
<meta name=fuzzy content="maxDifference=0-1;totalPixels=0-12"> | ||
<meta name=fuzzy content="maxDifference=0-1;totalPixels=0-15"> | ||
<link rel=author href="mailto:[email protected]"> | ||
<link rel=help href="https://github.com/whatwg/html/issues/9799"> | ||
<link rel=match href="select-appearance-dark-mode-ref.html"> | ||
|
2 changes: 1 addition & 1 deletion
2
...s/the-select-element/customizable-select/select-appearance-disabled-option.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html class=reftest-wait> | ||
<meta name=fuzzy content="maxDifference=0-37;totalPixels=0-1"> | ||
<meta name=fuzzy content="maxDifference=0-41;totalPixels=0-1"> | ||
<link rel=author href="mailto:[email protected]"> | ||
<link rel=help href="https://github.com/whatwg/html/issues/9799"> | ||
<link rel=match href="select-appearance-disabled-option-ref.html"> | ||
|
2 changes: 1 addition & 1 deletion
2
...s/the-select-element/customizable-select/select-appearance-font-inheriting.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html class=reftest-wait> | ||
<meta name=fuzzy content="maxDifference=0-50;totalPixels=0-8"> | ||
<meta name=fuzzy content="maxDifference=0-55;totalPixels=0-8"> | ||
<link rel=author href="mailto:[email protected]"> | ||
<link rel=help href="https://github.com/whatwg/html/issues/9799"> | ||
<link rel=match href="select-appearance-font-inheriting-ref.html"> | ||
|
8 changes: 1 addition & 7 deletions
8
...l/semantics/forms/the-select-element/customizable-select/select-appearance-hover-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 |
---|---|---|
@@ -1,12 +1,6 @@ | ||
<!DOCTYPE html> | ||
<link rel=stylesheet href="resources/customizable-select-styles.css"> | ||
|
||
<div class=customizable-select-button popovertarget=popover id=button> | ||
<div class="customizable-select-button hover" popovertarget=popover id=button> | ||
<span class=customizable-select-selectedoption>option</span> | ||
</div> | ||
|
||
<style> | ||
.customizable-select-button { | ||
background-color: color-mix(in lab, currentColor 20%, transparent); | ||
} | ||
</style> |
2 changes: 1 addition & 1 deletion
2
...ntics/forms/the-select-element/customizable-select/select-appearance-hover.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html class=reftest-wait> | ||
<meta name=fuzzy content="maxDifference=0-33;totalPixels=0-1"> | ||
<meta name=fuzzy content="maxDifference=0-37;totalPixels=0-1"> | ||
<link rel=author href="mailto:[email protected]"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/10909"> | ||
<link rel=match href="select-appearance-hover-ref.html"> | ||
|
2 changes: 1 addition & 1 deletion
2
...elect-element/customizable-select/select-appearance-switching-invalidation.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html class=reftest-wait> | ||
<meta name=fuzzy content="maxDifference=0-40;totalPixels=0-2"> | ||
<meta name=fuzzy content="maxDifference=0-41;totalPixels=0-2"> | ||
<link rel=author href="mailto:[email protected]"> | ||
<link rel=help href="https://github.com/whatwg/html/issues/9799"> | ||
<link rel=match href="select-appearance-switching-invalidation-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
2 changes: 1 addition & 1 deletion
2
...tics/forms/the-select-element/customizable-select/select-open-invalidation.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html class=reftest-wait> | ||
<meta name=fuzzy content="maxDifference=0-40;totalPixels=0-2"> | ||
<meta name=fuzzy content="maxDifference=0-41;totalPixels=0-2"> | ||
<link rel=author href="mailto:[email protected]"> | ||
<link rel=help href="https://github.com/whatwg/html/issues/9799"> | ||
<link rel=match href="select-open-invalidation-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
2 changes: 1 addition & 1 deletion
2
...emantics/forms/the-select-element/customizable-select/select-option-images.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html class=reftest-wait> | ||
<meta name=fuzzy content="maxDifference=0-40;totalPixels=0-2"> | ||
<meta name=fuzzy content="maxDifference=0-41;totalPixels=0-2"> | ||
<link rel=author href="mailto:[email protected]"> | ||
<link rel=help href="https://github.com/whatwg/html/issues/9799"> | ||
<link rel=match href="select-option-images-ref.html"> | ||
|
2 changes: 1 addition & 1 deletion
2
...cs/forms/the-select-element/customizable-select/select-second-child-button.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html class=reftest-wait> | ||
<meta name=fuzzy content="maxDifference=0-37;totalPixels=0-1"> | ||
<meta name=fuzzy content="maxDifference=0-41;totalPixels=0-1"> | ||
<link rel=author href="mailto:[email protected]"> | ||
<link rel=help href="https://github.com/whatwg/html/pull/10629"> | ||
<link rel=match href="select-second-child-button-ref.html"> | ||
|