Bug 147549

Summary: Returns inconsistent types for el.style.property and el.style.getPropertyValue('color')
Product: WebKit Reporter: Greg Whitworth <gwhit>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.10   
URL: http://jsbin.com/cacowijile/1/edit?html,css,js,console,output
Attachments:
Description Flags
Patch none

Description Greg Whitworth 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
Comment 2 Benjamin Poulain 2015-08-03 20:55:31 PDT
Created attachment 258151 [details]
Patch
Comment 3 Andreas Kling 2015-08-03 21:03:43 PDT
Comment on attachment 258151 [details]
Patch

r=me
Nice spec fix :)
Comment 4 Benjamin Poulain 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>
Comment 5 Benjamin Poulain 2015-08-03 22:14:58 PDT
All reviewed patches have been landed.  Closing bug.