@-moz-document url-prefix() {} not parsed correctly #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
I stumbled across this using picoCSS which has the following rule in it:
@-moz-doucment url-prefix()is apparently used as a workaround to apply styles only to firefox.If i add something within the parenthesis it is parsed correctly again, so i guess it just needs a
| ""in the grammar file to allow an empty function there? I am unfortunately to unfamiliar with .grammar files to be confident enough to create a PR.Thanks to anyone who can look at this. :)
Given how many of them there are, I'm not currently supporting unstable or prefixed features unless they are widely used.
This fails to parse in a bunch of ways beyond just the missing
url-prefixargument, but with attached patch the highlighting seems to mostly work.