CSS var() macro with multiple arguments does not produce a syntax error

RESOLVED INVALID

Status

()

RESOLVED INVALID
2 years ago
2 years ago

People

(Reporter: jaws, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 8780852 [details]
cssvar.html

See the attached test case.

There should be an error in the console about the second argument to the var() macro being ignored.
This was found in mozilla-central and filed as bug 1294983.
That's because it's not a syntax error, it's part of the spec: https://drafts.csswg.org/css-variables/#using-variables
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
Thanks for the link to the spec. I learned something new.
You need to log in before you can comment on or make changes to this bug.