File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ impl MaxSize {
186
186
None
187
187
} ,
188
188
Self :: LengthPercentage ( ref lp) => Some ( lp. to_used_value ( percentage_basis) ) ,
189
+ Self :: AnchorSizeFunction ( _) => unreachable ! ( "anchor-size() should be disabled" ) ,
189
190
}
190
191
}
191
192
@@ -197,6 +198,7 @@ impl MaxSize {
197
198
None
198
199
} ,
199
200
Self :: LengthPercentage ( ref lp) => lp. maybe_to_used_value ( percentage_basis) ,
201
+ Self :: AnchorSizeFunction ( _) => unreachable ! ( "anchor-size() should be disabled" ) ,
200
202
}
201
203
}
202
204
}
@@ -211,6 +213,7 @@ impl Size {
211
213
None
212
214
} ,
213
215
Self :: LengthPercentage ( ref lp) => Some ( lp. to_used_value ( percentage_basis) ) ,
216
+ Self :: AnchorSizeFunction ( _) => unreachable ! ( "anchor-size() should be disabled" ) ,
214
217
}
215
218
}
216
219
@@ -223,6 +226,7 @@ impl Size {
223
226
None
224
227
} ,
225
228
Self :: LengthPercentage ( ref lp) => lp. maybe_to_used_value ( percentage_basis) ,
229
+ Self :: AnchorSizeFunction ( _) => unreachable ! ( "anchor-size() should be disabled" ) ,
226
230
}
227
231
}
228
232
You can’t perform that action at this time.
0 commit comments