W3C home > Mailing lists > Public > www-style@w3.org > September 2013

RE: [css-shapes][css-values] getComputedStyle for Percentages used as length

From: François REMY <francois.remy.dev@outlook.com>
Date: Mon, 16 Sep 2013 22:24:23 +0200
Message-ID: <DUB120-W37B39BF0848724233DE0FEA5260@phx.gbl>
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
After some discussion with Tab, it appears that getComputedStyle does not return the used style anymore, but some intermediate concept called the resolved style:

# http://dev.w3.org/csswg/cssom/#resolved-values

However, all documentation I can find actually says it returns the final used value:

# https://developer.mozilla.org/en-US/docs/Web/API/window.getComputedStyle
# http://docs.webplatform.org/wiki/css/cssom/methods/getComputedStyle
# http://msdn.microsoft.com/en-us/library/ie/ff975168%28v=vs.85%29.aspx
# The returned object actually represents the CSS 2.1 used values, not the computed values. 

We should probably update those docs. I volunteer for doing the change, is it alright or is it premature? 		 	   		  
Received on Monday, 16 September 2013 20:24:51 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC