Bug 136265
Summary: | RenderView::hitTest() should ASSERT(!needsLayout()) | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | simon.fraser |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Simon Fraser (smfr)
We need to ensure that layout is up-to-date when hit testing, but there are many code paths that don't do this currently. We should add ASSERT(!needsLayout()) to RenderView::needsLayout() and fix all the callers.
Also need to remove the renderer().document().updateLayout(); in RenderLayer:hitTest().
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
Done by the patch in bug 136651.
*** This bug has been marked as a duplicate of bug 136651 ***