Bug 1788362 [wpt PR 35696] - Forbid toggle states list from having length less than...
commit71bc4c66573c44eb347c8de42866ae3df7a99802
authorL. David Baron <dbaron@chromium.org>
Sat, 3 Sep 2022 09:57:03 +0000 (3 09:57 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 4 Sep 2022 18:00:39 +0000 (4 18:00 +0000)
tree83a81af42fad0c2221aed500ec7bd271e08b6ab8
parent2e974e33f60c00a5c9e8e9a9e70aea0df2feeeaf
Bug 1788362 [wpt PR 35696] - Forbid toggle states list from having length less than two., a=testonly

Automatic update from web-platform-tests
Forbid toggle states list from having length less than two.

This updates the implementation and tests to match the changes in:
https://github.com/tabatkins/css-toggle/commit/cbe62536bf6e133cf24128f6c4149c25197d194e
https://github.com/tabatkins/css-toggle/commit/4c015fa4fbb1664bcc32801148bfd6552cd5529f

It also updates the tests to test
https://github.com/tabatkins/css-toggle/commit/bc611ccb4df59bf5491e0b31ea093024154c523f
which was already implemented, but not tested in WPT.

(Support for toggles is behind the CSSToggles flag, which is currently
off.)

Bug: 1250716
Change-Id: I8beaf7b8d38a099223df3d887df3020800ba6045
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3858364
Auto-Submit: David Baron <dbaron@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1040627}

--

wpt-commits: d8f004c6dcba24d2c83c458231e9c805b897cbb2
wpt-pr: 35696
testing/web-platform/tests/css/css-toggle/parsing/support/toggle-root-values.js
testing/web-platform/tests/css/css-toggle/toggle-api.tentative.html