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

Re: [css21] What's the used value of left/right when overconstrained in relpos?

From: Glenn Adams <glenn@skynav.com>
Date: Mon, 29 Apr 2013 13:59:27 -0700
Message-ID: <CACQ=j+e=v7rQm1umH+noTfBi4PcMCupWxAju_-A0St-KVodskA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
My general position is that no style value returned via getComputedStyle()
should be 'auto' if there is a legal return value that denotes the
"resolved" or "as used" interpretation of 'auto'.


On Mon, Apr 29, 2013 at 1:48 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 4/29/13 4:46 PM, Tab Atkins Jr. wrote:
>
>> On Mon, Apr 29, 2013 at 1:42 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>>
>>> On 4/29/13 4:22 PM, Sylvain Galineau wrote:
>>>
>>>>
>>>> returning the computed value is the interop behavior in this case.
>>>>
>>>
>>> Except it's not in general: ff the specified value is "auto", browsers
>>> don't
>>> return "auto"...
>>>
>>
>> Note that "auto" is resolvable at computed-value time (unless the
>> other side is a percentage).
>>
>
> While true, that's not how those computed values are currently defined.
>  Whether they should be is a separate question, that affects not just
> getComputedStyle but also inheritance.... (Not that I expect it's common to
> do "left: inherit" outside conformance tests!)
>
> -Boris
>
>
Received on Monday, 29 April 2013 21:00:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC