Bug 11491
| Summary: | Input field doesn't receive selection tint if it's the last element in a selection | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Justin Garcia <justin.garcia> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap, mitz, rniwa |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
Justin Garcia
Load:
<div id="div" contenteditable="true"><input type="text"></div>
Click inside the div and select the input field. It's selected but it's not painted as though it's selected.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
mitz
ASSERTION FAILED: m_end.isNull()
(WebCore/editing/Selection.cpp:310 void WebCore::Selection::validate())
Stephanie Lewis
radar 4827125
Justin Garcia
Also fails to receive tint if it is the last thing selected.
Ahmad Saleem
I am unable to reproduce this bug - JSFiddle:
https://jsfiddle.net/sep0v3qw/
It does get selection outline and it allows typing in Safari 16 similar to Chrome Canary 109 and Firefox Nightly 108.
Is this still applicable or it is only debug build issue? Thanks!