Skip to content

Cannot invoke "org.w3c.css.values.CssValue.getType()" because "val" is null. #517

Description

@boris-petrov

This code:

polygon {
  fill: rgb(var(--color-rgb, '0,0,0'), 0.3);
}

Leads to: CSS: “fill”: Cannot invoke "org.w3c.css.values.CssValue.getType()" because "val" is null..

Similarly to #516, this started happening after the changes from the last few days. Before that, again there was an error on that same line, but a different one: CSS: “fill”: “var(--color-rgb, "0,0,0")” is not a valid color 3 or 6 hexadecimals numbers.. For that one there was a bug report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions