New issue
Advanced search Search tips

Issue 761905 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[css-grid] grid shorthand does not reset the gutter properties

Project Member Reported by r...@igalia.com, Sep 5 2017

Issue description


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 by r...@igalia.com, Sep 5 2017

Description: Show this description

Comment 2 by r...@igalia.com, Sep 5 2017

Firefox is planning to modify their implementation too:
https://bugzilla.mozilla.org/show_bug.cgi?id=1387410
Project Member

Comment 3 by bugdroid1@chromium.org, Sep 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/850c817c6a46e5b3a420c02898e2adc2376d91fc

commit 850c817c6a46e5b3a420c02898e2adc2376d91fc
Author: Manuel Rego Casasnovas <rego@igalia.com>
Date: Wed Sep 06 08:10:06 2017

[css-grid] grid shorthand does not reset gutter properties

The CSS WG has resolved that the "grid" shorthand shouldn't reset
the gutter properties anymore:
https://github.com/w3c/csswg-drafts/issues/1036

This was originally implemented in r370102, so this is somehow
a revert of that change.
The patch adds a new test to WPT verifying the expected behavior.

BUG= 761905 
TEST=external/wpt/css/css-grid-1/grid-definition/grid-shorthand-001.html

Change-Id: Ib8b0591a0132c6520c3cfd8f13fb2cf2a33e1be0
Reviewed-on: https://chromium-review.googlesource.com/650406
Reviewed-by: Sergio Villar <svillar@igalia.com>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: meade_UTC10 <meade@chromium.org>
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#499901}
[add] https://crrev.com/850c817c6a46e5b3a420c02898e2adc2376d91fc/third_party/WebKit/LayoutTests/external/wpt/css/css-grid-1/grid-definition/grid-shorthand-001.html
[modify] https://crrev.com/850c817c6a46e5b3a420c02898e2adc2376d91fc/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-shorthand-get-set-expected.txt
[modify] https://crrev.com/850c817c6a46e5b3a420c02898e2adc2376d91fc/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-shorthand-get-set.html
[modify] https://crrev.com/850c817c6a46e5b3a420c02898e2adc2376d91fc/third_party/WebKit/LayoutTests/virtual/stable/webexposed/css-property-listing-expected.txt
[modify] https://crrev.com/850c817c6a46e5b3a420c02898e2adc2376d91fc/third_party/WebKit/LayoutTests/webexposed/css-property-listing-expected.txt
[modify] https://crrev.com/850c817c6a46e5b3a420c02898e2adc2376d91fc/third_party/WebKit/Source/core/css/CSSProperties.json5
[modify] https://crrev.com/850c817c6a46e5b3a420c02898e2adc2376d91fc/third_party/WebKit/Source/core/css/properties/CSSShorthandPropertyAPIGrid.cpp

Comment 4 by r...@igalia.com, Sep 6 2017

Owner: r...@igalia.com
Status: Fixed (was: Available)

Sign in to add a comment