Skip to content

ParserError: url() function containing function #30

@vjeux

Description

@vjeux
  • Node Version: 4.3.2
  • NPM Version: 3.10.10
  • postcss-values-parser Version: 1.2.2

This issue is regarding a problem with:

  • Standard CSS
url(var(audience-network-checkbox-image)) center no-repeat
test.css: SyntaxError: ParserError: Expected opening parenthesis at line: 1, column 41 (104:54)
  102 |
  103 | .audienceNetworkFilter/checkboxSelected .audienceNetworkFilter/checkbox {
> 104 |   background: url(var(audience-network-checkbox-image)) center no-repeat;
      |                                                       ^
  105 | }

Expected Behavior

Not to error on the )

Actual Behavior

Errors

How can we reproduce the behavior?

Just parse this block of code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions