Closed Bug 1777320 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34649 - Update CSS toggles parsing/computation code to spec changes.

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34649 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34649
Details from upstream follow.

L. David Baron <dbaron@chromium.org> wrote:

Update CSS toggles parsing/computation code to spec changes.

(These properties are behind a runtime flag that is off.)

I believe the complete list of changes is:

  • Toggle states can be described as either custom idents or integers
    rather than only as integers;
    the set of named states (if given) is given inside [] in the
    toggle-root (or toggle) properties; a single named state is given as
    the initial value in toggle-root (or toggle) and after the set verb
    in toggle-trigger.

  • toggle-root (and toggle) take \<toggle-states> [at \<initial-state>]?
    rather than [\<initial-state> /]? \<maximum-state>.

  • toggle-root (and toggle) take cycle | cycle-on | sticky, where cycle
    is the default, where there was previously only a (non-default)
    sticky boolean.

  • toggle-trigger has prev/next/set verbs, rather than just taking an
    \<integer> (implying set) or nothing (implying 'next 1').

Bug: 1250716
Change-Id: I9f3f2c5d2a681b4e8639ac64d921e2b02ff297a8
Reviewed-on: https://chromium-review.googlesource.com/3735886
WPT-Export-Revision: 72f63d02da229fdfcbe335b0c6db5761afa8f58d

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 12 tests and 16 subtests

Status Summary

Firefox

OK : 10
PASS : 88
FAIL : 194
ERROR: 2

Chrome

OK : 10
PASS : 88
FAIL : 194
ERROR: 2

Safari

OK : 10
PASS : 88
FAIL : 194
ERROR: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-toggle/animations/toggle-root-interpolation.tentative.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
  • /css/css-toggle/animations/toggle-trigger-interpolation.tentative.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
  • /css/css-toggle/parsing/toggle-computed.tentative.html [wpt.fyi]
    • Property toggle value 'none': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'sticky sticky': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'group group': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'self self': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle, yourtoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle, mytoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle 3 at 0 sticky self, yourtoggle 1 group self': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle 3 at 1 sticky self, yourtoggle 2 group self': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle 1 at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle 1 at +0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle +1 at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle 1 at -0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle +1 at 2': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle 1 at calc(-3)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle calc(-3) at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle 7 at calc(-3)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle calc(-3) at 7': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle calc(9) at calc(6)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle calc(9.6) at calc(6.4)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle calc(-9.5) at calc(6.5)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle group sticky self, yourtoggle self sticky': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle group 2 at 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle [one two three]': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle [one two three] at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle [ one two three ] at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle[one two three]at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle [one two three] at 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle [ one two three ] at 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle[one two three]at 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle [ one two three ] at two': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle value 'mytoggle 3 at two': FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-toggle/parsing/toggle-root-computed.tentative.html [wpt.fyi]
    • Property toggle-root value 'none': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'sticky sticky': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'group group': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'self self': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle, yourtoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle, mytoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle 3 at 0 sticky self, yourtoggle 1 group self': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle 3 at 1 sticky self, yourtoggle 2 group self': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle 1 at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle 1 at +0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle +1 at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle 1 at -0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle +1 at 2': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle 1 at calc(-3)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle calc(-3) at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle 7 at calc(-3)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle calc(-3) at 7': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle calc(9) at calc(6)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle calc(9.6) at calc(6.4)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle calc(-9.5) at calc(6.5)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle group sticky self, yourtoggle self sticky': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle group 2 at 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle [one two three]': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle [one two three] at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle [ one two three ] at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle[one two three]at 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle [one two three] at 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle [ one two three ] at 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle[one two three]at 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle [ one two three ] at two': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-root value 'mytoggle 3 at two': FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-toggle/parsing/toggle-root-valid.tentative.html [wpt.fyi]
    • e.style['toggle-root'] = "none" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "sticky sticky" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "group group" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "self self" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle, yourtoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle, mytoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle 3 at 0 sticky self, yourtoggle 1 group self" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle 1 at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle 1 at +0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle +1 at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle 1 at -0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle 1 at calc(-3)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle calc(-3) at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle 7 at calc(-3)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle calc(-3) at 7" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle calc(9) at calc(6)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle calc(9.6) at calc(6.4)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle calc(-9.5) at calc(6.5)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle group sticky self, yourtoggle self sticky" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle group 2 at 1" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle [one two three]" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle [one two three] at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle [ one two three ] at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle[one two three]at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle [ one two three ] at two" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-root'] = "mytoggle 3 at two" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-toggle/parsing/toggle-trigger-computed.tentative.html [wpt.fyi]
    • Property toggle-trigger value 'none': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'self set 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'sticky set 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'group set 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set 0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set +0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set -0': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set +5': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle, yourtoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle, mytoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set 1, yourtoggle': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set 1 , yourtoggle set 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle,yourtoggle set 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set calc(-3)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set calc(6)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set calc(6.4)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set calc(6.5)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set calc(6.6)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle set two': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle next 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle next 2': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle prev 1': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle prev 2': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle next calc(-3)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle prev calc(-3)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle next calc(6.4)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle next calc(6.5)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle prev calc(6.4)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property toggle-trigger value 'mytoggle prev calc(6.5)': FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-toggle/parsing/toggle-trigger-valid.tentative.html [wpt.fyi]
    • e.style['toggle-trigger'] = "none" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "self set 1" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "sticky set 1" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "group set 1" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set +0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set -0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set +5" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle, yourtoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle, mytoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set 1, yourtoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set 1 , yourtoggle set 1" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle,yourtoggle set 1" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set calc(-3)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set calc(6)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set calc(6.4)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set calc(6.5)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set calc(6.6)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle set two" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle next 1" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle next 2" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle prev 1" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle prev 2" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle next calc(-3)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle prev calc(-3)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle next calc(6.4)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle next calc(6.5)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle prev calc(6.4)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle-trigger'] = "mytoggle prev calc(6.5)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-toggle/parsing/toggle-valid.tentative.html [wpt.fyi]
    • e.style['toggle'] = "none" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "sticky sticky" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "group group" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "self self" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle, yourtoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle, mytoggle" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle 3 at 0 sticky self, yourtoggle 1 group self" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle 1 at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle 1 at +0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle +1 at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle 1 at -0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle 1 at calc(-3)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle calc(-3) at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle 7 at calc(-3)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle calc(-3) at 7" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle calc(9) at calc(6)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle calc(9.6) at calc(6.4)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle calc(-9.5) at calc(6.5)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle group sticky self, yourtoggle self sticky" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle group 2 at 1" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle [one two three]" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle [one two three] at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle [ one two three ] at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle[one two three]at 0" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle [ one two three ] at two" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['toggle'] = "mytoggle 3 at two" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-toggle/toggle-shorthand-serialization.tentative.html [wpt.fyi]
    • Serialization of toggle shorthand with toggle-trigger: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: none; toggle-trigger: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle; toggle-trigger: none;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: none; toggle-trigger: none;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle; toggle-trigger: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle, yourtoggle; toggle-trigger: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle; toggle-trigger: mytoggle, yourtoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle 2; toggle-trigger: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle 2; toggle-trigger: mytoggle 2;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle 2 at 1; toggle-trigger: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle 2 at 1; toggle-trigger: mytoggle 1;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle 2 at 1; toggle-trigger: mytoggle 2;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle 2 at 1 sticky group self; toggle-trigger: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle 4 at 2 self sticky group; toggle-trigger: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
    • Serialization of toggle shorthand with toggle-root: mytoggle [one two three] at two self cycle-on group; toggle-trigger: mytoggle;: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/13f211043977
[wpt PR 34649] - Update CSS toggles parsing/computation code to spec changes., a=testonly
https://hg.mozilla.org/integration/autoland/rev/8ce9a2f5796e
[wpt PR 34649] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.