Summary: | [CSS Grid Layout] Don't need to reset auto-margins during grid items layout | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Javier Fernandez <jfernandez> | ||||||
Component: | Layout and Rendering | Assignee: | Javier Fernandez <jfernandez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, darin, esprehn+autocc, glenn, hyatt, jfernandez, kondapallykalyan, rego, svillar | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Javier Fernandez
2015-10-02 15:03:37 PDT
Created attachment 262361 [details]
Patch
Comment on attachment 262361 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=262361&action=review > Source/WebCore/rendering/RenderGrid.cpp:1505 > + const RenderStyle* parentStyle = &style(); Better to leave this as a reference and put the & at each call site. That helps us in the future when we change the functions to take references instead of pointers. > Source/WebCore/rendering/RenderGrid.cpp:1527 > + const RenderStyle* parentStyle = &style(); Ditto. > Source/WebCore/rendering/RenderGrid.cpp:1652 > + // In order to properly adjust the Self Alignment values we need to consider the offset between tracks. Not sure why it’s good to capitalize the words “Self Alignment”. Created attachment 262524 [details]
Patch
Comment on attachment 262524 [details] Patch Clearing flags on attachment: 262524 Committed r190633: <http://trac.webkit.org/changeset/190633> All reviewed patches have been landed. Closing bug. |