W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > July 2012

[Bug 16389] resolved value for top/left/bottom/right doesn't match most browsers

From: <bugzilla@jessica.w3.org>
Date: Thu, 12 Jul 2012 03:39:55 +0000
Message-Id: <E1SpAFv-0005wf-I5@jessica.w3.org>
To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16389

--- Comment #1 from Mike Sherov <mike.sherov@gmail.com> 2012-07-12 03:39:55 UTC ---
We began having a discussion on the webkit bug tracker about whether or not
"auto" is considered a used value or not, which is important for the definition
of "resolved value" and important for helping webkit match the intent of the
W3C here: https://bugs.webkit.org/show_bug.cgi?id=29084

> Opera 11.6: Passes all tests as written
> FF13: Converts "auto" to pixels so fails when expecting "auto".
> IE9/IE10: incorrectly accounts for padding so fails on the padding tests.
> Webkit: doesn't convert to pixels so fails when expecting pixels.
> 
> Now, if we really wanted to go all the way with this, I personally believe that the FF behavior is most useful, and most accurately fits the idea of returning used value (that is, converting "auto" to actual pixels, even if not specified"). 
> 
> However, to achieve the most consistency is to expect "auto", as you have written here.

Yeah, I'm not sure what the correct "expected" behavior is. Intuitively FF or
Opera seem to do well but given that IE and Opera both return "auto" for
unspecified values, returning "auto" here seems like a good idea.

We need some tests for vertical writing mode and RTL pages.

> According to http://www.w3.org/TR/CSS2/cascade.html#used-value, " The used value is the result of taking the computed value and resolving any remaining dependencies into an absolute value." and then subsequently "A used value is in principle the value used for rendering,"
> 
> Is "auto" an absolute value or the value used for rendering? I don't personally believe so.
> Is "auto" a useful value to return? I personally don't believe so.
> Is "auto" consistent with MOST of the other browsers? yes.
> 
> What I really care about here is that the percentage stuff gets fixed. Perhaps we can save any decision about "auto" for another ticket?

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 12 July 2012 03:39:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 12 July 2012 03:39:57 GMT