| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/61561.
When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.
WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[layout] Fix OOF-positioned margin under-invalidation.
In crrev.com/c/7812714 we simplified the OOF layout code by making the
constraint-space construction the same for the two places where we
invoke layout on a non-replaced element.
This introduced an under-invaldation bug when margins change.
Previously when a margin changed, we'd calculate a new fixed-block size,
which would cause the cache-miss. Importantly for OOF-positioned we
don't mark the layout-object as dirty when a margin changes.
With the new code we would potentially just compare the
constraint-spaces directly (without computing the block-size), causes
the incorrect cache-hit.
Skipping the margin layout invalidation likely isn't important for
real-world use-cases so just mark a layout object as needing layout for
this case.
Additionally remove the two bespoke field-diffs:
- "margin" just becomes "layout" for OOF.
- "out-of-flow" switches to "inset", and now we just check if we have
non-static position.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/61561
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |