- From: Romain Menke via GitHub <noreply@w3.org>
- Date: Sun, 25 Jan 2026 16:56:16 +0000
- To: public-css-archive@w3.org
> No. Privy itself doesn't use layers
You could import their styles in a layer (e.g. `@import layer(privy)`), that is why I ask.
----
So the issue is more that your reset sets a bunch of property values and that privy has subtle dependencies on default values.
For example the default value for `position` is `static` and maybe that is what privy expects.
But your reset sets everything to `position: relative;`
Correct?
-----
Isn't this a good use case for `@scope`?
Your resets could have end scopes that align with your 3rd party dependencies.
```css
@scope (html) to (#privy-dialog) {
* {
position: relative;
min-width: 0;
min-height: 0;
}
}
```
--
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13213#issuecomment-3796949571 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 25 January 2026 16:56:17 UTC