RESOLVED FIXED 80736
CSSStyleDeclaration.getPropertyValue() for 'border-radius' returns null when value is set
https://bugs.webkit.org/show_bug.cgi?id=80736
Summary CSSStyleDeclaration.getPropertyValue() for 'border-radius' returns null when ...
Eric Guzman
Reported 2012-03-09 15:09:45 PST
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!
Attachments
Demo page of bug (1.74 KB, text/html)
2012-04-10 11:39 PDT, Eric Guzman
no flags
ProposedPatch (4.21 KB, patch)
2012-04-13 16:51 PDT, Joe Thomas
no flags
Reduced test case (310 bytes, text/html)
2012-04-13 16:58 PDT, Joe Thomas
no flags
Eric Guzman
Comment 1 2012-04-10 11:39:43 PDT
Created attachment 136496 [details] Demo page of bug
Joe Thomas
Comment 2 2012-04-13 16:51:33 PDT
Created attachment 137180 [details] ProposedPatch
Joe Thomas
Comment 3 2012-04-13 16:58:04 PDT
Created attachment 137181 [details] Reduced test case
WebKit Review Bot
Comment 4 2012-04-14 14:05:18 PDT
Comment on attachment 137180 [details] ProposedPatch Clearing flags on attachment: 137180 Committed r114207: <http://trac.webkit.org/changeset/114207>
WebKit Review Bot
Comment 5 2012-04-14 14:05:23 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.