RESOLVED FIXED 76326
getComputedStyle of flex-item-align:auto should resolve to it's parent's flex-align value
https://bugs.webkit.org/show_bug.cgi?id=76326
Summary getComputedStyle of flex-item-align:auto should resolve to it's parent's flex...
Ojan Vafai
Reported 2012-01-13 18:48:00 PST
Summary: getComputedStyle of flex-item-align:auto should resolve to it's parent's flex-align value
Attachments
Patch (10.46 KB, patch)
2012-02-15 11:54 PST, Ojan Vafai
tony: review+
Ojan Vafai
Comment 1 2012-02-15 11:54:19 PST
Tony Chang
Comment 2 2012-02-15 12:05:29 PST
Comment on attachment 127209 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=127209&action=review > Source/WebCore/css/CSSComputedStyleDeclaration.cpp:1587 > + if (m_node && m_node->parentNode() && m_node->parentNode()->computedStyle() && style->flexItemAlign() == AlignAuto) I would put the style->flexItemAlign() == AlignAuto check first so we don't do all the other checks for other alignments.
Ojan Vafai
Comment 3 2012-02-15 12:26:59 PST
Note You need to log in before you can comment on or make changes to this bug.