Files
firefox/testing/web-platform/tests/css/css-env
Emilio Cobos Álvarez dded0c22d4 Bug 1526448 [wpt PR 15162] - Don't skip invalid functions when looking for var references., a=testonly
Automatic update from web-platform-tests
Don't skip invalid functions when looking for var references.

This matches the spec, WebKit and Firefox.

From https://drafts.csswg.org/css-variables/#using-variables:

> If a property contains one or more var() functions, and those functions are
> syntactically valid, the entire property’s grammar must be assumed to be
> valid at parse time. It is only syntax-checked at computed-value time, after
> var() functions have been substituted.

Bug: 921152
Change-Id: Ie46268ffae4e01f457f379c674e0cf1a7ccea354
Reviewed-on: https://chromium-review.googlesource.com/c/1446653
Commit-Queue: Rune Lillesveen <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Reviewed-by: Eric Willigers <[email protected]>
Cr-Commit-Position: refs/heads/master@{#628023}

--

wpt-commits: 53de730057f1abca14d8bf9f25077148cd3163c3
wpt-pr: 15162
2019-02-14 11:38:37 +00:00
..