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

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

From: François REMY <francois.remy.dev@outlook.com>
Date: Mon, 16 Sep 2013 20:32:47 +0200
Message-ID: <DUB120-W154C20A1BC4CAB814A7A7CA5260@phx.gbl>
To: "www-style@w3.org" <www-style@w3.org>
Before taking any further action against this, I would like to have your opinion on what should be the output value of the following code:

#  element.style.shapeInside="polygon(0% 0%, 100% 0%, 100% 100%)";
#  getComputedStyle(element).shapeInside;

Currently Blink/Webkit seem to return the lengths as percentages, but I believe it should be pixels. Am I right in my assumption?

Francois 		 	   		  
Received on Monday, 16 September 2013 18:33:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC