mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +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.html | ||
inline-svg-with-zero-intrinsic-size-and-no-viewbox.html | ||
nested-viewports.html | ||
objectBoundingBox-mask.html | ||
svg-as-image-implicit-viewbox.html | ||
svg-as-image-invalid.html | ||
svg-as-image.html | ||
svg-circle-percentage-attr.html | ||
svg-different-types-of-opacity.html | ||
svg-fill-with-bogus-url.html | ||
svg-g-with-opacity.html | ||
svg-inside-svg-with-xy.html | ||
svg-inside-svg.html | ||
svg-intrinsic-size-in-one-dimension.html | ||
svg-negative-elliptical-arg-number.html | ||
svg-path-with-implicit-lineto.html | ||
svg-symbol-with-viewbox.html | ||
svg-with-css-variable-in-presentation-hint.html | ||
svg-with-display-block.html | ||
svg-with-zero-intrinsic-size-and-no-viewbox.svg | ||
svg-with-zero-sized-viewBox.html | ||
text-fill-none.html | ||
use-honor-outer-viewBox.html |