Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-cascade-5] Define preshint as its own cascade layer, below all other author layers #5856

Closed
fantasai opened this issue Jan 11, 2021 · 2 comments

Comments

@fantasai
Copy link
Collaborator

We're effectively doing this already via a specificity hack, but now that we have layers we can define it as its own layer and not worry about specificity.

@fantasai
Copy link
Collaborator Author

Fwiw, this would also solve #5836 when the layer-specific revert is used in the author’s base layer.

@frivoal
Copy link
Collaborator

frivoal commented Jan 18, 2021

In case anybody else is like me and needs to do a bit of digging to figure out what "preshint" is, it's referring to what's discussed there: https://html.spec.whatwg.org/#the-css-user-agent-style-sheet-and-presentational-hints

And yes, I think this is a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants