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

Issue 1415953002: Move two color related properties into CSSPropertyParser (Closed)

Created:
5 years, 2 months ago by rwlbuis
Modified:
5 years, 1 month 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

Move two color related properties into CSSPropertyParser Move two color related properties handling from LegacyCSSPropertyParser into CSSPropertyParser. BUG=499780 Committed: https://crrev.com/8e65bfbb9a84a701f5db97bd4fbf28f8a8c097aa Cr-Commit-Position: refs/heads/master@{#356539}

Patch Set 1 #

Patch Set 2 : Fix compilation #

Patch Set 3 : V2 #

Patch Set 4 : Rebase #

Patch Set 5 : Add color and fix some cases #

Patch Set 6 : Fix another test #

Total comments: 18

Patch Set 7 : Address review comments #

Patch Set 8 : Address more review comments #

Patch Set 9 : Add more clamping #

Patch Set 10 : Change test #

Total comments: 4

Patch Set 11 : Use RGBA32 as parameter #

Patch Set 12 : Split into multiple functions #

Patch Set 13 : Some final cleanups #

Total comments: 4

Patch Set 14 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -9 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/color-quirk.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +133 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp View 1 2 3 4 5 6 3 chunks +3 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
rwlbuis
PTAL.
5 years, 2 months ago (2015-10-21 02:42:30 UTC) #3
Timothy Loh
https://codereview.chromium.org/1415953002/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1415953002/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode362 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:362: { Both IE and FF round instead of truncating, ...
5 years, 1 month ago (2015-10-26 05:23:09 UTC) #4
rwlbuis
PTAL. I now realize this is an important patch since shadow and filter patches rely ...
5 years, 1 month ago (2015-10-26 22:21:24 UTC) #5
Timothy Loh
https://codereview.chromium.org/1415953002/diff/180001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1415953002/diff/180001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode370 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:370: static bool parseColorParameters(CSSParserTokenRange& range, int* colorArray, bool parseAlpha) parseColorParameters ...
5 years, 1 month ago (2015-10-27 03:52:21 UTC) #6
rwlbuis
PTAL. I don't think we can make it any more compact :) https://codereview.chromium.org/1415953002/diff/180001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp ...
5 years, 1 month ago (2015-10-27 20:07:50 UTC) #8
Timothy Loh
lgtm https://codereview.chromium.org/1415953002/diff/260001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1415953002/diff/260001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode393 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:393: RefPtrWillBeRawPtr<CSSPrimitiveValue> alphaValue = consumeNumber(args, ValueRangeAll); consumeNumberRaw probably works ...
5 years, 1 month ago (2015-10-27 23:57:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415953002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415953002/280001
5 years, 1 month ago (2015-10-28 00:54:11 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/87837)
5 years, 1 month ago (2015-10-28 02:09:09 UTC) #14
rwlbuis
https://codereview.chromium.org/1415953002/diff/260001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1415953002/diff/260001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode393 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:393: RefPtrWillBeRawPtr<CSSPrimitiveValue> alphaValue = consumeNumber(args, ValueRangeAll); On 2015/10/27 23:57:39, Timothy ...
5 years, 1 month ago (2015-10-28 02:59:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415953002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415953002/280001
5 years, 1 month ago (2015-10-28 11:21:08 UTC) #17
commit-bot: I haz the power
Committed patchset #14 (id:280001)
5 years, 1 month ago (2015-10-28 12:26:00 UTC) #18
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 12:26:31 UTC) #19
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/8e65bfbb9a84a701f5db97bd4fbf28f8a8c097aa
Cr-Commit-Position: refs/heads/master@{#356539}

Powered by Google App Engine
This is Rietveld 408576698