MacDue
163b6bb401
LibWeb: Special case SVG masks during layout
...
Rather than try to lay out masks normally, this updates the TreeBuilder
to create layout nodes for masks as a child of their user (i.e. the
masked element). This allows each use of a mask to be laid out
differently, which makes supporting `maskContentUnits=objectBoundingBox`
fairly easy.
The `SVGFormattingContext` is then updated to lay out masks last (as
their sizing may depend on their parent), and treats them like
viewports.
This is pretty ad-hoc, but the SVG specification does not give any
guidance on how to actually implement this.
2024-03-12 08:51:50 +01:00
..
2023-12-30 18:50:29 +01:00
2023-12-30 18:50:29 +01:00
2024-01-18 14:00:06 +01:00
2024-01-25 08:23:41 +01:00
2024-01-25 08:23:41 +01:00
2024-01-25 08:23:41 +01:00
2023-12-30 18:50:29 +01:00
2023-12-30 18:50:29 +01:00
2024-01-18 14:00:06 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-02-25 08:54:31 +01:00
2024-02-25 08:54:31 +01:00
2024-03-12 08:51:50 +01:00
2024-03-12 08:51:50 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-01-25 08:23:41 +01:00
2024-01-19 13:12:54 -07:00
2024-03-04 10:50:32 +01:00
2024-03-11 18:29:10 +01:00
2024-03-11 18:29:10 +01:00
2024-02-11 08:10:45 +01:00
2024-02-25 08:54:31 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-03-11 18:29:10 +01:00
2024-03-11 18:29:10 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-03-12 08:51:50 +01:00
2024-03-12 08:51:50 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-03-11 18:29:10 +01:00
2024-03-11 18:29:10 +01:00
2024-03-04 10:50:32 +01:00
2024-03-04 10:50:32 +01:00
2024-01-14 11:27:58 +00:00
2024-03-12 08:51:50 +01:00
2024-01-29 10:01:10 +00:00
2024-01-27 18:12:13 +01:00
2024-01-25 08:23:41 +01:00
2024-03-12 08:51:50 +01:00
2024-01-27 18:12:13 +01:00
2023-12-30 18:50:29 +01:00
2023-12-30 18:50:29 +01:00
2024-01-18 14:00:06 +01:00
2023-12-30 18:50:29 +01:00
2023-12-30 18:50:29 +01:00
2024-03-12 08:51:50 +01:00
2023-12-30 18:50:29 +01:00
2023-12-30 18:50:29 +01:00
2024-03-04 10:50:32 +01:00
2023-12-19 21:29:03 +01:00
2023-12-23 20:41:07 +01:00