Bug 248526 - Textarea placeholder text does not disappear when inserting text without a user gesture
Summary: Textarea placeholder text does not disappear when inserting text without a us...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-30 04:34 PST by Ahmad Saleem
Modified: 2022-11-30 18:12 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-11-30 04:34:48 PST
Hi Team,

While going through Blink's commit, I came across another failing test case in Safari:

Failing Test Case - https://jsfiddle.net/gq6985jm/

^ Safari show "placeholder" while Chrome Canary 110 and Firefox Nightly 109 show "Text"

Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=195023

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/5e81d33ff5c0150dbabbebbe2e96fb08ff4d6ad3/Source/WebCore/html/HTMLTextAreaElement.cpp#L293

Just wanted to raise this bug so can fix it.

Thanks!
Comment 1 EWS 2022-11-30 18:11:50 PST
Committed 257210@main (ffe47a6f01dd): <https://commits.webkit.org/257210@main>

Reviewed commits have been landed. Closing PR #6966 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2022-11-30 18:12:20 PST
<rdar://problem/102839052>