RESOLVED FIXED 171795
Move 'style' from Element to HTMLElement / SVGElement and make it settable
https://bugs.webkit.org/show_bug.cgi?id=171795
Summary Move 'style' from Element to HTMLElement / SVGElement and make it settable
Chris Dumez
Reported 2017-05-07 16:44:17 PDT
Move 'style' from Element to HTMLElement / SVGElement and make it settable, as per: - https://drafts.csswg.org/cssom/#the-elementcssinlinestyle-interface Both Firefox and Chrome already follow the specification.
Attachments
WIP patch (34.37 KB, patch)
2017-05-07 17:59 PDT, Chris Dumez
no flags
WIP patch (38.04 KB, patch)
2017-05-07 18:30 PDT, Chris Dumez
no flags
Patch (46.37 KB, patch)
2017-05-07 18:42 PDT, Chris Dumez
no flags
Patch (51.48 KB, patch)
2017-05-07 19:30 PDT, Chris Dumez
no flags
Patch (51.12 KB, patch)
2017-05-07 19:32 PDT, Chris Dumez
no flags
Patch (52.71 KB, patch)
2017-05-07 21:35 PDT, Chris Dumez
no flags
Patch (54.04 KB, patch)
2017-05-08 08:48 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2017-05-07 17:59:50 PDT
Created attachment 309335 [details] WIP patch
Build Bot
Comment 2 2017-05-07 18:02:11 PDT
Attachment 309335 [details] did not pass style-queue: ERROR: Source/WebCore/inspector/InspectorCSSAgent.h:138: The parameter name "element" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 22 files If any of these errors are false positives, please file a bug against check-webkit-style.
Chris Dumez
Comment 3 2017-05-07 18:30:00 PDT
Created attachment 309336 [details] WIP patch
Chris Dumez
Comment 4 2017-05-07 18:42:47 PDT
Chris Dumez
Comment 5 2017-05-07 19:30:34 PDT
Chris Dumez
Comment 6 2017-05-07 19:32:46 PDT
Chris Dumez
Comment 7 2017-05-07 21:35:35 PDT
Alex Christensen
Comment 8 2017-05-08 04:44:40 PDT
Comment on attachment 309343 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=309343&action=review > Source/WebCore/css/StyleProperties.cpp:1335 > m_cssomWrapper = std::make_unique<PropertySetCSSStyleDeclaration>(this); *this
Chris Dumez
Comment 9 2017-05-08 08:48:09 PDT
Chris Dumez
Comment 10 2017-05-08 09:50:50 PDT
Comment on attachment 309362 [details] Patch Clearing flags on attachment: 309362 Committed r216426: <http://trac.webkit.org/changeset/216426>
Chris Dumez
Comment 11 2017-05-08 09:50:52 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.