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

Issue 1416503002: Parse {animation,transition}-timing-function in CSSPropertyParser with CSSParserTokens (Closed)

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

Description

Parse {animation,transition}-timing-function in CSSPropertyParser with CSSParserTokens This patch moves the properties animation-timing-function and transition-timing-function from the LegacyCSSPropertyParser to the CSSPropertyParser. Some of the logic here is set up as infrastructure for adding the remaining animation and transition properties. Note that the logic is still required in the legacy property parser until the animation and transition shorthands are moved across. This patch adds a consumeNumberRaw function, which consumes a number from a CSSParserTokenRange as a double instead of a CSSValue. We may eventually want to make consumeNumber call into consumeNumberRaw, but for now I'm leaving these as separate due to potentially subtle behaviour in calcs and unit type for serialization. BUG=499780 Committed: https://crrev.com/425c4fdec0debd5dccca66ee9031cb7bebcde865 Cr-Commit-Position: refs/heads/master@{#354983}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -2 lines) Patch
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 5 chunks +126 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (4 generated)
Timothy Loh
There are five patches here (I'm just sending out the first one to save you ...
5 years, 2 months ago (2015-10-19 05:58:37 UTC) #2
Timothy Loh
There are five patches here (I'm just sending out the first one to save you ...
5 years, 2 months ago (2015-10-19 05:58:37 UTC) #3
rwlbuis
lgtm with some nits. https://codereview.chromium.org/1416503002/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1416503002/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode205 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:205: const CSSParserToken& token = range.peek(); ...
5 years, 2 months ago (2015-10-19 14:12:51 UTC) #4
Timothy Loh
https://codereview.chromium.org/1416503002/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1416503002/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode205 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:205: const CSSParserToken& token = range.peek(); On 2015/10/19 14:12:51, rwlbuis ...
5 years, 2 months ago (2015-10-20 04:09:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416503002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416503002/40001
5 years, 2 months ago (2015-10-20 04:09:36 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 2 months ago (2015-10-20 05:18:30 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-10-20 05:19:11 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/425c4fdec0debd5dccca66ee9031cb7bebcde865
Cr-Commit-Position: refs/heads/master@{#354983}

Powered by Google App Engine
This is Rietveld 408576698