W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-scoping] scoped attribute on style element removed from HTML (#137)

From: Christian via GitHub <sysbot+gh@w3.org>
Date: Wed, 09 Sep 2020 21:19:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-689828020-1599686395-sysbot+gh@w3.org>
My only goal is to export a `<style>` tag that I can guarantee will not conflict with global styles in the wild, and it is admittedly frustrating that this was in the spec for years and got removed.

I guess it is possible to accomplish this with flat HTML, with large amounts of data redundancy; namely, generating a sufficiently long hash to put in the root element's `id` field, and prefixing all styles with `#id [your-style-here]`.

GitHub Notification of comment by ctjlewis
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/137#issuecomment-689828020 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 9 September 2020 21:19:57 UTC

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