[Webkit-unassigned] [Bug 24313] New: hitTest() on a single line input only works through happenstance.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 2 20:09:20 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24313
Summary: hitTest() on a single line input only works through
happenstance.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: simon.fraser at apple.com
Hit testing on a RenderTextControlSingleLine seems to work only because of a
side-effect of HitTestResult behavior.
What I see happening is this.
RenderLayer::hitTest calls hitTest() on the renderer, which goes into
RenderTextControlSingleLine::nodeAtPoint(). This ends up setting the
TextControlInnerTextElement as the innerNode() on the result. However,
RenderTextControlSingleLine::nodeAtPoint() then returns false!
So we continue to hit test all the way up to the body. The body's layer ends up
being the one hit, but we use the node in the result anyway.
This is hurting my karma. See bug 24312.
--
Configure bugmail: https://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