- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Fri, 27 Jan 2012 11:20:57 +0100
- To: www-style@w3.org
On 1/27/12 2:14 AM, Alex Mogilevsky wrote: > ± 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? getComputedStyle returns used values for some properties (there's a short list of these in the spec draft), but computed values for other properties. -Boris
Received on Friday, 27 January 2012 10:21:28 UTC