[css-syntax] Trim whitespace from the beginning/ending of a declarati…#1986
Conversation
…on's value. Fixes #774.
| Create a new declaration | ||
| with its name set to the value of the <a>current input token</a> | ||
| and its value initially set to the empty list. | ||
| and its value initially set to the empty [=list=]. |
|
Is there any reason why this hasn't been merged yet? It seems there is a testcase ready to be merged in WPT (with rebasing) at tabatkins/wpt@1e27529, and other WPT testcases can be adjusted at the same time as well. |
|
I never merged it because I never successfully got wpt running so that I could run and lint the test. ^_^ But if it's fine, I'm happy to merge. |
|
Travis helpfully runs & lints tests for PRs to WPT, so you should be able to check by rebasing and opening a pull request. I was just mentioning this as I was going through some of the Variables tests, which are partially incorrect per the current spec (or partially correct), but would be affected by this spec change. |
|
Ooh, didn't know. Will do so now. |
Automatic update from web-platform-testsMerge pull request #10539 from tabatkins/css-syntax-whitespace Test for w3c/csswg-drafts#1986 -- wpt-commits: cc364d6f98b111e488aa1d88064af21566ec4184 wpt-pr: 10539
|
Either I'm reading it incorrectly or CSS Custom Property tests haven't been updated to account for this change; I submitted web-platform-tests/wpt#34880. |
There was a spec change a few years ago requiring spaces around CSS declaration's value to be trimmed: w3c/csswg-drafts#1986. The discussion leading to this spec change: w3c/csswg-drafts#774. This closes issue web-platform-tests#34880.
There was a spec change a few years ago requiring spaces around CSS declaration's value to be trimmed: w3c/csswg-drafts#1986. The discussion leading to this spec change: w3c/csswg-drafts#774. This closes issue #34880.
…ing values, a=testonly Automatic update from web-platform-tests CSS variables tests should require trimming values (#37239) There was a spec change a few years ago requiring spaces around CSS declaration's value to be trimmed: w3c/csswg-drafts#1986. The discussion leading to this spec change: w3c/csswg-drafts#774. This closes issue #34880. -- wpt-commits: c96c37fa465273e3e87bdaa79b157884417129b7 wpt-pr: 37239
…ing values, a=testonly Automatic update from web-platform-tests CSS variables tests should require trimming values (#37239) There was a spec change a few years ago requiring spaces around CSS declaration's value to be trimmed: w3c/csswg-drafts#1986. The discussion leading to this spec change: w3c/csswg-drafts#774. This closes issue #34880. -- wpt-commits: c96c37fa465273e3e87bdaa79b157884417129b7 wpt-pr: 37239
Automatic update from web-platform-testsMerge pull request #10539 from tabatkins/css-syntax-whitespace Test for w3c/csswg-drafts#1986 -- wpt-commits: cc364d6f98b111e488aa1d88064af21566ec4184 wpt-pr: 10539
…ing values, a=testonly Automatic update from web-platform-tests CSS variables tests should require trimming values (#37239) There was a spec change a few years ago requiring spaces around CSS declaration's value to be trimmed: w3c/csswg-drafts#1986. The discussion leading to this spec change: w3c/csswg-drafts#774. This closes issue #34880. -- wpt-commits: c96c37fa465273e3e87bdaa79b157884417129b7 wpt-pr: 37239
…on's value. Fixes #774.
Needs a testcase before merging.