Summary: | refactor flexbox in preparation for flex-line-pack | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tony Chang <tony> | ||||||
Component: | New Bugs | Assignee: | Tony Chang <tony> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | mitz, ojan, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Tony Chang
2012-03-21 16:36:58 PDT
Created attachment 133142 [details]
Patch
Let me know if this is too big. I can split it into two patches. Comment on attachment 133142 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=133142&action=review > Source/WebCore/rendering/RenderFlexibleBox.cpp:1009 > + if (flexAlignForChild(child) == AlignBaseline && minMarginAfterBaseline) Nit: I'd move the minMarginAfterBaseline check to the outer for-loop and early-continue: if (!minMarginAfterBaseline) continue; Created attachment 133144 [details]
Patch for landing
Comment on attachment 133144 [details] Patch for landing Clearing flags on attachment: 133144 Committed r111635: <http://trac.webkit.org/changeset/111635> All reviewed patches have been landed. Closing bug. (In reply to comment #5) > (From update of attachment 133144 [details]) > Clearing flags on attachment: 133144 > > Committed r111635: <http://trac.webkit.org/changeset/111635> This caused bug 81870. Reverted r111635 in <http://trac.webkit.org/r111652>. Committed r111720: <http://trac.webkit.org/changeset/111720> |