WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
201034
Emoji in placeholder text does not appear faded
https://bugs.webkit.org/show_bug.cgi?id=201034
Summary
Emoji in placeholder text does not appear faded
Jeffrey
Reported
2019-08-22 06:57:29 PDT
(Copied from
https://bugs.chromium.org/p/chromium/issues/detail?id=932026
) Demo URL:
https://e.myconan.net/test-input-placeholder.html
What is the expected behavior? Emoji in placeholder text should be faded out just like the rest of the text. What went wrong? Emoji in placeholder text is fully visible. Reproducible on Safari 12.1.2 (14607.3.9).
Attachments
Add attachment
proposed patch, testcase, etc.
Jeffrey
Comment 1
2019-08-22 07:03:02 PDT
The fix should be a matter of changing the 'color' property of the 'placeholder' element to use an RGBA opacity value (e.g. rgba(0, 0, 0, 0.54)) instead of darkGray in /Source/WebCore/css/html.css, and updating test cases.
Radar WebKit Bug Importer
Comment 2
2019-08-22 14:07:19 PDT
<
rdar://problem/54613515
>
Myles C. Maxfield
Comment 3
2020-05-22 17:46:34 PDT
Firefox fades the emoji, Chrome doesn't.
Ahmad Saleem
Comment 4
2022-09-24 16:22:03 PDT
(In reply to Myles C. Maxfield from
comment #3
)
> Firefox fades the emoji, Chrome doesn't.
Chrome mark the bug mentioned in
Comment 0
as "WONTFIX" but someone comment that it seems to be fixed on Chrome 88 using Windows Platform but testing on Chrome Canary 108 using macOS 12.6, I still get same behavior as you mentioned and "emoji" does not fade. Safari 16, STP 154 and Chrome Canary 108 does not fade "emoji" while Firefox Nightly 107 does fade emoji. Just wanted to share updated input. Thanks!
Ahmad Saleem
Comment 5
2022-09-24 16:27:12 PDT
Does not have anything in UA stylesheet from standard:
https://drafts.csswg.org/css-pseudo-4/#highlight-ua-styles
but has following - UAs may apply additional effects to enhance the presentation of highlighted content, for example dimming content other than the highlighted text. Firefox has following in UA Stylesheet:
https://searchfox.org/mozilla-central/source/layout/style/res/forms.css#179
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug