Bug 258256
| Summary: | Selection incorrectly highlights text node before inline-wrapped contenteditable=false island | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | rniwa, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
Hi Team,
Another bug from Chrome Monorail: crbug.com/534466
Test Case: data:text/html,<h1 contenteditable>W<u><span contenteditable=false>XY</span></u>Z</h1>
^ Open this in STP172 and try to drag select 'XY' and the selection rect 'blue' will also go over 'W' for no good reason.
> Double Clicking works on XY and select correctly.
> If you do from Y side to X or X side to Y selection in reverse, it select have 'selection' rect on 'W'
I think we can fix these issues, so raising this bug.
Also adding 'BrowserCompat' since both Chrome Canary 116 and Firefox Nightly 116 works as expected and don't have issue.
Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/111272444>