- From: <bugzilla@jessica.w3.org>
- Date: Thu, 15 Mar 2012 15:10:37 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16389
Summary: resolved value for top/left/bottom/right doesn't match
most browsers
Product: CSS
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: CSSOM
AssignedTo: glenn@skynav.com
ReportedBy: mike.sherov@gmail.com
QAContact: public-css-bugzilla@w3.org
I believe the CSSOM spec should be amended to include top/left/bottom/right in
the list of properties that return used value when display is not "none".
Currently, IE, FF, and Opera return the "used value" for top/left/bottom/right
when "display" is not "none". Webkit returns the "computed value".
There is an open bug for this in Webkit to do the same as the other browsers:
https://bugs.webkit.org/show_bug.cgi?id=29084 . One source of hesitation (and
rightfully so) is that the spec currently says this is the correct behavior.
There are also open bugs for this in popular JS libraries:
http://bugs.jquery.com/ticket/10639
http://yuilibrary.com/projects/yui3/ticket/2529799
Having the used value returned is a very useful operation. It's why JS libs are
asking for it and a majority of browsers are doing it this way. It'd be great
if the spec matched this reality.
Please see this thread on www-style for more information:
http://lists.w3.org/Archives/Public/www-style/2012Mar/0350.html
--
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, 15 March 2012 15:10:44 UTC