[cssom] Behaviour of DOM API when changing CSSRule

Hi all,

When you change a CSSRule via CSSOM api, e.g.
document.styleSheets[3].cssRules[0].color = 'red';

What should be the behavior of subsequently querying the textContent of the
same stylesheet element? E.g.
document.head.children[7].textContent;

Should it remain the same or return the updated version of the stylesheet?

Thanks,
Ian

[1] From: http://crbug.com/147285
[2] Example: http://jsfiddle.net/T4aCC/29/

Received on Thursday, 12 March 2015 09:37:51 UTC