Open Bug 1361738 Opened 7 years ago Updated 2 years ago

Implement 'add' and 'accumulate' for stroke-dasharray

Categories

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

enhancement

Tracking

()

People

(Reporter: chenpighead, Unassigned)

References

()

Details

In Bug 1360144, we added an expected-fail test to test the non-additive stroke-dasharray property. We should find a better way to do so if possible. Maybe we could do some tweaks so that no 'testAddition' is expected for non-additive properties in the test [1] in addition-per-property.html


[1] https://hg.mozilla.org/mozilla-central/file/a748acbebbde/testing/web-platform/tests/web-animations/animation-model/animation-types/addition-per-property.html#l42
Now I discussed with Brian about this.  We decided to make stroke-dasharray additive for web animations but not for SMIL.

As for SMIL we have already checked that stroke-dasharray is non-additive property [1], so here in this bug, we just need to implement it.

[1] https://hg.mozilla.org/mozilla-central/file/5bc1c758ab57/dom/smil/nsSMILCSSValueType.cpp#l254
Summary: Investigate a way to test non-additive animatable stroke-dasharray property → Implement 'add' and 'accumulate' for stroke-dasharray
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.