WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
147549
Returns inconsistent types for el.style.property and el.style.getPropertyValue('color')
https://bugs.webkit.org/show_bug.cgi?id=147549
Summary
Returns inconsistent types for el.style.property and el.style.getPropertyValu...
Greg Whitworth
Reported
2015-08-02 18:26:33 PDT
Repro Url:
http://jsbin.com/cacowijile/1/edit?html,css,js,console,output
What is the expected behavior? A string is returned for each API that is called What went wrong? A string is being returned for one API, an object for the other FF: No Repro MS Edge/IE: No Repro
Attachments
Patch
(207.17 KB, patch)
2015-08-03 20:55 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Benjamin Poulain
Comment 1
2015-08-02 21:22:38 PDT
Thanks Greg. I'll take that one. Spec:
https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-getpropertyvalue
Bug:
http://trac.webkit.org/browser/trunk/Source/WebCore/css/CSSStyleDeclaration.idl#L33
Benjamin Poulain
Comment 2
2015-08-03 20:55:31 PDT
Created
attachment 258151
[details]
Patch
Andreas Kling
Comment 3
2015-08-03 21:03:43 PDT
Comment on
attachment 258151
[details]
Patch r=me Nice spec fix :)
Benjamin Poulain
Comment 4
2015-08-03 22:14:52 PDT
Comment on
attachment 258151
[details]
Patch Clearing flags on attachment: 258151 Committed
r187813
: <
http://trac.webkit.org/changeset/187813
>
Benjamin Poulain
Comment 5
2015-08-03 22:14:58 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.
Top of Page
Format For Printing
XML
Clone This Bug