[Webkit-unassigned] [Bug 80736] New: CSSStyleDeclaration.getPropertyValue() for 'border-radius' returns null when value is set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 9 15:09:45 PST 2012


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

           Summary: CSSStyleDeclaration.getPropertyValue() for
                    'border-radius' returns null when value is set
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: epiceric24 at gmail.com


There is an inconsistency with how the CSSStyleDeclaration reports the values of shorthand css properties. Also seen in Chrome.

Notably, the querying the value for 'border-radius' like so returns null:

// (Assume 'rule' is a CSSStyleRule object which has a the border-radius set)
rule.style.getPropertyValue('border-radius')

Other shorthand properties such as 'border' or 'background' will return their value.

Thanks!

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