Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[cssom] Add test for synchronization between css declaration block and style attribute #9376
Currently, Firefox fails one test that it generates mutation record even when removing non-existing property from the CSS declaration block. We are going to fix this in Gecko bug 1435139.
WebKit and Blink both fail a test that they don't generate mutation record when setting the same value to CSS declaration block. Based on my reasoning in w3c/csswg-drafts#2269 (comment), I tend to keep the proposed behavior as-is, and ask those browsers to change their behavior here.
WebKit fails another test in addition that it doesn't clear the declaration block when the style attribute is removed. This is definitely a bug for them should be fixed.
I haven't tested Edge because I'm not using my Windows laptop at the moment.