Re: [csswg-drafts] [cssom] We may not want .setProperty() to change the order if it's setting an identical value to an existing declaration

Not really related but just to show that we need to change that serialize spec anyway:
https://jsfiddle.net/au00bj23/

I tried to run the steps defined in cssom in my head three times already, I still don't understand how browsers arrive at the result they currently arrive in.
https://www.w3.org/TR/cssom-1/#serialize-a-css-declaration-block

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2667#issuecomment-388254027 using your GitHub account

Received on Friday, 11 May 2018 04:07:26 UTC