[Webkit-unassigned] [Bug 105836] New: getComputedStyle returns "left" instead of "none" for "float" on abspos elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 28 11:10:08 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105836

           Summary: getComputedStyle returns "left" instead of "none" for
                    "float" on abspos elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://jsfiddle.net/ChPCD/7/
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mike.sherov at gmail.com


http://www.w3.org/TR/css3-positioning/ Section 8:
> if ‘position’ has the value absolute, page or fixed, and the value of float is left or right, the box is absolutely positioned and the computed value of float is none.

Webkit incorrectly returns "left". This has surfaced as a jQuery bug: http://bugs.jquery.com/ticket/13126#comment:1

Here's a jsfiddle demonstrating the problem: http://jsfiddle.net/ChPCD/7/ Note the output says "left" for "absolute" instead of "none". 

The same test case returns correct values in FF15, Opera 12, and IE9+

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list