diff --git a/Tests/LibWeb/Ref/svg-alpha-mask-attribute.html b/Tests/LibWeb/Ref/svg-alpha-mask-attribute.html new file mode 100644 index 0000000000..ffd46932c1 --- /dev/null +++ b/Tests/LibWeb/Ref/svg-alpha-mask-attribute.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp index aabdfdfa15..0eb74a9f81 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp @@ -141,7 +141,8 @@ void SVGGraphicsElement::apply_presentational_hints(CSS::StyleProperties& style) NamedPropertyID(CSS::PropertyID::Opacity), NamedPropertyID(CSS::PropertyID::TextAnchor), NamedPropertyID(CSS::PropertyID::FontSize), - NamedPropertyID(CSS::PropertyID::Mask) + NamedPropertyID(CSS::PropertyID::Mask), + NamedPropertyID(CSS::PropertyID::MaskType) }; CSS::Parser::ParsingContext parsing_context { document(), CSS::Parser::ParsingContext::Mode::SVGPresentationAttribute };