Closed Bug 1476462 Opened 7 years ago Closed 6 years ago

Ensure "contain" isn't animatable

Categories

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

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1474317
Tracking Status
firefox63 --- affected

People

(Reporter: dholbert, Unassigned)

References

Details

Attachments

(1 file)

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.
(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
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.
(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.)
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.
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.
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!
Priority: -- → P3
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.

Attachment

General

Created:
Updated:
Size: