LibWeb: Remove redundant SVG presentation attribute handling

This commit is contained in:
Tim Ledbetter 2025-10-11 11:36:35 +01:00 committed by Sam Atkins
parent 884b7fcbf5
commit dab994c4f3
Notes: github-actions[bot] 2025-10-20 11:39:33 +00:00
8 changed files with 0 additions and 117 deletions

View file

@ -33,22 +33,6 @@ void SVGViewElement::visit_edges(Visitor& visitor)
SVGFitToViewBox::visit_edges(visitor);
}
bool SVGViewElement::is_presentational_hint(FlyString const& name) const
{
if (Base::is_presentational_hint(name))
return true;
return first_is_one_of(name,
SVG::AttributeNames::viewBox,
SVG::AttributeNames::preserveAspectRatio);
}
void SVGViewElement::apply_presentational_hints(GC::Ref<CSS::CascadedProperties> cascaded_properties) const
{
Base::apply_presentational_hints(cascaded_properties);
auto parsing_context = CSS::Parser::ParsingParams { document(), CSS::Parser::ParsingMode::SVGPresentationAttribute };
}
void SVGViewElement::attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_)
{
Base::attribute_changed(name, old_value, value, namespace_);