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

Issue 1798863005: Move some grid-column/grid-row related longhands into CSSPropertyParser (Closed)

Created:
4 years, 9 months ago by rwlbuis
Modified:
4 years, 9 months ago
CC:
chromium-reviews, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move some grid-column/grid-row related longhands into CSSPropertyParser Move the following grid-column/grid-row related longhands from LegacyCSSPropertyParser into CSSPropertyParser: grid-column-start, grid-column-end, grid-row-start, grid-row-end BUG=499780 Committed: https://crrev.com/f4fd3e2d624ded5f0c038ed0da633b68061090cf Cr-Commit-Position: refs/heads/master@{#381645}

Patch Set 1 #

Patch Set 2 : Also take into account auto+csswide keywords #

Patch Set 3 : Fix test result #

Patch Set 4 : V4 #

Total comments: 4

Patch Set 5 : Address review comments #

Patch Set 6 : Standalone change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set.html View 1 2 3 4 3 chunks +30 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set-expected.txt View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 5 2 chunks +54 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
rwlbuis
PTAL.
4 years, 9 months ago (2016-03-16 02:10:26 UTC) #3
Timothy Loh
jfernandez - do you know what the intended behavior for match 'auto' or 'span' as ...
4 years, 9 months ago (2016-03-16 04:24:26 UTC) #4
jfernandez
On 2016/03/16 04:24:26, Timothy Loh wrote: > jfernandez - do you know what the intended ...
4 years, 9 months ago (2016-03-16 09:36:04 UTC) #5
Manuel Rego
On 2016/03/16 09:36:04, jfernandez wrote: > On 2016/03/16 04:24:26, Timothy Loh wrote: > > jfernandez ...
4 years, 9 months ago (2016-03-16 10:51:30 UTC) #7
rwlbuis
https://codereview.chromium.org/1798863005/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1798863005/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode3274 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:3274: if (isCSSWideKeyword(range.peek().id()) || range.peek().id() == CSSValueAuto || range.peek().id() == ...
4 years, 9 months ago (2016-03-16 17:02:02 UTC) #9
rwlbuis
On 2016/03/16 10:51:30, Manuel Rego wrote: > On 2016/03/16 09:36:04, jfernandez wrote: > > On ...
4 years, 9 months ago (2016-03-16 20:20:17 UTC) #13
rwlbuis
https://codereview.chromium.org/1798863005/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1798863005/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode3304 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:3304: // Negative numbers are not allowed for span (but ...
4 years, 9 months ago (2016-03-16 20:23:42 UTC) #14
rwlbuis
PTAL. Note that this change depends on the following patch to work: https://codereview.chromium.org/1808753002/
4 years, 9 months ago (2016-03-16 20:32:36 UTC) #15
Timothy Loh
lgtm On 2016/03/16 10:51:30, Manuel Rego wrote: > On 2016/03/16 09:36:04, jfernandez wrote: > > ...
4 years, 9 months ago (2016-03-17 00:12:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1798863005/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1798863005/120001
4 years, 9 months ago (2016-03-17 01:28:34 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 9 months ago (2016-03-17 02:32:47 UTC) #20
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/f4fd3e2d624ded5f0c038ed0da633b68061090cf Cr-Commit-Position: refs/heads/master@{#381645}
4 years, 9 months ago (2016-03-17 02:34:25 UTC) #22
Manuel Rego
On 2016/03/17 00:12:31, Timothy Loh wrote: > Seems reasonable for this patch to match current ...
4 years, 9 months ago (2016-03-17 09:05:32 UTC) #23
Manuel Rego
4 years, 9 months ago (2016-03-18 10:23:25 UTC) #24
Message was sent while issue was closed.
On 2016/03/17 09:05:32, Manuel Rego wrote:
> On 2016/03/17 00:12:31, Timothy Loh wrote:
> > Seems reasonable for this patch to match current behaviour in rejecting
> > auto/span as <custom-ident>. I'm not entirely convinced by the specs though,
> as
> > css-values says
> > 
> > "Specifications using <custom-ident> must specify clearly what other
keywords
> > are excluded from <custom-ident>, if any—for example by saying that any
> > pre-defined keywords in that property’s value definition are excluded."
> > 
> > The grid spec doesn't specify any keywords to be excluded. Example 4 in
> > css-values has "animation: ease-in ease-out" as valid with ease-out as the
> > animation name, so it seems like "span auto" should be similarly valid. Tab
> has
> > said (https://lists.w3.org/Archives/Public/www-style/2014Feb/0734.html) that
> > these wouldn't be valid though, so maybe the css-grid spec just needs to be
> > updated to be clearer?
> 
> Yep, you're right there's a kind of contradiction in the spec,
> I've mailed CSS WG to clarify it:
> https://lists.w3.org/Archives/Public/www-style/2016Mar/0247.html

As you thought Tab confirmed that the grid spec needs to be updated:
https://lists.w3.org/Archives/Public/www-style/2016Mar/0256.html

Powered by Google App Engine
This is Rietveld 408576698