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

Issue 645033004: Move rolling back badly parsed property to CSSPropertyParser::parseValue (Closed)

Created:
6 years, 2 months ago by Timothy Loh
Modified:
6 years, 2 months ago
CC:
blink-reviews, blink-reviews-css, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Move rolling back badly parsed property to CSSPropertyParser::parseValue When CSSPropertyParser::parseValue fails, we sometimes have already yielded property/value pairs (e.g. when parsing shorthands). In this case we roll back any yielded values. This patch moves the logic for this to CSSPropertyParser since this is a better fit for it and makes the parseValue interface more sensible. BUG=404023 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183879

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -7 lines) Patch
M Source/core/css/parser/CSSGrammar.y View 2 chunks +3 lines, -7 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Timothy Loh
6 years, 2 months ago (2014-10-17 03:50:06 UTC) #3
rune
lgtm Did you consider getting rid of the rollback in CSSGrammar for @supports too? I ...
6 years, 2 months ago (2014-10-17 08:52:27 UTC) #5
Timothy Loh
On 2014/10/17 08:52:27, rune wrote: > lgtm > > Did you consider getting rid of ...
6 years, 2 months ago (2014-10-17 10:44:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645033004/1
6 years, 2 months ago (2014-10-17 10:45:28 UTC) #8
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No LGTM from ...
6 years, 2 months ago (2014-10-17 10:45:31 UTC) #10
Timothy Loh
On 2014/10/17 10:45:31, I haz the power (commit-bot) wrote: > All required reviewers (with asterisk ...
6 years, 2 months ago (2014-10-17 10:49:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645033004/1
6 years, 2 months ago (2014-10-17 10:51:36 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1) as 183879
6 years, 2 months ago (2014-10-17 10:55:39 UTC) #15
rune
6 years, 2 months ago (2014-10-17 11:45:59 UTC) #16
Message was sent while issue was closed.
On 2014/10/17 10:49:55, Timothy Loh wrote:
> On 2014/10/17 10:45:31, I haz the power (commit-bot) wrote:
> > All required reviewers (with asterisk prefixes) have not yet approved this
CL.
> > 
> > No LGTM from a valid reviewer yet. Only full committers are accepted.
> > Even if an LGTM may have been provided, it was from a non-committer or
> > a provisional committer, _not_ a full super star committer.
> > See http://www.chromium.org/getting-involved/become-a-committer
> > Note that this has nothing to do with OWNERS files.
> 
> ..and now I know what the asterisk does :)

Woot? I'm not a full super star committer? :-)

Powered by Google App Engine
This is Rietveld 408576698