Closed Bug 1294984 Opened 8 years ago Closed 8 years ago

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

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jaws, Unassigned)

Details

Attachments

(1 file)

Attached file 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
Closed: 8 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.

Attachment

General

Created:
Updated:
Size: