WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
249500
Counters are always generated content and cannot be selected
https://bugs.webkit.org/show_bug.cgi?id=249500
Summary
Counters are always generated content and cannot be selected
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
Add attachment
proposed patch, testcase, etc.
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
<
rdar://problem/103514139
>
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