User Agent stylesheet default opacity for placeholder text
Categories
(Core :: Layout: Form Controls, enhancement)
Tracking
()
People
(Reporter: karlcow, Assigned: emilio)
References
Details
(Whiteboard: [webcompat:p2][needs-wpt-?])
User Story
Would be good for GeckoView.
Attachments
(2 files)
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 3•6 years ago
|
||
See bug 1547409. Migrating webcompat priority whiteboard tags to project flags.
Comment 4•6 years ago
|
||
There does not seem to have been any progress on this despite the WG agreeing that it should be done. As such we still need web platform tests here.
Reporter | ||
Comment 5•4 years ago
|
||
Comment 6•3 years ago
|
||
In Gecko:
Perhaps use ::placeholder { opacity: 1.0; color: color-mix(in srgb, currentColor 54%, transparent); }
or use ::placeholder { opacity: 1.0; color: rgb(from currentColor, r g b / 54%); }
once css-color-5 Relative RGB colors are supported.
And possibly alias ::-webkit-input-placeholder to ::placeholder
In Blink:
Create dark color-scheme
::-webkit-input-placeholder { color: -internal-light-dark() }
and use that until one of the two methods above.
Comment hidden (off-topic) |
Comment 8•2 years ago
|
||
Sorry, there was a problem with the detection of inactive users. I'm reverting the change.
Comment 9•2 years ago
|
||
Actually, Karl isn't with Mozilla anymore, so we might we as well unassign the bug for now.
Updated•2 years ago
|
Assignee | ||
Comment 12•10 months ago
|
||
Doing something like the color-mix in comment 6 seems reasonable to me, fwiw.
Comment 13•9 months ago
|
||
Moving the still-reproducible webcompat links to bugs dependent on our knowledge base bug for this issue, bug 1847183.
Assignee | ||
Comment 14•4 months ago
|
||
This keeps our rendering, but using the same property as other browsers,
which prevents these issues.
Updated•4 months ago
|
Comment 15•4 months ago
|
||
Comment 16•4 months ago
|
||
Comment 17•4 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/aae10b80691a
https://hg.mozilla.org/mozilla-central/rev/fc77cd3a4c25
Updated•3 months ago
|
Description
•