This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29083 - Changing element.style is too handwavy
Summary: Changing element.style is too handwavy
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-25 07:11 UTC by Simon Pieters
Modified: 2015-08-25 07:11 UTC (History)
0 users

See Also:


Attachments

Description Simon Pieters 2015-08-25 07:11:44 UTC
https://drafts.csswg.org/cssom/#the-elementcssinlinestyle-interface

[[
Mutating the declarations must set the style content attribute on the context object to the serialization of the declarations. If the style content attribute is set, changed or removed, the declarations must be updated as appropriate.
]]

# [15:16] <annevk> smaug____: "Mutating the declarations must set the style content attribute on the context object to the serialization of the declarations. If the style content attribute is set, changed or removed, the declarations must be updated as appropriate."
# [15:16] <annevk> smaug____: bit too hand-wavy for my taste, but it is there
# [15:17] <smaug____> indeed
# [15:18] <smaug____> the case I'm wondering is .style.foo = "some invalid value"