File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ impl MaxSize {
186186 None
187187 } ,
188188 Self :: LengthPercentage ( ref lp) => Some ( lp. to_used_value ( percentage_basis) ) ,
189+ Self :: AnchorSizeFunction ( _) => unreachable ! ( "anchor-size() should be disabled" ) ,
189190 }
190191 }
191192
@@ -197,6 +198,7 @@ impl MaxSize {
197198 None
198199 } ,
199200 Self :: LengthPercentage ( ref lp) => lp. maybe_to_used_value ( percentage_basis) ,
201+ Self :: AnchorSizeFunction ( _) => unreachable ! ( "anchor-size() should be disabled" ) ,
200202 }
201203 }
202204}
@@ -211,6 +213,7 @@ impl Size {
211213 None
212214 } ,
213215 Self :: LengthPercentage ( ref lp) => Some ( lp. to_used_value ( percentage_basis) ) ,
216+ Self :: AnchorSizeFunction ( _) => unreachable ! ( "anchor-size() should be disabled" ) ,
214217 }
215218 }
216219
@@ -223,6 +226,7 @@ impl Size {
223226 None
224227 } ,
225228 Self :: LengthPercentage ( ref lp) => lp. maybe_to_used_value ( percentage_basis) ,
229+ Self :: AnchorSizeFunction ( _) => unreachable ! ( "anchor-size() should be disabled" ) ,
226230 }
227231 }
228232
You can’t perform that action at this time.
0 commit comments