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

Issue 1406343008: Parse outline shorthand in CSSPropertyParser with CSSParserTokens (Closed)

Created:
5 years, 1 month ago by rwlbuis
Modified:
5 years, 1 month ago
Reviewers:
Timothy Loh
CC:
chromium-reviews, blink-reviews-style_chromium.org, 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

Parse outline shorthand in CSSPropertyParser with CSSParserTokens Move outline shorthand property handling from LegacyCSSPropertyParser into CSSPropertyParser. Also move its related longhands. BUG=499780 Committed: https://crrev.com/3447a99f8dce411d4e07c55e6b81dd2068a50390 Cr-Commit-Position: refs/heads/master@{#358065}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Standalone patch #

Patch Set 4 : Rebase patch #

Total comments: 1

Patch Set 5 : Patch for landing #

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

Messages

Total messages: 13 (4 generated)
rwlbuis
PTAL, should be pretty straightforward this time.
5 years, 1 month ago (2015-11-04 18:53:30 UTC) #3
Timothy Loh
lgtm https://codereview.chromium.org/1406343008/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/1406343008/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode1517 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:1517: static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> consumeBorderWidth(CSSParserTokenRange& range, CSSParserMode cssParserMode) The spec ...
5 years, 1 month ago (2015-11-05 05:08:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406343008/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406343008/80001
5 years, 1 month ago (2015-11-05 15:15:47 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-05 17:07:08 UTC) #8
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/3447a99f8dce411d4e07c55e6b81dd2068a50390 Cr-Commit-Position: refs/heads/master@{#358065}
5 years, 1 month ago (2015-11-05 17:08:15 UTC) #9
michaeln
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1419143008/ by michaeln@chromium.org. ...
5 years, 1 month ago (2015-11-05 20:34:00 UTC) #10
rwlbuis
On 2015/11/05 05:08:26, Timothy Loh wrote: > lgtm > > https://codereview.chromium.org/1406343008/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp > File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): ...
5 years, 1 month ago (2015-11-06 00:25:19 UTC) #11
Timothy Loh
On 2015/11/06 00:25:19, rwlbuis wrote: > On 2015/11/05 05:08:26, Timothy Loh wrote: > > lgtm ...
5 years, 1 month ago (2015-11-06 00:31:19 UTC) #12
rwlbuis
5 years, 1 month ago (2015-11-06 04:09:01 UTC) #13
Message was sent while issue was closed.
On 2015/11/06 00:31:19, Timothy Loh wrote:
> I'm not sure if we'll need this. I guess if there are properties which are
> defined to parse exactly as other properties we can just call their relevant
> consume functions (or put the case statements next to each other) for now, it
> seems pretty simple to me.

Ah right, per-css-type sounds good too, so we just follow the css definitions.

> BTW, border-width and its longhands are actually a tiny bit different from
> outline-width, they allow quirky lengths.

Good to know.

Powered by Google App Engine
This is Rietveld 408576698