@import layer and @import supports #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "import-layer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds support for https://drafts.csswg.org/css-cascade-5/#layer-declaration
Attached patch does this in a way that doesn't break use of
layeras an identifier throughout the grammar. It doesn't addsupportsyet, since that still seems to introduce its own whole mini-language, and I'm not sure how stable it is.Sweet!
Wanted to avoid adding a new kind of identifier, but this actually works perfect with the spec!
https://drafts.csswg.org/mediaqueries-4/#typedef-media-type
I don't care for supports much, but I was looking at implementing
<general-enclosed>as it could be used in catch alls in other situations as well, would you be interested in that?(Specifically, implementing
<any-value>)You mean just parse any tokens and matched brackets for
supports? I guess that would be a clean way to handle that. Can you open a new PR when you get around to this?Pull request closed