Bug 201034 - Emoji in placeholder text does not appear faded
Summary: Emoji in placeholder text does not appear faded
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari 12
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2019-08-22 06:57 PDT by Jeffrey
Modified: 2019-08-22 14:07 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey 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).
Comment 1 Jeffrey 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.
Comment 2 Radar WebKit Bug Importer 2019-08-22 14:07:19 PDT