Summary: | [css-grid] Fix static position of positioned grid items | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Manuel Rego Casasnovas <rego> | ||||||
Component: | Layout and Rendering | Assignee: | Manuel Rego Casasnovas <rego> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bfulgham, commit-queue, jfernandez, simon.fraser, svillar, zalan | ||||||
Priority: | P2 | Keywords: | BlinkMergeCandidate | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 60731, 172117 | ||||||||
Attachments: |
|
Description
Manuel Rego Casasnovas
2017-05-15 01:46:14 PDT
Created attachment 310118 [details]
Patch
Comment on attachment 310118 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=310118&action=review > Source/WebCore/rendering/RenderGrid.cpp:938 > + childLayer->setStaticBlockPosition(LayoutUnit(borderBefore())); boderStart() and boderBefore() already return a LayoutUnit, why do we need to create a new one ? Created attachment 310126 [details]
Patch
New version applying suggested changes
Comment on attachment 310118 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=310118&action=review >> Source/WebCore/rendering/RenderGrid.cpp:938 >> + childLayer->setStaticBlockPosition(LayoutUnit(borderBefore())); > > boderStart() and boderBefore() already return a LayoutUnit, why do we need to create a new one ? Indeed we don't need that. Fixed in the new version of the patch. Thanks! Comment on attachment 310126 [details] Patch Clearing flags on attachment: 310126 Committed r216916: <http://trac.webkit.org/changeset/216916> All reviewed patches have been landed. Closing bug. |