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 EditingAssignee: 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   

Description Justin Garcia 2006-11-01 20:16:54 PST
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.
Comment 1 mitz 2006-11-02 01:05:24 PST
ASSERTION FAILED: m_end.isNull()
(WebCore/editing/Selection.cpp:310 void WebCore::Selection::validate())
Comment 2 Stephanie Lewis 2006-11-08 16:06:22 PST
radar 4827125
Comment 3 Justin Garcia 2007-03-07 00:32:41 PST
Also fails to receive tint if it is the last thing selected.
Comment 4 Ahmad Saleem 2022-10-23 14:05:57 PDT
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!