Changeset 134935 in webkit for trunk/Source/WebCore/ChangeLog
- Timestamp:
- Nov 16, 2012, 5:32:18 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/Source/WebCore/ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r134934 r134935 1 2012-11-16 Julien Chaffraix <jchaffraix@webkit.org> 2 3 RenderGrid should have a function to resolve grid position 4 https://bugs.webkit.org/show_bug.cgi?id=102441 5 6 Reviewed by Ojan Vafai. 7 8 The code was doing this conversion implicitly inside RenderGrid::findChildLogicalPosition. 9 Also note that we also provided a fallback by returning LayoutPoint() (ie the (0, 0) position 10 on the grid) if we couldn't handle the value. The explicit conversion is needed in order to 11 support render areas and add a proper grid model to RenderGrid. 12 13 No expected change in behavior. 14 15 * rendering/RenderGrid.h: 16 * rendering/RenderGrid.cpp: 17 (WebCore::RenderGrid::resolveGridPosition): 18 Added this new function to handle the conversion. We re-use Length but should never see 19 a lot of the <length> values so I added some ASSERTs to enforce and catch that. 20 21 (WebCore::RenderGrid::findChildLogicalPosition): 22 Simplified the function now that it just use resolveGridPosition. 23 1 24 2012-11-16 Ulan Degenbaev <ulan@chromium.org> 2 25
Note:
See TracChangeset
for help on using the changeset viewer.