Closed Bug 1363592 Opened 7 years ago Closed 7 years ago

stylo: {transition, animation}-duration should reject negative values

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: chenpighead, Assigned: hiro)

References

()

Details

Attachments

(1 file)

Currently, {transition, animation}-duration and {transition, animation}-delay share the same parsing codes, which accept all <time> units values w/o restrictions. However, according to the spec, negative time values are invalid for {transition, animation}-duration properties.

Since fixing this could fix ~20 mochitests failures, let's do this.
A contributor is working on this;
https://github.com/servo/servo/pull/15658
(In reply to Hiroyuki Ikezoe (:hiro) from comment #2)
> A contributor is working on this;
> https://github.com/servo/servo/pull/15658

Well, then I shall leave this bug open, and consider resolve this bug once the PR get landed.

Thank you for the notice. :)
(In reply to Hiroyuki Ikezoe (:hiro) from comment #4)
> I did open a new PR:
> https://github.com/servo/servo/pull/16829

Okay, I guess I shall forward this bug to you then.
Assignee: jeremychen → hikezoe
Comment on attachment 8867103 [details]
Bug 1363592 - Update mochitest expectations for transition and animation duration.

https://reviewboard.mozilla.org/r/138704/#review142000

LGTM! Thank you for taking over this. :)
Attachment #8867103 - Flags: review?(jeremychen) → review+
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a6811713d47c
Update mochitest expectations for transition and animation duration. r=jeremychen
https://hg.mozilla.org/mozilla-central/rev/a6811713d47c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: