Closed Bug 1385141 Opened 7 years ago Closed 7 years ago

stylo: Fail to reject multi-value easing (ease-in-out, ease-out) when parsing easing

Categories

(Core :: CSS Parsing and Computation, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: birtles, Assigned: birtles)

References

Details

Attachments

(2 files)

In testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/constructor.html the following two tests still fail:

  #1: Invalid easing [a multi-value easing] in keyframe sequence should be thrown
  #2: Invalid KeyframeEffectReadOnly option by a multi-value easing

These are both failing because we don't throw when we get 'ease-in-out, ease-out' as a value for `easing`. Presumably when we parse this with stylo we're allowing lists of values (since lists are permitted for CSS animations/transitions) even though lists are not allowed when using the Web Animations API.
Priority: -- → P2
Assignee: nobody → bbirtles
Status: NEW → ASSIGNED
Comment on attachment 8895196 [details]
Bug 1385141 - Update test expectations for web-animations/interfaces/KeyframeEffect/constructor.html;

https://reviewboard.mozilla.org/r/166354/#review171522
Attachment #8895196 - Flags: review?(hikezoe) → review+
You could do `parser.parse_entirely(|p| ...::parse(&context, p))` instead.
Pushed by bbirtles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a4839ba8b065
Update test expectations for web-animations/interfaces/KeyframeEffect/constructor.html; r=hiro
https://hg.mozilla.org/mozilla-central/rev/a4839ba8b065
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: