Bug 176375 - [css-grid] grid shorthand should not reset the gutter properties
Summary: [css-grid] grid shorthand should not reset the gutter properties
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Manuel Rego Casasnovas
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-09-05 08:37 PDT by Manuel Rego Casasnovas
Modified: 2017-09-27 12:35 PDT (History)
7 users (show)

See Also:


Attachments
Patch (7.35 KB, patch)
2017-09-05 08:43 PDT, Manuel Rego Casasnovas
no flags Details | Formatted Diff | Diff
Patch (7.35 KB, patch)
2017-09-05 08:50 PDT, Manuel Rego Casasnovas
no flags Details | Formatted Diff | Diff
Patch (12.14 KB, patch)
2017-09-06 02:13 PDT, Manuel Rego Casasnovas
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rego Casasnovas 2017-09-05 08:37:18 PDT
The spec has been modified and the gutter properties are not reset anymore by the "grid" shorthand.
We should update our implementation.

CSS WG resultion: https://github.com/w3c/csswg-drafts/issues/1036
Changes on the spec: https://github.com/w3c/csswg-drafts/commit/8f243616df9b967ae546459e955ce0186188b54b
Comment 1 Manuel Rego Casasnovas 2017-09-05 08:43:28 PDT
Created attachment 319898 [details]
Patch

Let's wait until Blink patch lands and the WPT test gets imoprted before landing this.
Comment 2 Javier Fernandez 2017-09-05 08:47:11 PDT
Comment on attachment 319898 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=319898&action=review

> Source/WebCore/ChangeLog:3
> +        [css-grid] grid shorthand does not reset the gutter properties

i guess that the bug is that "it does reset" We could also use "should not reset" but in any case it needs some clarification.

> LayoutTests/ChangeLog:3
> +        [css-grid] grid shorthand does not reset the gutter properties

ditto
Comment 3 Manuel Rego Casasnovas 2017-09-05 08:50:53 PDT
Created attachment 319901 [details]
Patch

Thanks for the review, applied suggested change.
Comment 4 Manuel Rego Casasnovas 2017-09-06 02:13:22 PDT
Created attachment 319991 [details]
Patch
Comment 5 WebKit Commit Bot 2017-09-06 02:59:30 PDT
Comment on attachment 319991 [details]
Patch

Clearing flags on attachment: 319991

Committed r221668: <http://trac.webkit.org/changeset/221668>
Comment 6 WebKit Commit Bot 2017-09-06 02:59:31 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2017-09-27 12:35:56 PDT
<rdar://problem/34693570>