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

Issue 2957543002: Implement ConsumeShorthandViaLonghand to parse shorthand by calling longhand ParseSingleValue (Closed)

Created:
3 years, 6 months ago by Jia
Modified:
3 years, 5 months ago
Reviewers:
Bugs Nash, rjwright
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement ConsumeShorthandViaLonghand to parse shorthand by calling longhand ParseSingleValue Consume4Values, Consume2Values and ConsumeShorthandGreedily all call shorthand's constituent longhands' ParseSingleValue. This cl merges these functions by implementing ConsumeShorthandViaLonghand, which will be called by the three existing "Consume*" functions. Later, we will move ConsumeShorthandViaLonghand to CSSPropertyParserHelpers class so that this function will call property API's parseSingleValue. At the moment, we are only merging the logic and will continue to call CSSPropertyParsers' ParseSingleValue. BUG=668012

Patch Set 1 #

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

Messages

Total messages: 31 (16 generated)
Jia
3 years, 6 months ago (2017-06-23 04:18:43 UTC) #3
Bugs Nash
I find this new general method confusing, while the existing methods were clear to me. ...
3 years, 5 months ago (2017-06-26 05:23:50 UTC) #16
Jia
On 2017/06/26 05:23:50, Bugs Nash wrote: > I find this new general method confusing, while ...
3 years, 5 months ago (2017-06-26 05:35:56 UTC) #17
Bugs Nash
On 2017/06/26 at 05:35:56, jiameng wrote: > On 2017/06/26 05:23:50, Bugs Nash wrote: > > ...
3 years, 5 months ago (2017-06-26 06:03:06 UTC) #18
Bugs Nash
+rjwright and meade for opinions on whether this is a code health improvement or not
3 years, 5 months ago (2017-06-26 06:04:05 UTC) #20
Bugs Nash
On 2017/06/26 at 05:35:56, jiameng wrote: > On 2017/06/26 05:23:50, Bugs Nash wrote: > > ...
3 years, 5 months ago (2017-06-26 06:06:09 UTC) #21
Jia
On 2017/06/26 06:06:09, Bugs Nash wrote: > On 2017/06/26 at 05:35:56, jiameng wrote: > > ...
3 years, 5 months ago (2017-06-26 06:10:41 UTC) #22
meade_UTC10
On 2017/06/26 06:10:41, Jia wrote: > On 2017/06/26 06:06:09, Bugs Nash wrote: > > On ...
3 years, 5 months ago (2017-06-28 07:29:02 UTC) #23
Jia
On 2017/06/28 07:29:02, meade_UTC10 wrote: > On 2017/06/26 06:10:41, Jia wrote: > > On 2017/06/26 ...
3 years, 5 months ago (2017-06-29 04:43:56 UTC) #24
meade_UTC10
On 2017/06/29 04:43:56, Jia wrote: > On 2017/06/28 07:29:02, meade_UTC10 wrote: > > On 2017/06/26 ...
3 years, 5 months ago (2017-06-29 04:55:36 UTC) #25
Bugs Nash
On 2017/06/29 at 04:55:36, meade wrote: > On 2017/06/29 04:43:56, Jia wrote: > > On ...
3 years, 5 months ago (2017-06-29 23:29:38 UTC) #26
rjwright
On 2017/06/29 23:29:38, Bugs Nash wrote: > On 2017/06/29 at 04:55:36, meade wrote: > > ...
3 years, 5 months ago (2017-06-30 02:27:39 UTC) #27
Jia
Thanks for all your comments! I've kept them separate in the refactoring process. See crrev.com/c/560920, ...
3 years, 5 months ago (2017-07-14 02:37:26 UTC) #29
Jia
I'm closing this issue now. Thanks.
3 years, 5 months ago (2017-07-14 02:37:46 UTC) #30
Jia
3 years, 5 months ago (2017-07-14 02:37:47 UTC) #31
I'm closing this issue now. Thanks.

Powered by Google App Engine
This is Rietveld 408576698