Changeset 286595 in webkit
- Timestamp:
- Dec 7, 2021, 3:36:58 AM (5 years ago)
- Location:
- trunk/PerformanceTests
- Files:
-
- 1 added
- 1 edited
-
ChangeLog (modified) (1 diff)
-
Layout/large-grid.html (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PerformanceTests/ChangeLog
r286562 r286595 1 2021-12-07 Cathie Chen <cathiechen@igalia.com> 2 3 [Performance test][css-contain] Add test large-grid.html 4 https://bugs.webkit.org/show_bug.cgi?id=233628 5 6 Reviewed by Rob Buis. 7 8 This test large-grid.html is imported from Chromium, and we change it a little bit. 9 This case tests the performance of getting gridContainer.offsetHeight which is the parent of 10 a large grid with `contain: strict`. The performance is improved when enable CSS contain, 11 because offsetHeight returns the value directly if the element doesn't need relayout, see 12 `Document::updateLayoutIfDimensionsOutOfDate`. `contain: strict` sets a relayout boundary to 13 the large grid, so when its subtree changes, the container of the large grid doesn't need 14 relayout. 15 16 * Layout/large-grid.html: Added. 17 1 18 2021-12-06 Zan Dobersek <zdobersek@igalia.com> 2 19
Note:
See TracChangeset
for help on using the changeset viewer.