@@ -91,7 +91,6 @@ impl Default for ShapeBox {
91
91
92
92
/// A value for the `clip-path` property.
93
93
#[ allow( missing_docs) ]
94
- #[ animation( no_bound( U ) ) ]
95
94
#[ derive(
96
95
Animate ,
97
96
Clone ,
@@ -106,6 +105,7 @@ impl Default for ShapeBox {
106
105
ToResolvedValue ,
107
106
ToShmem ,
108
107
) ]
108
+ #[ animation( no_bound( U ) ) ]
109
109
#[ repr( u8 ) ]
110
110
pub enum GenericClipPath < BasicShape , U > {
111
111
#[ animation( error) ]
@@ -126,7 +126,6 @@ pub use self::GenericClipPath as ClipPath;
126
126
127
127
/// A value for the `shape-outside` property.
128
128
#[ allow( missing_docs) ]
129
- #[ animation( no_bound( I ) ) ]
130
129
#[ derive(
131
130
Animate ,
132
131
Clone ,
@@ -141,6 +140,7 @@ pub use self::GenericClipPath as ClipPath;
141
140
ToResolvedValue ,
142
141
ToShmem ,
143
142
) ]
143
+ #[ animation( no_bound( I ) ) ]
144
144
#[ repr( u8 ) ]
145
145
pub enum GenericShapeOutside < BasicShape , I > {
146
146
#[ animation( error) ]
@@ -193,7 +193,6 @@ pub use self::GenericBasicShape as BasicShape;
193
193
194
194
/// <https://drafts.csswg.org/css-shapes/#funcdef-inset>
195
195
#[ allow( missing_docs) ]
196
- #[ css( function = "inset" ) ]
197
196
#[ derive(
198
197
Animate ,
199
198
Clone ,
@@ -207,6 +206,7 @@ pub use self::GenericBasicShape as BasicShape;
207
206
ToResolvedValue ,
208
207
ToShmem ,
209
208
) ]
209
+ #[ css( function = "inset" ) ]
210
210
#[ repr( C ) ]
211
211
pub struct InsetRect < LengthPercentage , NonNegativeLengthPercentage > {
212
212
pub rect : Rect < LengthPercentage > ,
@@ -216,7 +216,6 @@ pub struct InsetRect<LengthPercentage, NonNegativeLengthPercentage> {
216
216
217
217
/// <https://drafts.csswg.org/css-shapes/#funcdef-circle>
218
218
#[ allow( missing_docs) ]
219
- #[ css( function) ]
220
219
#[ derive(
221
220
Animate ,
222
221
Clone ,
@@ -231,6 +230,7 @@ pub struct InsetRect<LengthPercentage, NonNegativeLengthPercentage> {
231
230
ToResolvedValue ,
232
231
ToShmem ,
233
232
) ]
233
+ #[ css( function) ]
234
234
#[ repr( C ) ]
235
235
pub struct Circle < H , V , NonNegativeLengthPercentage > {
236
236
pub position : GenericPosition < H , V > ,
@@ -239,7 +239,6 @@ pub struct Circle<H, V, NonNegativeLengthPercentage> {
239
239
240
240
/// <https://drafts.csswg.org/css-shapes/#funcdef-ellipse>
241
241
#[ allow( missing_docs) ]
242
- #[ css( function) ]
243
242
#[ derive(
244
243
Animate ,
245
244
Clone ,
@@ -254,6 +253,7 @@ pub struct Circle<H, V, NonNegativeLengthPercentage> {
254
253
ToResolvedValue ,
255
254
ToShmem ,
256
255
) ]
256
+ #[ css( function) ]
257
257
#[ repr( C ) ]
258
258
pub struct Ellipse < H , V , NonNegativeLengthPercentage > {
259
259
pub position : GenericPosition < H , V > ,
@@ -293,7 +293,6 @@ pub use self::GenericShapeRadius as ShapeRadius;
293
293
/// A generic type for representing the `polygon()` function
294
294
///
295
295
/// <https://drafts.csswg.org/css-shapes/#funcdef-polygon>
296
- #[ css( comma, function = "polygon" ) ]
297
296
#[ derive(
298
297
Clone ,
299
298
Debug ,
@@ -306,6 +305,7 @@ pub use self::GenericShapeRadius as ShapeRadius;
306
305
ToResolvedValue ,
307
306
ToShmem ,
308
307
) ]
308
+ #[ css( comma, function = "polygon" ) ]
309
309
#[ repr( C ) ]
310
310
pub struct GenericPolygon < LengthPercentage > {
311
311
/// The filling rule for a polygon.
@@ -364,7 +364,6 @@ pub enum FillRule {
364
364
/// The path function defined in css-shape-2.
365
365
///
366
366
/// https://drafts.csswg.org/css-shapes-2/#funcdef-path
367
- #[ css( comma) ]
368
367
#[ derive(
369
368
Animate ,
370
369
Clone ,
@@ -379,6 +378,7 @@ pub enum FillRule {
379
378
ToResolvedValue ,
380
379
ToShmem ,
381
380
) ]
381
+ #[ css( comma) ]
382
382
#[ repr( C ) ]
383
383
pub struct Path {
384
384
/// The filling rule for the svg path.
0 commit comments