Open Bug 1375524 Opened 7 years ago Updated 2 years ago

stylo: Need a better way to check specified transitions

Categories

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

enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- ?

People

(Reporter: boris, Unassigned)

References

Details

We use eCSSPropertyExtra_all_properties and zero duration to check if we specify transitions [1]. However, for a case like this:

  <div style="transition-property: background-color"></div>

The transition duration + delay is zero. And why we need to return as "specified transitions"? It seems that we should also return false for this case.

[1] http://searchfox.org/mozilla-central/rev/ae94cfb36d804727dfb38f2750bfcaab4621df6e/servo/components/style/properties/gecko.mako.rs#2447-2457
Priority: P2 → --
P3.5 (shouldn't block shipping but we should really fix this)
Priority: -- → P4
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.