Note: There are a few cases of duplicates in user autocompletion which are being worked on.

stylo: Need a better way to check specified transitions

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
P2
normal
29 days ago
29 days ago

People

(Reporter: boris, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

29 days ago
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
You need to log in before you can comment on or make changes to this bug.