servo/tests
Oriol Brufau 3d2f0d1be5
layout: Fix depends_on_block_constraints logic (#38318)
The logic was wrong, sometimes we weren't setting it to true on flex
containers that needed it, and then as a workaround we were setting it
to to true on flex items that didn't need it.

For example, this testcase had 5 cache misses when stretching the items,
now we will avoid laying them out again:
```html
<div style="display: flex">
  <div></div>  <div></div>  <div></div>  <div></div>  <div></div>
</div>
```

Also, the workaround wasn't always working, e.g. it failed to stretch
the green element here:
```html
<div style="display: flex; min-height: 200px">
  <div>
    <div style="display: flex; height: 100%; background-color: red">
      <div style="width: 200px; background-color: green;"></div>
    </div>
  </div>
</div>
```

Testing: Adding new test
Fixes: #38023

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-07-29 09:59:54 +00:00
..
dromaeo
html layout: Support wavy and double for text-decoration-line (#37079) 2025-05-22 17:42:50 +00:00
jquery
power
unit script: Add support for polygons in HtmlAreaElement::hit_test (#37064) 2025-05-24 09:53:27 +00:00
wpt layout: Fix depends_on_block_constraints logic (#38318) 2025-07-29 09:59:54 +00:00