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

On Mon, Sep 16, 2013 at 11:32 AM, Fran├žois REMY
<> 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:
> #"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.


Received on Monday, 16 September 2013 18:39:14 UTC