[Webkit-unassigned] [Bug 14653] REGRESSION (r23994): No caret is drawn after clicking a search field's placeholder text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 19 14:47:36 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14653





------- Comment #4 from mitz at webkit.org  2007-07-19 14:47 PDT -------
The fact that this worked before r23994 is just a coincidence. In fact, if you
try to cache the "target element" at MouseEventWithHitTestResults construction
time, you also get it wrong, because the text node is still in the document at
that point. It was really the gap between when the target element was cached
and when the target node was computed -- a gap during which the text node had
been removed from the tree -- that made it work prior to r23994.

While the old behavior is easy to reconstruct, the correct fix would be for the
placeholder text never to be returned from nodeAtPoint. The fact that
placeholder text is implemented using a text node should remain private to
RenderTextControl.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list