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

Issue 1889143003: Improve named grid areas parsing (Closed)

Created:
4 years, 8 months ago by rwlbuis
Modified:
4 years, 8 months ago
Reviewers:
Timothy Loh
CC:
chromium-reviews, jfernandez, svillar, 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

Improve named grid areas parsing Improve named grid areas parsing [1] in two ways: 1. accept any CSS whitespace, not just ' '. 2. only allow name code points besides '.' and whitespace. Also refactor a bit so we reuse code point functions from CSSTokenizer in CSSMarkup. BUG=418614 [1] https://drafts.csswg.org/css-grid/#valdef-grid-template-areas-string Committed: https://crrev.com/8fa9ade5495c6b372dfc5459da8a7179816407e3 Cr-Commit-Position: refs/heads/master@{#388504}

Patch Set 1 #

Patch Set 2 : Fix test failure #

Patch Set 3 : More refactoring #

Patch Set 4 : Patch for review #

Total comments: 2

Patch Set 5 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -29 lines) Patch
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-areas-get-set.html View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-areas-get-set-expected.txt View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSMarkup.cpp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSParserIdioms.h View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp View 1 2 6 chunks +6 lines, -21 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
rwlbuis
PTAL.
4 years, 8 months ago (2016-04-18 21:37:22 UTC) #3
rwlbuis
On 2016/04/18 21:37:22, rwlbuis wrote: > PTAL. BTW, not sure about the bug, could make ...
4 years, 8 months ago (2016-04-18 21:37:46 UTC) #4
Manuel Rego
On 2016/04/18 21:37:46, rwlbuis wrote: > On 2016/04/18 21:37:22, rwlbuis wrote: > > PTAL. > ...
4 years, 8 months ago (2016-04-19 07:50:28 UTC) #5
rwlbuis
On 2016/04/19 07:50:28, Manuel Rego wrote: > On 2016/04/18 21:37:46, rwlbuis wrote: > > On ...
4 years, 8 months ago (2016-04-19 13:06:57 UTC) #6
rwlbuis
On 2016/04/19 07:50:28, Manuel Rego wrote: > On 2016/04/18 21:37:46, rwlbuis wrote: > > On ...
4 years, 8 months ago (2016-04-19 18:39:01 UTC) #8
Timothy Loh
lgtm I don't think we need to import the test in this patch as long ...
4 years, 8 months ago (2016-04-20 04:31:11 UTC) #9
Manuel Rego
On 2016/04/20 04:31:11, Timothy Loh wrote: > I don't think we need to import the ...
4 years, 8 months ago (2016-04-20 07:02:29 UTC) #10
rwlbuis
https://codereview.chromium.org/1889143003/diff/60001/third_party/WebKit/Source/core/css/parser/CSSParserIdioms.h File third_party/WebKit/Source/core/css/parser/CSSParserIdioms.h (right): https://codereview.chromium.org/1889143003/diff/60001/third_party/WebKit/Source/core/css/parser/CSSParserIdioms.h#newcode49 third_party/WebKit/Source/core/css/parser/CSSParserIdioms.h:49: if (isASCIIAlpha(c)) On 2016/04/20 04:31:11, Timothy Loh wrote: > ...
4 years, 8 months ago (2016-04-20 11:18:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889143003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889143003/80001
4 years, 8 months ago (2016-04-20 14:22:02 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-20 15:36:37 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:23:45 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8fa9ade5495c6b372dfc5459da8a7179816407e3
Cr-Commit-Position: refs/heads/master@{#388504}

Powered by Google App Engine
This is Rietveld 408576698