Closed
Bug 1476462
Opened 7 years ago
Closed 6 years ago
Ensure "contain" isn't animatable
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1474317
Tracking | Status | |
---|---|---|
firefox63 | --- | affected |
People
(Reporter: dholbert, Unassigned)
References
Details
Attachments
(1 file)
570 bytes,
text/html
|
Details |
heycam says that the CSS Working Group resolved that the "contain" property shoudln't be animatable. We should make sure our implementation adheres to this.
Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #0)
> heycam says that the CSS Working Group resolved that the "contain" property
> shoudln't be animatable.
FYI. https://github.com/w3c/csswg-drafts/issues/2737#issuecomment-402574750
Reporter | ||
Comment 3•7 years ago
|
||
I think this is as simple as changing...
animation_value_type="discrete",
...to:
animation_value_type="none",
...at this spot in in this file:
https://dxr.mozilla.org/mozilla-central/rev/085cdfb90903d4985f0de1dc7786522d9fb45596/servo/components/style/properties/longhands/box.mako.rs#588-595
...but we should try that out to be sure.
See Also: → https://github.com/w3c/csswg-drafts/issues/2737
Reporter | ||
Comment 4•7 years ago
|
||
(hiro, if you can confirm whether there are any code changes we'll need beyond comment 3, please chime in :) I suspect you're one of the people who would know.)
Comment 5•7 years ago
|
||
That code change should be enough.
See also https://hg.mozilla.org/mozilla-central/rev/8e815e6e442be7255528d81891cc70401e3f07ce for relevant tests that you may need to modify.
Comment 6•7 years ago
|
||
If you or somebody else want to fix bug 1474317 while at it it'd be nice as well! Otherwise I'll get to it later this week.
Comment 7•7 years ago
|
||
Yeah, it would be nice to fix bug 14744317 altogether.
Flipping animation_value_type is enough to do, we also have to drop the properties in testing/web-platform/tests/web-animations/animation-model/animation-types/property-list.js . Thanks!
Updated•7 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•