Changeset 196983 in webkit for trunk/Source/WebCore/ChangeLog
- Timestamp:
- Feb 23, 2016, 10:17:17 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/Source/WebCore/ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r196978 r196983 1 2016-02-23 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [css-grid] Avoid duplicated calls to resolution code 4 https://bugs.webkit.org/show_bug.cgi?id=154336 5 6 Reviewed by Sergio Villar Senin. 7 8 We were calling GridResolvedPosition::resolveGridPositionsFromStyle() 9 several times per item. 10 11 We can store the GridCoordinates in 12 RenderGrid::populateExplicitGridAndOrderIterator() 13 and reuse them in the placement code. 14 Once RenderGrid::placeItemsOnGrid() is over, 15 all the items will have a definite position in both axis. 16 17 No new tests, no change of behavior. 18 19 * rendering/RenderGrid.cpp: 20 (WebCore::RenderGrid::insertItemIntoGrid): 21 (WebCore::RenderGrid::placeItemsOnGrid): 22 (WebCore::RenderGrid::populateExplicitGridAndOrderIterator): 23 (WebCore::RenderGrid::placeSpecifiedMajorAxisItemsOnGrid): 24 (WebCore::RenderGrid::placeAutoMajorAxisItemOnGrid): 25 (WebCore::RenderGrid::cachedGridCoordinate): 26 (WebCore::RenderGrid::cachedGridSpan): 27 * rendering/RenderGrid.h: 28 1 29 2016-02-23 Manuel Rego Casasnovas <rego@igalia.com> 2 30
Note:
See TracChangeset
for help on using the changeset viewer.