Bug 154472

Summary: [css-grid] Swap columns and rows in grid-template shorthand
Product: WebKit Reporter: Manuel Rego Casasnovas <rego>
Component: CSSAssignee: Manuel Rego Casasnovas <rego>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, jfernandez, rego, svillar
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 60731, 154915    
Attachments:
Description Flags
Patch
none
Patch none

Manuel Rego Casasnovas
Reported 2016-02-19 14:29:06 PST
[css-grid] Swap columns and rows in grid-template shorthand
Attachments
Patch (34.31 KB, patch)
2016-02-19 14:29 PST, Manuel Rego Casasnovas
no flags
Patch (34.41 KB, patch)
2016-02-22 05:22 PST, Manuel Rego Casasnovas
no flags
Manuel Rego Casasnovas
Comment 1 2016-02-19 14:29:42 PST
Manuel Rego Casasnovas
Comment 2 2016-02-19 14:31:11 PST
Darin Adler
Comment 3 2016-02-21 17:32:56 PST
Comment on attachment 271801 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=271801&action=review > Source/WebCore/css/CSSParser.cpp:5567 > + if (RefPtr<CSSValue> columnsValue = parseGridTrackList()) { I think auto is better here than naming the type. > Source/WebCore/css/CSSParser.cpp:5659 > + RefPtr<CSSValue> rowsValue = nullptr; No need for the "= nullptr" here. 1) All new RefPtr objects are null. 2) All code paths below initialize rowsValue anyway. > Source/WebCore/css/CSSParser.cpp:5666 > + RefPtr<CSSValue> columnsValue = parseGridTemplateColumns(); I would prefer auto here to naming the type.
Manuel Rego Casasnovas
Comment 4 2016-02-22 05:22:12 PST
WebKit Commit Bot
Comment 5 2016-02-22 06:08:38 PST
Comment on attachment 271917 [details] Patch Clearing flags on attachment: 271917 Committed r196934: <http://trac.webkit.org/changeset/196934>
WebKit Commit Bot
Comment 6 2016-02-22 06:08:42 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.