LibWeb: Add support for SVG display attribute

This commit is contained in:
Colin Reeder
2024-08-15 21:45:41 -06:00
committed by Alexander Kalenik
parent 73ca9516a9
commit 97d5cf4eef
3 changed files with 12 additions and 0 deletions

View File

@@ -160,6 +160,7 @@ void SVGGraphicsElement::apply_presentational_hints(CSS::StyleProperties& style)
NamedPropertyID(CSS::PropertyID::MaskType),
NamedPropertyID(CSS::PropertyID::ClipPath),
NamedPropertyID(CSS::PropertyID::ClipRule),
NamedPropertyID(CSS::PropertyID::Display),
};
CSS::Parser::ParsingContext parsing_context { document(), CSS::Parser::ParsingContext::Mode::SVGPresentationAttribute };