Bug 72958

Summary: CSSStyleDeclaration: Kill FIXME in setProperty().
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: macpherson, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Andreas Kling
Reported 2011-11-22 07:28:49 PST
The current behavior of setProperty() to not throw exceptions for invalid property names is correct as specified by CSSOM ( http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-setproperty ), so we can remove the FIXME about throwing an exception for that case.
Attachments
Patch (1.61 KB, patch)
2011-11-22 07:32 PST, Andreas Kling
no flags
Andreas Kling
Comment 1 2011-11-22 07:32:22 PST
Antonio Gomes
Comment 2 2011-11-22 07:50:22 PST
Comment on attachment 116225 [details] Patch If you really want you could even add a test to be sure we do not throw an exception when we set a invalid property :-)
WebKit Review Bot
Comment 3 2011-11-22 09:40:10 PST
Comment on attachment 116225 [details] Patch Clearing flags on attachment: 116225 Committed r101007: <http://trac.webkit.org/changeset/101007>
WebKit Review Bot
Comment 4 2011-11-22 09:40:14 PST
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.