mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-16 06:30:41 +00:00
LibWeb: Invalidate layout after setting SVG transform attribute
This commit is contained in:
parent
1d999fa780
commit
080d9ec246
|
@ -39,6 +39,8 @@ void SVGGraphicsElement::attribute_changed(FlyString const& name, Optional<Strin
|
|||
auto transform_list = AttributeParser::parse_transform(value.value_or(String {}));
|
||||
if (transform_list.has_value())
|
||||
m_transform = transform_from_transform_list(*transform_list);
|
||||
// FIXME: This should only invalidate the contents of the SVG.
|
||||
document().invalidate_layout();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue