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

Issue 1377203002: Move line-height property handling into CSSPropertyParser (Closed)

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

Description

Move line-height property handling into CSSPropertyParser Move line-height property handling from LegacyCSSPropertyParser into CSSPropertyParser. BUG=499780 Committed: https://crrev.com/d16ce74a235c849da49ce86a7a8c97dee6e5a37b Cr-Commit-Position: refs/heads/master@{#352023}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix test failures #

Total comments: 1

Patch Set 4 : Address review comments #

Total comments: 1

Patch Set 5 : Patch for landing #

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

Messages

Total messages: 14 (3 generated)
rwlbuis
PTAL.
5 years, 2 months ago (2015-10-01 20:40:41 UTC) #2
rwlbuis
On 2015/10/01 20:40:41, rwlbuis wrote: > PTAL. Forgot to say, after this patch we can ...
5 years, 2 months ago (2015-10-01 20:55:19 UTC) #3
Timothy Loh
Shouldn't consumeLineHeight check consumeNumber and then consumeLengthOrPercent? We reject the number+percent calcs anyway, so there's ...
5 years, 2 months ago (2015-10-02 01:45:28 UTC) #4
alancutter (OOO until 2018)
https://codereview.chromium.org/1377203002/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/1377203002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode196 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:196: if (calculation->category() != CalcNumber || (valueRange == ValueRangeNonNegative && ...
5 years, 2 months ago (2015-10-02 01:54:10 UTC) #5
rwlbuis
On 2015/10/02 01:54:10, alancutter wrote: > https://codereview.chromium.org/1377203002/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/1377203002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode196 > ...
5 years, 2 months ago (2015-10-02 03:24:10 UTC) #6
alancutter (OOO until 2018)
On 2015/10/02 at 01:45:28, timloh wrote: > Shouldn't consumeLineHeight check consumeNumber and then consumeLengthOrPercent? We ...
5 years, 2 months ago (2015-10-02 03:31:11 UTC) #7
alancutter (OOO until 2018)
lgtm
5 years, 2 months ago (2015-10-02 03:40:54 UTC) #8
alancutter (OOO until 2018)
https://codereview.chromium.org/1377203002/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1377203002/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode200 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:200: return calcParser.consumeValue(); Last minute catch, this should be consumeNumber().
5 years, 2 months ago (2015-10-02 03:50:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1377203002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1377203002/80001
5 years, 2 months ago (2015-10-02 12:39:44 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-02 14:01:06 UTC) #13
commit-bot: I haz the power
5 years, 2 months ago (2015-10-02 14:01:57 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d16ce74a235c849da49ce86a7a8c97dee6e5a37b
Cr-Commit-Position: refs/heads/master@{#352023}

Powered by Google App Engine
This is Rietveld 408576698