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

Issue 1375753002: Move font shorthand handling into CSSPropertyParser (Closed)

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

Description

Move font shorthand handling into CSSPropertyParser Now that all the needed longhand properties are converted, add logic for the font shorthand from LegacyCSSPropertyParserinto CSSPropertyParser. BUG=499780 Committed: https://crrev.com/6c4b3dfb01fa5ba86c39143076aa4712ea7b4029 Cr-Commit-Position: refs/heads/master@{#352762}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase again #

Patch Set 4 : Refactor #

Patch Set 5 : Add shorthand handling and fix test failures #

Patch Set 6 : Remove m_ruleType and implicit param #

Patch Set 7 : Rebase against ToT #

Total comments: 2

Patch Set 8 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -292 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/font-shorthand-expected.txt View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h View 1 2 3 4 5 3 chunks +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 5 6 7 7 chunks +118 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp View 1 2 3 4 4 chunks +1 line, -278 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
rwlbuis
PTAL. Some comments: - font-shorthand.html fails because of a difference in logic parsing the optional ...
5 years, 2 months ago (2015-10-02 21:25:05 UTC) #2
rwlbuis
I forgot to mention, this has the ShorthandScope removed. AFAIK this is still important for ...
5 years, 2 months ago (2015-10-04 22:03:03 UTC) #3
Timothy Loh
Parsing code OK since it matches existing behaviour. I think we updated the StylePropertySerializer a ...
5 years, 2 months ago (2015-10-06 02:24:39 UTC) #4
rwlbuis
On 2015/10/06 02:24:39, Timothy Loh wrote: > Parsing code OK since it matches existing behaviour. ...
5 years, 2 months ago (2015-10-06 22:58:08 UTC) #5
Timothy Loh
lgtm https://codereview.chromium.org/1375753002/diff/120001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1375753002/diff/120001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode874 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:874: addProperty(CSSPropertyLineHeight, cssValuePool().createIdentifierValue(CSSValueNormal), important, true); implicit value here can ...
5 years, 2 months ago (2015-10-06 23:45:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375753002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375753002/140001
5 years, 2 months ago (2015-10-07 01:40:52 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/141595) cast_shell_android on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 2 months ago (2015-10-07 02:06:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375753002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375753002/140001
5 years, 2 months ago (2015-10-07 02:45:09 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 2 months ago (2015-10-07 03:49:57 UTC) #14
commit-bot: I haz the power
5 years, 2 months ago (2015-10-07 03:50:53 UTC) #15
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/6c4b3dfb01fa5ba86c39143076aa4712ea7b4029
Cr-Commit-Position: refs/heads/master@{#352762}

Powered by Google App Engine
This is Rietveld 408576698