mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
parent
9b6c5da98f
commit
a4e687aedd
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue