style: Split clip-path and shape-outside values.

We don't actually share _that_ much code across them. This makes callers clearer
and code less confusing, IMHO.

This also has the benefit of not autocompleting path from devtools for
shape-outside.

Differential Revision: https://phabricator.services.mozilla.com/D62373
This commit is contained in:
Emilio Cobos Álvarez 2020-02-11 23:34:53 +00:00
parent ab03688994
commit 239302b1ed
6 changed files with 135 additions and 109 deletions

View file

@ -679,10 +679,10 @@ ${helpers.predefined_type(
${helpers.predefined_type(
"shape-outside",
"basic_shape::FloatAreaShape",
"generics::basic_shape::ShapeSource::None",
"basic_shape::ShapeOutside",
"generics::basic_shape::ShapeOutside::None",
engines="gecko",
animation_value_type="basic_shape::FloatAreaShape",
animation_value_type="basic_shape::ShapeOutside",
spec="https://drafts.csswg.org/css-shapes/#shape-outside-property",
)}