mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 13:55:08 +00:00
LibWeb: Add FIXME for viewBox scaling to SVGTextBox
This commit is contained in:
parent
6caaffa134
commit
f84abbe1f9
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ CSSPixelPoint SVGTextBox::viewbox_origin() const
|
|||
|
||||
Optional<Gfx::AffineTransform> SVGTextBox::layout_transform() const
|
||||
{
|
||||
// FIXME: Since text layout boxes are currently 0x0 it is not possible handle viewBox scaling here.
|
||||
auto& geometry_element = dom_node();
|
||||
auto transform = geometry_element.get_transform();
|
||||
auto* svg_box = geometry_element.first_ancestor_of_type<SVG::SVGSVGElement>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue