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

Issue 799003003: CSS Parser: Implement parseRule (Closed)

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

Description

CSS Parser: Implement parseRule This patch adds parseRule and consumeQualifiedRule to the css-syntax parser. For now this code is only called into via the CSSOM. As usual, this is all happening behind a disabled runtime flag. There are some more test breakages due to unimplemented features (e.g. using insertRule with at-rules). http://dev.w3.org/csswg/css-syntax/#parse-rule http://dev.w3.org/csswg/css-syntax/#consume-a-qualified-rule BUG=330389 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187849

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 3

Patch Set 5 : slightly better #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : rebase/address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -0 lines) Patch
M Source/core/css/parser/CSSParser.cpp View 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserImpl.h View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserImpl.cpp View 1 2 3 4 5 6 7 2 chunks +56 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserTokenRange.h View 3 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserTokenRange.cpp View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Timothy Loh
https://codereview.chromium.org/799003003/diff/50001/Source/core/css/parser/CSSParserImpl.cpp File Source/core/css/parser/CSSParserImpl.cpp (right): https://codereview.chromium.org/799003003/diff/50001/Source/core/css/parser/CSSParserImpl.cpp#newcode135 Source/core/css/parser/CSSParserImpl.cpp:135: m_parsedProperties.clear(); This doesn't make a difference right now, but ...
6 years ago (2014-12-16 00:01:20 UTC) #2
alancutter (OOO until 2018)
lgtm with nits. https://codereview.chromium.org/799003003/diff/110001/Source/core/css/parser/CSSParserImpl.cpp File Source/core/css/parser/CSSParserImpl.cpp (right): https://codereview.chromium.org/799003003/diff/110001/Source/core/css/parser/CSSParserImpl.cpp#newcode98 Source/core/css/parser/CSSParserImpl.cpp:98: return nullptr; // Parser error, empty ...
5 years, 11 months ago (2014-12-29 05:10:22 UTC) #3
Timothy Loh
https://codereview.chromium.org/799003003/diff/110001/Source/core/css/parser/CSSParserImpl.cpp File Source/core/css/parser/CSSParserImpl.cpp (right): https://codereview.chromium.org/799003003/diff/110001/Source/core/css/parser/CSSParserImpl.cpp#newcode98 Source/core/css/parser/CSSParserImpl.cpp:98: return nullptr; // Parser error, empty rule On 2014/12/29 ...
5 years, 11 months ago (2015-01-05 05:56:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/799003003/130001
5 years, 11 months ago (2015-01-05 05:56:39 UTC) #6
commit-bot: I haz the power
5 years, 11 months ago (2015-01-05 07:06:23 UTC) #7
Message was sent while issue was closed.
Committed patchset #8 (id:130001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187849

Powered by Google App Engine
This is Rietveld 408576698