Bug 248526

Summary: Textarea placeholder text does not disappear when inserting text without a user gesture
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

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>