W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

[csswg-drafts] [cssom] "Mutating the declarations" is underdefined

From: smaug---- via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Aug 2016 17:33:20 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-168943269-1470159198-sysbot+gh@w3.org>
smaug---- has just created a new issue for 

== [cssom] "Mutating the declarations" is underdefined ==
Is the latter of the following a "mutating the declarations"
element.style.width = "10px"; element.style.width = "10px"; ?

The reason why this must be defined is to decide what kind of 
MutationRecords should be created when style attribute is set.

Given that element.setAttribute("style", "width: 10px;"); 
element.setAttribute("style", "width: 10px;");
creates two MutationRecords, I think for consistency also 
element.style.width = "10px"; element.style.width = "10px"; should. 
And that is the behavior in Gecko and Edge (but not in blink)

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/370 using your GitHub 
Received on Tuesday, 2 August 2016 17:33:30 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:01 UTC