W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

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

From: Mason Freed via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Jul 2021 23:48:17 +0000
To: public-css-archive@w3.org
Message-ID: <pull_request.opened-685581405-1625701695-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:39 UTC