| Commit-Queue | +1 |
Thanks for the review almaher@.
I discovered that these changes also fixed the other invalidation bugs I had found and added WPTs for them as well; could I get a fresh CR+1?
StyleRef().HasGapRule()) {Kevin BabbittIs it possible to key off of whether we have a gap geometry instead, or is this synonymous?
Alison MaherIt is, and I suppose it would be marginally faster in certain edge cases where we have property values but no actual decorations. It's not as elegant though since it requires iterating fragments. I made this change its own patchset; I'm fine keeping it but would also happily revert - let me know what you think.
Kevin BabbittForgot this would be per fragment. One idea would be if we can assume if the first fragment needs it, they all will, but what you had originally is a lot simpler, so reverting back to that sounds good to me. Was mainly thinking of the cases where we have a gap rule, but don't actually create decorations, but that is likely a rare edge case
Reverted.
| 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. |
| Commit-Queue | +2 |
| 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/57628.
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. |
Repaint gap decorations after item size or position changes
Gap decorations were not being redrawn correctly after items in flex
and grid containers were added, removed, or resized in a way that didn't
affect the size of the container itself. The fix is to invalidate paint
after layout when gap decorations have been specified. It may be
possible to scope these invalidations more tightly; that is left to
future exploration.
| 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/57628
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |