RE: [css3-flexbox] Computed value and flex-align/flex-item-align.

± From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
± Sent: Thursday, January 26, 2012 4:36 PM
± 
± If you ask for the specified value (via the OM APIs that let you query
± el.style or examine the stylesheet directly), you'll get back 'auto'.
± If you call getComputedValue(el).flexItemAlign, though, you'll get the
± flexbox's 'flex-align' value, because it's already resolved the computed
± value.
± 
± This is standard behavior for these sorts of properties.

Interesting. You mean getComputedStyle(), the one that returns used values, right?

Is that required that it returns used value instead of 'auto' for all properties that have 'auto'?

Received on Friday, 27 January 2012 01:15:10 UTC