construct-stylesheets
construct-stylesheets copied to clipboard
Use observable array for adoptedStyleSheets
This is intended to illustrate https://github.com/heycam/webidl/pull/840. It is not ready to merge for various reasons.
I think this turned out OK. Handling of "document or shadow root CSS style sheets" is a bit vague, both before this change, after this change, and in the base CSSOM spec. When merging into CSSOM, we may want to rewrite all handling thereof to be 100% precise, but for now this seems relatively unambiguous.