Bug 176375

Summary: [css-grid] grid shorthand should not reset the gutter properties
Product: WebKit Reporter: Manuel Rego Casasnovas <rego>
Component: Layout and RenderingAssignee: Manuel Rego Casasnovas <rego>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, jfernandez, simon.fraser, svillar, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.chromium.org/p/chromium/issues/detail?id=761905
https://bugzilla.mozilla.org/show_bug.cgi?id=1387410
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

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>