Automatic update from web-platform-tests
Serialization of consecutive tokens. (#17746)
* Serialization of consecutive tokens.
Per <https://drafts.csswg.org/css-syntax/#serialization>, many token pairs, if they find themselves consecutive in a value, must be serialized with a comment between them, because otherwise upon serialization+reparse they'll produce a different token stream.
--
wpt-commits: dacb51937397fd06727727614e255f223e7cb9f3
wpt-pr: 17746
Automatic update from web-platform-tests
Remove inactive reviewers (#14798)
This removes reviewers who have had more than three review requests in
the past year but who haven't reviewed anything.
Adds a few extra reviewers based on discussions in the PR thread
looking for reviewers for directories that otherwise would've ended up
with none.
--
wpt-commits: a5f707c18b3d893a6e332994064911c2f11e800d
wpt-pr: 14798
Automatic update from web-platform-tests
CDC versus Ident Token
Tests <https://github.com/w3c/csswg-drafts/issues/3623>.
If the CDC-vs-ident check is performed in the wrong order, you will attempt to parse the CDC as an ident instead, emitting a `--` ident token, and then a `>` delim token.
Thus, if this test is parsed incorrectly, it'll instead think the selector is `-- > --foo`, a valid selector with two tagname selectors separated by a child combinator.
--
lint: remove trailing whitespace
--
Merge pull request #15421 from web-platform-tests/tabatkins-patch-2
CDC versus Ident Token
--
wpt-commits: c79dbe6d777590620087aadbceb07668d3f2fd89, bf1be2ec37487a34adb4ac2ca75b7a061d27b8fe, 542f927a85e239ae514db33e73d4421f86b267ae
wpt-pr: 15421
Automatic update from web-platform-tests
Unclosed URL At EOF
Verifies that a url() (specifically, one that parses to a `<url-token>`) that's unclosed at EOF is still valid.
Also tests "empty" url(), because that was brought up as another source of divergence in the same issue. There's some disagreement on whether that's valid at all and how to represent it, so rather than take a stand, I just assert that it should parse the same as the closed version, whatever that is.
Tests <https://github.com/w3c/csswg-drafts/issues/3598>
--
Merge pull request #15369 from web-platform-tests/tabatkins-patch-1
Unclosed URL At EOF
--
wpt-commits: b4f35dc6027f5e8776ac9c20f85031e0f1437233, 8dbed22314172d637582b63fc96e946e2e0dfff4
wpt-pr: 15369
Automatic update from web-platform-tests
CDC versus Ident Token
Tests <https://github.com/w3c/csswg-drafts/issues/3623>.
If the CDC-vs-ident check is performed in the wrong order, you will attempt to parse the CDC as an ident instead, emitting a `--` ident token, and then a `>` delim token.
Thus, if this test is parsed incorrectly, it'll instead think the selector is `-- > --foo`, a valid selector with two tagname selectors separated by a child combinator.
--
lint: remove trailing whitespace
--
Merge pull request #15421 from web-platform-tests/tabatkins-patch-2
CDC versus Ident Token
--
wpt-commits: c79dbe6d777590620087aadbceb07668d3f2fd89, bf1be2ec37487a34adb4ac2ca75b7a061d27b8fe, 542f927a85e239ae514db33e73d4421f86b267ae
wpt-pr: 15421
Automatic update from web-platform-tests
Unclosed URL At EOF
Verifies that a url() (specifically, one that parses to a `<url-token>`) that's unclosed at EOF is still valid.
Also tests "empty" url(), because that was brought up as another source of divergence in the same issue. There's some disagreement on whether that's valid at all and how to represent it, so rather than take a stand, I just assert that it should parse the same as the closed version, whatever that is.
Tests <https://github.com/w3c/csswg-drafts/issues/3598>
--
Merge pull request #15369 from web-platform-tests/tabatkins-patch-1
Unclosed URL At EOF
--
wpt-commits: b4f35dc6027f5e8776ac9c20f85031e0f1437233, 8dbed22314172d637582b63fc96e946e2e0dfff4
wpt-pr: 15369
Automatic update from web-platform-tests
decimal points in numbers
Tests that decimal points are allowed *before* digits (like `.1`) and *between* digits (like `0.1`), but not *after* digits (like `1.`).
Tests <https://github.com/w3c/csswg-drafts/issues/3599>
--
fix whitespace for lint
--
Name all tests uniquely
--
Merge pull request #15337 from web-platform-tests/tabatkins-patch-2
decimal points in numbers
--
wpt-commits: 5fdd036dbd18fa6d2e7cf235bd9acc625a6df22e, f17e215eaa37316f1489a7b62ab103d2a58a0d89, 31e1a1bb5fadb08749e4b8070ad0f19ec5ea1088, e2eb25aaa6dd3c512b172588f3400f9c25a410c3
wpt-pr: 15337
Automatic update from web-platform-tests
url whitespace consumption
Ensure that whitespace before or after the string in a url() results in a correct parse.
Tests https://github.com/w3c/csswg-drafts/issues/3600
--
Merge pull request #15339 from web-platform-tests/tabatkins-patch-3
url whitespace consumption
--
wpt-commits: e0b3c4cf2f69e816c6b83432968dc7fc83d700f6, 0de6fa5638c7e314a0391fae7f6bf496309fb65d
wpt-pr: 15339
Automatic update from web-platform-tests
Use gPV/sP, as that's slightly more well-supported
Requested by @emilio in <https://github.com/w3c/csswg-drafts/issues/3588#issuecomment-460019494>
--
Merge pull request #15286 from web-platform-tests/tabatkins-patch-1
Use gPV/sP, as that's slightly more well-supported
--
wpt-commits: f912ea28e7a5451f51d38d62cd0aee489618e4cb, ead8f8b00d0b68237109f3c93d0ccae076a34f98
wpt-pr: 15286
Automatic update from web-platform-tests
Urange Parsing
Fairly exhaustively test <urange> parsing, and make sure UAs aren't cheating with specialized tokens.
--
Stabilize the starting value on "valid" tests
Make sure that tests for should-be-valid syntax start from a stable value as well, so they don't depend on test ordering so much.
--
meta => link
--
Fix selector serialization
Was pretty sure selectors serialized with spaces around the combinator, but wasn't sure, and Chrome failed the test anyway. Firefox passes but with spaces, so make sure I match that.
--
Force uppercase of the urange
Urange serialization isn't specified, so I shouldn't rely on the casing in this test, at least. Instead, just uppercase things, since casing doesn't matter.
--
fix accidental collision
--
Merge pull request #15195 from web-platform-tests/tabatkins-patch-1
Urange Parsing
--
wpt-commits: be6aae49e28d40a3e32d49205ceea50ad98070f9, 794729af2f994e4912d15d27527be1c847a027e9, c62259ab5c622bab80af2e9489dea2a9cf8f2594, 23a94e6348cccd97251024147ddf0b855b31ba55, d9769535a761f5ae3969463108239d2ba2563ff7, bdf1782f0a7df711aa700c67ceddfdbeb5a3f1b3, 62bfaebd63ab3f077fbb439d9d9a65acc97c5b7c
wpt-pr: 15195
Automatic update from web-platform-tests
Fix first arg of assert_throws
Apparently you should specifically use the string form of the first `assert_throws` argument to catch DOMExceptions.
--
Merge pull request #15115 from web-platform-tests/tabatkins-patch-1
Fix first arg of assert_throws
--
wpt-commits: cd7b4b3799261dcbbee7709991215be5a1585529, 81a7b60a91657be80c4fc15dce6617951f2e5278
wpt-pr: 15115
Automatic update from web-platform-tests
Escaped EOF
Tests <https://github.com/w3c/csswg-drafts/issues/3182> and <https://github.com/w3c/csswg-drafts/issues/1821>
--
Use assert_throws, etc
Per @domenic's advice, go ahead and use assert_throws on the throwing call, and then just make the should-succeed call directly, as a throw will cause the test to fail anyway.
--
Merge pull request #15092 from web-platform-tests/tabatkins-patch-1
Escaped EOF
--
wpt-commits: 26f39eb230185a804fabc398810cdcdddefc49ac, f44998b147858a8a2832f66dd32bc9d1ecefb1b3, fc57d7ad7a2942cfa363d5a9b8c6c7d74f5bb693
wpt-pr: 15092
Automatic update from web-platform-tests
@charset isn't a valid rule and should be dropped
--
Spaces, not tabs :(
--
Merge pull request #15058 from web-platform-tests/tabatkins-patch-2
@charset isn't a valid rule and should be dropped
--
wpt-commits: 77561fc06acd05384ce8c70479d8bcb10325b81b, b483a4f829a044371555c5a7b90e57c53a66a804, 388ba3a049a3473b1945b9f8f81e9d6e342a249e
wpt-pr: 15058
Automatic update from web-platform-testsMerge pull request #10539 from tabatkins/css-syntax-whitespace
Test for https://github.com/w3c/csswg-drafts/pull/1986
--
wpt-commits: cc364d6f98b111e488aa1d88064af21566ec4184
wpt-pr: 10539