Highlight on mac should return text selection background, not accent color
Categories
(Core :: Widget: Cocoa, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
()
Details
(Keywords: dev-doc-needed)
Attachments
(1 file)
That matches other browsers and the intent of the spec.
Browser usage of Highlight / HighlightText should probably be changed to -moz-accent-color
and -moz-accent-color-foreground
. On Windows that effectively doesn't change anything.
Comment 1•3 years ago
|
||
I've filed https://github.com/w3c/csswg-drafts/issues/6008 to get the spec clarified, and to discuss the addition of a new color name.
Assignee | ||
Comment 2•3 years ago
|
||
Ok, added it to the agenda, let's wait till that's resolved to proceed here.
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
Since Highlight / HighlightText are now equivalent to the text selection
ones, remove those too.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/28a0487d0291 Implement SelectedItem and SelectedItemText system colors. r=mstange
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/30289 for changes under testing/web-platform/tests
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/42569e93f788 Remove highlighttext from property_database.js as it can legitimately be currentColor in some platforms.
Comment 8•3 years ago
|
||
Backed out for reftest failure on themed-widget.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/358ce9525a988b8fd9d175fae125ee5b53747794
Log link: https://treeherder.mozilla.org/logviewer?job_id=350268172&repo=autoland&lineNumber=7912
Upstream PR was closed without merging
Assignee | ||
Comment 10•3 years ago
|
||
Gah, getting backed out for unexpected passes is unfortunate. Thanks.
Comment 11•3 years ago
|
||
bugherder |
Comment 12•3 years ago
|
||
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/095bdc8c1839 Implement SelectedItem and SelectedItemText system colors. r=mstange
Comment 13•3 years ago
|
||
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/b0e9983d1650 Fix two Higlight -> Highlight typos.
Comment 14•3 years ago
|
||
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/a964915b6a48 Fix selecteditem color on macOS.
Comment 15•3 years ago
|
||
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/528d292dca73 Fix a mochitest failure that wasn't caught by try.
Comment 16•3 years ago
|
||
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/e8422fd05dab And fix a shameless copy-paste of the same test fixed on the previous commit.
Comment 17•3 years ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Comment 19•3 years ago
|
||
The two new color values SelectedItem
and SelectedItemText
should be documented at https://developer.mozilla.org/en-US/docs/Web/CSS/color_value. For reference, they meanwhile got added to the CSS Color 4 specification.
Sebastian
Description
•