[css-houdini-drafts] [css-typed-om]What happens when things inside a StylePropertyMap are mutated in-place?

bzbarsky has just created a new issue for https://github.com/w3c/css-houdini-drafts:

==  [css-typed-om]What happens when things inside a StylePropertyMap are mutated in-place? ==
Let's consider a specific example. Say I have:

    <body style="color: red">

and I do:

    document.body.attributeStyleMap.get("color").value = "green";

After that, what does document.body.getAttribute("style") return? What does document.body.style.color return? Why?

https://drafts.css-houdini.org/css-typed-om-1/#dom-csskeywordvalue-value says to set the internal slot and that's it.

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/720 using your GitHub account

Received on Friday, 2 March 2018 16:11:29 UTC