1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00
serenity/Tests/LibWeb/Layout/expected/svg
Andreas Kling e7de5cb4d2 LibWeb: Bring CSS line-height closer to other engines
This patch makes a few changes to the way we calculate line-height:

- `line-height: normal` is now resolved using metrics from the used
  font (specifically, round(A + D + lineGap)).

- `line-height: calc(...)` is now resolved at style compute time.

- `line-height` values are now absolutized at style compute time.

As a consequence of the above, we no longer need to walk the DOM
ancestor chain looking for line-heights during style computation.
Instead, values are inherited, resolved and absolutized locally.

This is not only much faster, but also makes our line-height metrics
match those of other engines like Gecko and Blink.
2024-01-12 15:04:06 +01:00
..
dont-stretch-fit-svg-with-indefinite-containing-block-width.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
objectBoundingBox-mask.txt LibWeb: Do not crash when svg mask calculation failed 2023-12-16 19:48:36 +01:00
svg-as-image-implicit-viewbox.txt LibWeb: Only propagate CSS overflow to the viewport once per tree build 2023-11-02 20:50:48 +01:00
svg-as-image-invalid.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
svg-as-image.txt LibWeb: Only propagate CSS overflow to the viewport once per tree build 2023-11-02 20:50:48 +01:00
svg-different-types-of-opacity.txt LibWeb: Remove rounding division for CSSPixels 2024-01-06 21:40:27 +01:00
svg-fill-with-bogus-url.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
svg-g-with-opacity.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
svg-inside-svg.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
svg-intrinsic-size-in-one-dimension.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
svg-negative-elliptical-arg-number.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
svg-path-with-implicit-lineto.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
svg-symbol-with-viewbox.txt LibWeb: Remove should_ensure_creation_of_paintable() SVG hack 2023-11-14 10:13:10 +01:00
svg-with-css-variable-in-presentation-hint.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
svg-with-display-block.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00
svg-with-zero-intrinsic-size-and-no-viewbox.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
svg-with-zero-sized-viewBox.txt LibWeb: Check for invalid SVG viewBox sizes 2023-11-11 22:41:57 +01:00
text-fill-none.txt LibWeb: Support transforms, stroking, gradients, etc for SVG <text> 2023-11-05 02:46:46 +01:00