mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
![]() 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. |
||
---|---|---|
.. | ||
dont-stretch-fit-svg-with-indefinite-containing-block-width.txt | ||
inline-svg-with-zero-intrinsic-size-and-no-viewbox.txt | ||
nested-viewports.txt | ||
objectBoundingBox-mask.txt | ||
svg-as-image-implicit-viewbox.txt | ||
svg-as-image-invalid.txt | ||
svg-as-image.txt | ||
svg-circle-percentage-attr.txt | ||
svg-different-types-of-opacity.txt | ||
svg-fill-with-bogus-url.txt | ||
svg-g-with-opacity.txt | ||
svg-inside-svg-with-xy.txt | ||
svg-inside-svg.txt | ||
svg-intrinsic-size-in-one-dimension.txt | ||
svg-negative-elliptical-arg-number.txt | ||
svg-path-with-implicit-lineto.txt | ||
svg-symbol-with-viewbox.txt | ||
svg-with-css-variable-in-presentation-hint.txt | ||
svg-with-display-block.txt | ||
svg-with-zero-intrinsic-size-and-no-viewbox.txt | ||
svg-with-zero-sized-viewBox.txt | ||
text-fill-none.txt | ||
use-honor-outer-viewBox.txt |