Open mgol opened 2 years ago
Should be fixed in https://github.com/web-platform-tests/wpt/pull/37239.
Actually never mind, I fixed the ones in css/css-typed-om but based on the original report, there are similar issues in other folders (which I haven't addressed).
There was a spec change a few years ago requiring spaces around CSS declaration's value to be trimmed: https://github.com/w3c/csswg-drafts/pull/1986. The discussion leading to this spec change: https://github.com/w3c/csswg-drafts/issues/774.
The PR is marked as tested but the CSS Variable tests at https://github.com/web-platform-tests/wpt/blob/246b1bbb31f5cfa50dcd9cf0e91a14b32d9faf4e/css/css-variables/variable-definition.html don't seem to account for that. For example, the
trailing white space (single space)
test requires the following input:"--var:value "
to result in the value"value "
- note the trailing space.