[Webkit-unassigned] [Bug 23946] New: Webkit does not enumerate over CSS properties in HTMLElement.style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 13 00:31:48 PST 2009


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

           Summary: Webkit does not enumerate over CSS properties in
                    HTMLElement.style
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leaverou at fresset.gr


I was surprised that I couldn't find this bug already reported. Anyway, here
goes:
Webkit based browsers (like Apple Safari and Google Chrome) do not list the
supported CSS properties when enumerating over the style object of an element.
They don't even list the CSS properties that have been set.
However, the condition (property in element.style) returns true if the property
is supported.
I guess for some reason the CSS properties have the dontEnum flag?

In all non-webkit browsers the test case works as expected.


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



More information about the webkit-unassigned mailing list