Bug 249500

Summary: Counters are always generated content and cannot be selected
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: karlcow, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Ahmad Saleem
Reported 2022-12-16 14:26:29 PST
Hi Team, Just going through Blink's commit and trying to improve contenteditable support, I came across another failing test case: https://jsfiddle.net/u7r2qw0f/ ^ Trying to select the text, you will have selection on 2,3 as well while Chrome Canary 110 & Firefox Nightly 110 does not show text selection. Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/9d8a90f8a7f49c673bcd4e369efc84c62cc18285 Webkit GitHub Source - Add this in RenderCounter.h: bool canBeSelectionLeaf() const final { return false; } _____ Just raising bug so this can be fixed. Thanks!
Attachments
EWS
Comment 1 2022-12-19 06:46:22 PST
Committed 258080@main (dbcaeff80040): <https://commits.webkit.org/258080@main> Reviewed commits have been landed. Closing PR #7784 and removing active labels.
Radar WebKit Bug Importer
Comment 2 2022-12-19 06:47:17 PST
Note You need to log in before you can comment on or make changes to this bug.