[Webkit-unassigned] [Bug 67157] New: getComputedStyle returns incorrect styles with nonstandard pseudo-elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 29 15:18:55 PDT 2011


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

           Summary: getComputedStyle returns incorrect styles with
                    nonstandard pseudo-elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: marc.hoyois at gmail.com


Created an attachment (id=105529)
 --> (https://bugs.webkit.org/attachment.cgi?id=105529&action=review)
HTML file demonstrating the bug

Overview:

getComputedStyle(element, pseudoElt) returns incorrect styles for many (all?) -webkit-prefixed pseudo-elements.
For some it returns the styles of element, and for others it returns completely empty styles.

Steps to reproduce:
Open attached HTML file (check the console for the full styles).

Actual result:
The width of the play button is reported as '300px', the width of the spin button as ''.

Expected results:
The actual width of the play button is '16px', the width of the spin button is '13px'.

Build Date & Platform:
Tested in Safari 5.1 and r93978

Note: I prefixed '::' to the pseudoElt string, which I think is the correct way to do it, but the results are the same with ':' and no prefix at all.

-- 
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