servo/tests
Oriol Brufau e10e989abb
Don't transfer indefinite height: stretch to inline axis (#34557)
Consider this testcase:
```html
<canvas style="aspect-ratio: 1; height: stretch; background: cyan"
        width="200" height="100"></canvas>
```

To compute the intrinsic inline sizes we were treating `height: stretch`
as the natural height (100px) and then transferring that to the inline
axis through the preferred aspect ratio. So the element was 100px wide.

However, an indefinite `stretch` should be treated as an automatic size,
which wouldn't be transferred to the inline axis.

The fix actually makes the code slightly simpler.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-12-10 11:12:28 +00:00
..
dromaeo mach: Add test-speedometer command and --bmf-output to speedometer and dromaeo (#33247) 2024-08-29 15:58:57 +00:00
html fonts: Use FontInstanceFlags::EMBEDDED_BITMAPS for color fonts on MacOS (#32203) 2024-05-02 06:50:59 +00:00
jquery Remove __future__ imports that are no longer necessary (#30661) 2023-11-02 12:01:10 +00:00
power Remove __future__ imports that are no longer necessary (#30661) 2023-11-02 12:01:10 +00:00
unit Make Servo compatible with Stylo with prefers-color-scheme support (#34423) 2024-11-29 13:48:28 +00:00
wpt Don't transfer indefinite height: stretch to inline axis (#34557) 2024-12-10 11:12:28 +00:00