Closed
Bug 1363592
Opened 8 years ago
Closed 8 years ago
stylo: {transition, animation}-duration should reject negative values
Categories
(Core :: CSS Parsing and Computation, enhancement, P2)
Core
CSS Parsing and Computation
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.
| Assignee | ||
Comment 1•8 years ago
|
||
| Assignee | ||
Comment 2•8 years ago
|
||
A contributor is working on this;
https://github.com/servo/servo/pull/15658
| Reporter | ||
Comment 3•8 years ago
|
||
(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. :)
| Assignee | ||
Comment 4•8 years ago
|
||
I did open a new PR:
https://github.com/servo/servo/pull/16829
| Reporter | ||
Comment 5•8 years ago
|
||
(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 hidden (mozreview-request) |
| Reporter | ||
Comment 7•8 years ago
|
||
| mozreview-review | ||
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
Comment 9•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•