- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 16 Sep 2013 11:38:27 -0700
- To: François REMY <francois.remy.dev@outlook.com>
- Cc: "www-style@w3.org" <www-style@w3.org>
On Mon, Sep 16, 2013 at 11:32 AM, François REMY <francois.remy.dev@outlook.com> wrote: > 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? Why would it be pixels? Those percentages have to be resolved against the laid-out size, so that means they can't be converted until used-value time. ~TJ
Received on Monday, 16 September 2013 18:39:14 UTC