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

Issue 1372393008: Move border-spacing related properties into CSSPropertyParser (Closed)

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

Description

Move border-spacing related properties into CSSPropertyParser Move border-spacing related properties handling from LegacyCSSPropertyParser into CSSPropertyParser. BUG=499780 Committed: https://crrev.com/327f58126894dc170bd2d80d042786a3fc41d293 Cr-Commit-Position: refs/heads/master@{#352852}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Patch for landing #

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

Messages

Total messages: 10 (3 generated)
rwlbuis
PTAL. This seems a good example of easily getting rid of those inShorthand()/m_currentShorthand checks and ...
5 years, 2 months ago (2015-10-06 19:40:00 UTC) #2
Timothy Loh
lgtm, although maybe we should try and avoid parseShorthand ending up as a gigantic switch ...
5 years, 2 months ago (2015-10-06 23:47:12 UTC) #3
Timothy Loh
https://codereview.chromium.org/1372393008/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/1372393008/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode842 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:842: if (m_range.atEnd()) { same comment as on the viewport ...
5 years, 2 months ago (2015-10-07 00:20:51 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372393008/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372393008/20001
5 years, 2 months ago (2015-10-07 14:48:41 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-07 16:13:02 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/327f58126894dc170bd2d80d042786a3fc41d293 Cr-Commit-Position: refs/heads/master@{#352852}
5 years, 2 months ago (2015-10-07 16:14:00 UTC) #9
rwlbuis
5 years, 2 months ago (2015-10-07 23:10:16 UTC) #10
Message was sent while issue was closed.
On 2015/10/06 23:47:12, Timothy Loh wrote:
> lgtm, although maybe we should try and avoid parseShorthand ending up as a
> gigantic switch statement

Good point, I'll try to avoid this in future.

Powered by Google App Engine
This is Rietveld 408576698