WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
132122
[CSS Grid Layout] Implementation of the "grid" shorthand.
https://bugs.webkit.org/show_bug.cgi?id=132122
Summary
[CSS Grid Layout] Implementation of the "grid" shorthand.
Javier Fernandez
Reported
2014-04-24 03:03:08 PDT
The grid property is a shorthand that sets all of the explicit grid properties (grid-template-rows, grid-template-columns, and grid-template-areas) as well as all the implicit grid properties (grid-auto-rows, grid-auto-columns, and grid-auto-flow) in a single declaration.
Attachments
Patch
(32.99 KB, patch)
2014-04-24 07:33 PDT
,
Javier Fernandez
no flags
Details
Formatted Diff
Diff
Patch
(33.24 KB, patch)
2014-04-25 06:08 PDT
,
Javier Fernandez
no flags
Details
Formatted Diff
Diff
Patch
(34.90 KB, patch)
2014-05-01 13:28 PDT
,
Javier Fernandez
no flags
Details
Formatted Diff
Diff
Patch
(46.15 KB, patch)
2014-05-22 02:11 PDT
,
Javier Fernandez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Javier Fernandez
Comment 1
2014-04-24 07:33:49 PDT
Created
attachment 230078
[details]
Patch
Darin Adler
Comment 2
2014-04-24 07:57:52 PDT
Comment on
attachment 230078
[details]
Patch EWS was unable to apply the patch. I suggest rebasing and uploading a new one.
Javier Fernandez
Comment 3
2014-04-24 10:19:01 PDT
(In reply to
comment #2
)
> (From update of
attachment 230078
[details]
) > EWS was unable to apply the patch. I suggest rebasing and uploading a new one.
The problem is that it highly depends on
bug #12898
, so it'd be great if you or someone else could review it.
Javier Fernandez
Comment 4
2014-04-24 10:22:48 PDT
(In reply to
comment #3
)
> (In reply to
comment #2
) > > (From update of
attachment 230078
[details]
[details]) > > EWS was unable to apply the patch. I suggest rebasing and uploading a new one. > > The problem is that it highly depends on
bug #12898
, so it'd be great if you or someone else could review it.
Sorry, I meant it depends on the patch for the
bug #128980
.
Javier Fernandez
Comment 5
2014-04-25 06:08:42 PDT
Created
attachment 230176
[details]
Patch Patch rebased.
Javier Fernandez
Comment 6
2014-04-30 14:08:36 PDT
Now that the "grid-template" shorthand has been implemented, perhaps someone could review this patch.
Javier Fernandez
Comment 7
2014-05-01 12:48:02 PDT
Comment on
attachment 230176
[details]
Patch clearing flags because probably this patch is affected by the cause of the regression indentified in
bug #132194
Javier Fernandez
Comment 8
2014-05-01 13:28:07 PDT
Created
attachment 230607
[details]
Patch Patch rebased to use the enhanced version of the grid-template shorthand. I've also introduced the changes required to avoid the regression identified in
bug #132194
Javier Fernandez
Comment 9
2014-05-06 11:00:34 PDT
ping reviewers.
Benjamin Poulain
Comment 10
2014-05-19 14:22:48 PDT
Comment on
attachment 230607
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=230607&action=review
Quick comments.
> Source/WebCore/css/CSSParser.cpp:4942 > + RefPtr<CSSValue> autoColumnsValue = nullptr; > + RefPtr<CSSValue> autoRowsValue = nullptr;
No need for = nullptr. RefPtr is initialized like that.
> LayoutTests/fast/css-grid-layout/grid-shorthand-get-set.html:36 > +/* Bad values. */ > + > +#gridWithExplicitAndImplicit { > + -webkit-grid: 10px / 20px column; > +} > +#gridWithMisplacedNone1 { > + -webkit-grid: column 10px / none 20px; > +} > +#gridWithMisplacedNone2 { > + -webkit-grid: 10px / 20px none; > +}
That's very little coverage for bad cases.
Javier Fernandez
Comment 11
2014-05-22 02:11:16 PDT
Created
attachment 231871
[details]
Patch Patch rebased and applied suggested changes.
WebKit Commit Bot
Comment 12
2014-05-26 09:25:56 PDT
Comment on
attachment 231871
[details]
Patch Clearing flags on attachment: 231871 Committed
r169349
: <
http://trac.webkit.org/changeset/169349
>
WebKit Commit Bot
Comment 13
2014-05-26 09:26:01 PDT
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.
Top of Page
Format For Printing
XML
Clone This Bug