Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Issue 176853007: [CSS Grid Layout] Implementation of the grid shorthand. (Closed)

Created:
6 years, 10 months ago by jfernandez
Modified:
6 years, 8 months ago
CC:
blink-reviews, jfernandez, svillar, Manuel Rego, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[CSS Grid Layout] Implementation of the grid shorthand. 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 Notice that either explicit or implicit grid can be specified, assigning the initial values to the omitted properties. BUG=79180 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171143

Patch Set 1 : grid shorthand implementation. #

Patch Set 2 : The grid shorthand property should not be exposed. #

Total comments: 8

Patch Set 3 : Applied suggested changes. #

Patch Set 4 : Rebased and applied suggested changes. #

Patch Set 5 : Fixed compilation error in debug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -0 lines) Patch
A LayoutTests/fast/css-grid-layout/grid-shorthand-get-set.html View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download
A LayoutTests/fast/css-grid-layout/grid-shorthand-get-set-expected.txt View 1 2 3 1 chunk +150 lines, -0 lines 0 comments Download
A LayoutTests/fast/css-grid-layout/resources/grid-shorthand-parsing-utils.js View 1 chunk +57 lines, -0 lines 0 comments Download
M LayoutTests/platform/android/webexposed/css-properties-as-js-properties-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/webexposed/css-properties-as-js-properties-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/CSSProperty.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSPropertyNames.in View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSShorthands.in View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/RuntimeCSSEnabled.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 2 chunks +68 lines, -0 lines 0 comments Download
M Source/core/css/resolver/StyleBuilderCustom.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/UseCounter.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jfernandez
Initial implementation of the "grid" shorthand.
6 years, 8 months ago (2014-04-03 10:15:39 UTC) #1
Julien - ping for review
lgtm. From the description: > It basically defines the implicit and explicit grid properties using ...
6 years, 8 months ago (2014-04-03 21:14:30 UTC) #2
jfernandez
Applied suggested changes. https://codereview.chromium.org/176853007/diff/120001/Source/core/css/parser/CSSPropertyParser.cpp File Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/176853007/diff/120001/Source/core/css/parser/CSSPropertyParser.cpp#newcode3611 Source/core/css/parser/CSSPropertyParser.cpp:3611: ASSERT_UNUSED(shorthand, shorthand.length() == 4); On 2014/04/03 ...
6 years, 8 months ago (2014-04-04 15:09:34 UTC) #3
jfernandez
I'll wait for feedback on the "initial" values before trying the CQ, since I'm not ...
6 years, 8 months ago (2014-04-04 15:17:30 UTC) #4
apavlov
On 2014/04/04 15:17:30, jfernandez wrote: > I think other properties might have to use the ...
6 years, 8 months ago (2014-04-04 15:40:36 UTC) #5
jfernandez
The CQ bit was checked by jfernandez@igalia.com
6 years, 8 months ago (2014-04-07 19:51:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jfernandez@igalia.com/176853007/150001
6 years, 8 months ago (2014-04-07 19:51:36 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-07 20:02:19 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 8 months ago (2014-04-07 20:02:20 UTC) #9
jfernandez
The CQ bit was checked by jfernandez@igalia.com
6 years, 8 months ago (2014-04-07 21:00:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jfernandez@igalia.com/176853007/150001
6 years, 8 months ago (2014-04-07 21:00:32 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-07 21:28:13 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 8 months ago (2014-04-07 21:28:14 UTC) #13
jfernandez
The CQ bit was checked by jfernandez@igalia.com
6 years, 8 months ago (2014-04-09 08:23:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jfernandez@igalia.com/176853007/150001
6 years, 8 months ago (2014-04-09 08:24:01 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-09 08:56:59 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_compile_dbg
6 years, 8 months ago (2014-04-09 08:56:59 UTC) #17
jfernandez
The CQ bit was checked by jfernandez@igalia.com
6 years, 8 months ago (2014-04-09 12:27:30 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jfernandez@igalia.com/176853007/170001
6 years, 8 months ago (2014-04-09 12:27:40 UTC) #19
commit-bot: I haz the power
6 years, 8 months ago (2014-04-09 13:59:59 UTC) #20
Message was sent while issue was closed.
Change committed as 171143

Powered by Google App Engine
This is Rietveld 408576698