Bug 11491 - Input field doesn't receive selection tint if it's the last element in a selection
Summary: Input field doesn't receive selection tint if it's the last element in a sele...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2006-11-01 20:16 PST by Justin Garcia
Modified: 2022-10-24 14:01 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!