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
commit 97d5cf4eef
Notes: github-actions[bot] 2024-08-16 10:13:01 +00:00
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 };