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

Issue 647483009: CSS Parser: Implement parseValue (Closed)

Created:
6 years, 2 months ago by Timothy Loh
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-css, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

CSS Parser: Implement parseValue This patch begins the parser portion of the CSS parser rewrite. To avoid making a copy of the CSSPropertyParser, we temporarily add a conversion from the new CSSParserTokens to CSSParserValues. Note the runtime flag is not marked as test/experimental, so this code is not yet being run. This patch passes all tests except CSSPropertyParserTest.GridTrackLimits and fast/css-grid-layout/named-grid-line-get-set.html, which will be fixed in a later patch. The former fails due to bad handling of large numbers in the new tokenizer, and the latter fails as the Bison CSS parser is a bit more restrictive in handling brackets. BUG=330389 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185003

Patch Set 1 #

Patch Set 2 : rebase yay #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : rebase / update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -0 lines) Patch
M Source/core/core.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSParser.cpp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
A Source/core/css/parser/CSSParserImpl.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A Source/core/css/parser/CSSParserImpl.cpp View 1 1 chunk +43 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserToken.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserValues.h View 4 chunks +11 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserValues.cpp View 1 2 3 1 chunk +167 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Timothy Loh
6 years, 1 month ago (2014-11-03 23:38:32 UTC) #2
alancutter (OOO until 2018)
There should really be unit tests added here for the odd cases that aren't likely ...
6 years, 1 month ago (2014-11-07 19:36:12 UTC) #3
Timothy Loh
When we're ready to switch on the new parser every property value in all the ...
6 years, 1 month ago (2014-11-08 00:42:49 UTC) #4
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/647483009/diff/40001/Source/core/css/parser/CSSParserValues.cpp File Source/core/css/parser/CSSParserValues.cpp (right): https://codereview.chromium.org/647483009/diff/40001/Source/core/css/parser/CSSParserValues.cpp#newcode50 Source/core/css/parser/CSSParserValues.cpp:50: || ((it + 3)->type() == RightParenthesisToken && (it ...
6 years, 1 month ago (2014-11-08 00:59:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/647483009/60001
6 years, 1 month ago (2014-11-08 01:03:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/647483009/60001
6 years, 1 month ago (2014-11-08 01:03:20 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/35423)
6 years, 1 month ago (2014-11-08 02:59:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/647483009/60001
6 years, 1 month ago (2014-11-08 04:28:44 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-11-08 06:01:12 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as 185003

Powered by Google App Engine
This is Rietveld 408576698