Drop animation-name and transition-property from early properties

We don't need to calculate computed animation-name or transition-property prior
to other properties any more because we no longer fill out those other
properties values in response to animation-name or transition-property length
at the time when we calculate computed property values.
This commit is contained in:
Hiroyuki Ikezoe 2018-01-04 19:23:42 +09:00
parent 9b6c5da98f
commit a4e687aedd

View file

@ -687,14 +687,6 @@ impl LonghandId {
fn is_early_property(&self) -> bool { fn is_early_property(&self) -> bool {
matches!(*self, matches!(*self,
% if product == 'gecko': % if product == 'gecko':
// We need to know the number of animations / transition-properties
// before setting the rest of the related longhands, see #15923.
//
// FIXME(emilio): Looks to me that we could just do this in Gecko
// instead of making them early properties. Indeed, the spec
// mentions _used_ values, not computed values, so this looks wrong.
LonghandId::AnimationName |
LonghandId::TransitionProperty |
// Needed to properly compute the writing mode, to resolve logical // Needed to properly compute the writing mode, to resolve logical
// properties, and similar stuff. In this block instead of along // properties, and similar stuff. In this block instead of along