RESOLVED FIXED 13658
getPropertyValue on CSSComputedStyleDeclaration should return shorthand values
https://bugs.webkit.org/show_bug.cgi?id=13658
Summary getPropertyValue on CSSComputedStyleDeclaration should return shorthand values
Timothy Hatcher
Reported 2007-05-10 09:44:06 PDT
I have a change to the Web Inspector that smartly groups computed style properties under their short hand name. Except I rely on the engine's CSSComputedStyleDeclaration to give me a value if I pass it a shorthand name. Similar to how CSSMutableStyleDeclaration will generate a shorthand value if you pass in a shorthand property name. However, shorthands should not be in the enumerable property list (just like CSSMutableStyleDeclaration). See attached test case.
Attachments
Test case (443 bytes, text/html)
2007-05-10 09:45 PDT, Timothy Hatcher
no flags
Timothy Hatcher
Comment 1 2007-05-10 09:45:39 PDT
Created attachment 14472 [details] Test case Note, Firefox doesn't support this either. However, I don't think it would cause compatibility problems adding it to WebKit.
Mark Rowe (bdash)
Comment 2 2007-08-26 22:22:45 PDT
*** Bug 7703 has been marked as a duplicate of this bug. ***
Alexis Menard (darktears)
Comment 3 2012-01-10 08:46:09 PST
It's safe to close it. I guess all common shorthand values are correctly return now.
Note You need to log in before you can comment on or make changes to this bug.