Bug 249500
Summary: | Counters are always generated content and cannot be selected | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | HTML Editing | Assignee: | 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
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
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
<rdar://problem/103514139>