[csswg-drafts] Pull Request: [cssom-1, css-cascade-5] Add adoptedStyleSheets using ObservableArray

mfreed7 has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [cssom-1, css-cascade-5] Add adoptedStyleSheets using ObservableArray ==
[cssom-1, css-cascade-5] Add adoptedStyleSheets using [ObservableArray](https://heycam.github.io/webidl/#idl-observable-array).

Some things I need input on:
 1. See [this discussion](https://github.com/WICG/construct-stylesheets/issues/118). I added a single list item to the Cascade-5 text to reference the new "final CSS style sheets" concept I added in CSSOM-1. We might (?) want to instead change the `styleSheets` property to explicitly exclude the contents of adoptedStyleSheets, and fold "final CSS style sheets" back into "document or shadow root CSS style sheets".
 2.  I can't seem to get the "link magic" working between cssom-1 and css-cascade-5. I tried various permutations of `<a for=foobar>concept name</a>` but nothing seemed to please bikeshed. So I resorted to `<a href=>`. Help appreciated.

Credit to @domenic for a [draft of this PR](https://github.com/WICG/construct-stylesheets/pull/117).

@emilio

Closes https://github.com/WICG/construct-stylesheets/issues/118, Closes https://github.com/WICG/construct-stylesheets/issues/93

See https://github.com/w3c/csswg-drafts/pull/6431


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 7 July 2021 23:50:14 UTC