Summary: | RenderContainer::positionForCoordinates contains an order of operations error | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> | ||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | hyatt, mitz | ||||||
Priority: | P2 | ||||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Adam Roben (:aroben)
2007-07-02 11:31:39 PDT
Sorry, the link to the code should have been http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/rendering/RenderContainer.cpp#L586 (In reply to comment #0) > It's easy to fix (just put parentheses around the ternary expression) That "top" goes with "xPos" and "left" goes with "yPos" looks very suspicious as well! Created attachment 15356 [details]
Test case for RenderContainer::positionForCoordinates
Created attachment 15357 [details]
patch with changelog
Comment on attachment 15357 [details]
patch with changelog
r=me
|