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

Issue 1457873002: Move cursor property into CSSPropertyParser (Closed)

Created:
5 years, 1 month ago by rwlbuis
Modified:
5 years ago
Reviewers:
Timothy Loh
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 cursor property into CSSPropertyParser Move cursor property handling from LegacyCSSPropertyParser into CSSPropertyParser. BUG=499780 Committed: https://crrev.com/2b5dabfe0f52227c1e664f2f582aaf47e15c0b8f Cr-Commit-Position: refs/heads/master@{#362974}

Patch Set 1 #

Patch Set 2 : Cleanup patch #

Patch Set 3 : Add cursor to switch #

Total comments: 15

Patch Set 4 : Address review comments #

Patch Set 5 : Fix test failure #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase once more #

Total comments: 2

Patch Set 8 : Address review comments #

Total comments: 1

Patch Set 9 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -87 lines) Patch
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h View 1 2 3 4 5 6 7 4 chunks +11 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 5 6 7 8 3 chunks +92 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp View 1 2 3 4 5 6 7 8 4 chunks +1 line, -86 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
rwlbuis
PTAL. This also starts with the image stuff (image set in this case).
5 years, 1 month ago (2015-11-20 03:35:53 UTC) #3
Timothy Loh
https://codereview.chromium.org/1457873002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1457873002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode1868 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:1868: ASSERT(token.unitType() == CSSPrimitiveValue::UnitType::Unknown); This assertion doesn't look right, since ...
5 years, 1 month ago (2015-11-20 04:09:07 UTC) #4
Timothy Loh
https://codereview.chromium.org/1457873002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1457873002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode1936 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:1936: return list.release(); On 2015/11/20 04:09:06, Timothy Loh wrote: > ...
5 years, 1 month ago (2015-11-20 06:56:25 UTC) #5
rwlbuis
PTAL. https://codereview.chromium.org/1457873002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1457873002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode1868 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:1868: ASSERT(token.unitType() == CSSPrimitiveValue::UnitType::Unknown); On 2015/11/20 04:09:07, Timothy Loh ...
5 years, 1 month ago (2015-11-20 20:00:21 UTC) #6
rwlbuis
Don't forget this one :) It provides a good start for the <image> type handling ...
5 years ago (2015-12-02 22:22:09 UTC) #8
Timothy Loh
https://codereview.chromium.org/1457873002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1457873002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode1894 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:1894: image = consumeImageSet(consumeFunction(range)); On 2015/11/20 20:00:21, rwlbuis wrote: > ...
5 years ago (2015-12-02 23:59:10 UTC) #9
rwlbuis
> > > Doesn't this mean that any invalid -webkit-image-set(..) is just dropped > > ...
5 years ago (2015-12-03 04:03:22 UTC) #10
Timothy Loh
lgtm https://codereview.chromium.org/1457873002/diff/160001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1457873002/diff/160001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2167 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:2167: } while (consumeCommaIncludingWhitespace(args)); This needs to check args.atEnd() ...
5 years ago (2015-12-03 04:10:25 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1457873002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1457873002/200001
5 years ago (2015-12-03 12:36:21 UTC) #15
commit-bot: I haz the power
Committed patchset #9 (id:200001)
5 years ago (2015-12-03 13:43:18 UTC) #17
commit-bot: I haz the power
5 years ago (2015-12-03 13:44:22 UTC) #19
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/2b5dabfe0f52227c1e664f2f582aaf47e15c0b8f
Cr-Commit-Position: refs/heads/master@{#362974}

Powered by Google App Engine
This is Rietveld 408576698