- From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Mar 2018 16:29:15 +0000
- To: public-houdini-archive@w3.org
bzbarsky has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-typed-om] How does Typed OM interact with existing setters on CSSStyleDeclaration? == Say I have this HTML: <body style="color: red"> and I do: var x = document.body.attributeStyleMap; var y = x.get("color"); document.body.style.color = "green" After this, what does the following return: y === document.body.attributeStyleMap.get("color") Presumably it's false? But then what happens if instead I start with the same HTML and do: var x = document.body.attributeStyleMap; var y = x.get("color"); var z = new CSSKeywordValue("green"); x.set("color", z); after this, modulo <https://github.com/w3c/css-houdini-drafts/issues/719>, is the thing in the map `z` or something else? Presumably `z`, but to resolve https://github.com/w3c/css-houdini-drafts/issues/719 you need to update the underlying stuff like `document.body.style.color = "green"` ... except without changing the `StylePropertyMap` or something. Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/723 using your GitHub account
Received on Friday, 2 March 2018 16:29:20 UTC