Bug 1289049 Part 3 - Add CSS_PROPERTY_STORES_CALC flag to "shape-outside" property.
This makes "shape-outside" be able to transition between percent and pixel
shape-coordinates. This patch is similar to what
bug 1266570 fixed for
"clip-path".
This will fix failures in layout/style/test/test_transitions_per_property.html
after introducing Part 4.
MozReview-Commit-ID: CAgXG39nUIl
--- a/layout/style/nsCSSPropList.h
+++ b/layout/style/nsCSSPropList.h
@@ -3746,17 +3746,18 @@ CSS_PROP_DISPLAY(
CSS_PROP_NO_OFFSET,
eStyleAnimType_Discrete)
CSS_PROP_DISPLAY(
shape-outside,
shape_outside,
ShapeOutside,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
- CSS_PROPERTY_APPLIES_TO_FIRST_LETTER,
+ CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
+ CSS_PROPERTY_STORES_CALC,
"layout.css.shape-outside.enabled",
0,
nullptr,
CSS_PROP_NO_OFFSET,
eStyleAnimType_Discrete) // FIXME: Bug 1289049 for adding animation support
CSS_PROP_SVG(
shape-rendering,
shape_rendering,