@@ -954,21 +954,45 @@ RefPtr<StyleValue const> Parser::parse_anchor_size(TokenStream<ComponentValue>&
954954 static Array allowed_property_ids = {
955955 // inset properties
956956 PropertyID::Inset,
957- PropertyID::Top, PropertyID::Right, PropertyID::Bottom, PropertyID::Left,
958- PropertyID::InsetBlock, PropertyID::InsetBlockStart, PropertyID::InsetBlockEnd,
959- PropertyID::InsetInline, PropertyID::InsetInlineStart, PropertyID::InsetInlineEnd,
957+ PropertyID::Top,
958+ PropertyID::Right,
959+ PropertyID::Bottom,
960+ PropertyID::Left,
961+ PropertyID::InsetBlock,
962+ PropertyID::InsetBlockStart,
963+ PropertyID::InsetBlockEnd,
964+ PropertyID::InsetInline,
965+ PropertyID::InsetInlineStart,
966+ PropertyID::InsetInlineEnd,
960967 // margin properties
961968 PropertyID::Margin,
962- PropertyID::MarginTop, PropertyID::MarginRight, PropertyID::MarginBottom, PropertyID::MarginLeft,
963- PropertyID::MarginBlock, PropertyID::MarginBlockStart, PropertyID::MarginBlockEnd,
964- PropertyID::MarginInline, PropertyID::MarginInlineStart, PropertyID::MarginInlineEnd,
969+ PropertyID::MarginTop,
970+ PropertyID::MarginRight,
971+ PropertyID::MarginBottom,
972+ PropertyID::MarginLeft,
973+ PropertyID::MarginBlock,
974+ PropertyID::MarginBlockStart,
975+ PropertyID::MarginBlockEnd,
976+ PropertyID::MarginInline,
977+ PropertyID::MarginInlineStart,
978+ PropertyID::MarginInlineEnd,
965979 // sizing properties
966- PropertyID::Width, PropertyID::MinWidth, PropertyID::MaxWidth,
967- PropertyID::Height, PropertyID::MinHeight, PropertyID::MaxHeight,
968- PropertyID::BlockSize, PropertyID::MinBlockSize, PropertyID::MaxBlockSize,
969- PropertyID::InlineSize, PropertyID::MinInlineSize, PropertyID::MaxInlineSize,
980+ PropertyID::Width,
981+ PropertyID::MinWidth,
982+ PropertyID::MaxWidth,
983+ PropertyID::Height,
984+ PropertyID::MinHeight,
985+ PropertyID::MaxHeight,
986+ PropertyID::BlockSize,
987+ PropertyID::MinBlockSize,
988+ PropertyID::MaxBlockSize,
989+ PropertyID::InlineSize,
990+ PropertyID::MinInlineSize,
991+ PropertyID::MaxInlineSize,
970992 // self-alignment properties
971- PropertyID::AlignSelf, PropertyID::JustifySelf, PropertyID::PlaceSelf,
993+ PropertyID::AlignSelf,
994+ PropertyID::JustifySelf,
995+ PropertyID::PlaceSelf,
972996 // FIXME: position-anchor
973997 // FIXME: position-area
974998 };
0 commit comments