forked from mykmelez/gecko
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1869271 - Use known foreground when accent-color matches the exis…
…ting AccentColor. r=mstange Allowing to use two colors for accent-color would be IMO a better solution, but it was rejected by the working group, see w3c/csswg-drafts#6159. Maybe we should make the second color optional? Anyways, this seems reasonable, and avoids weird behavior differences between accent-color: AccentColor and other things... Differential Revision: https://phabricator.services.mozilla.com/D196039
- Loading branch information
Showing
4 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
layout/reftests/forms/input/checkbox/accent-color-accentcolor-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,2 @@ | ||
<!doctype html> | ||
<input type=checkbox checked> |
2 changes: 2 additions & 0 deletions
2
layout/reftests/forms/input/checkbox/accent-color-accentcolor.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,2 @@ | ||
<!doctype html> | ||
<input type=checkbox checked style="accent-color: AccentColor"> |
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