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

Issue 15660004: Reporing invalid CSS selectors. (Closed)

Created:
7 years, 7 months ago by SeRya
Modified:
7 years, 7 months ago
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, darktears, aandrey+blink_chromium.org
Visibility:
Public.

Description

Reporing invalid CSS selectors. It seems that anything not starting with "@" looks like a selector for the parser. I don't report warning in at-rules yet. However I added error type in advance InvalidRuleError to make visible if something reduces by "invalid_rule" instead of "invalid_at". BUG=140608 R=apavlov@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151101

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -55 lines) Patch
M LayoutTests/inspector/console/console-css-warnings.html View 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/inspector/console/console-css-warnings-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/css/CSSGrammar.y.in View 1 2 2 chunks +9 lines, -2 lines 0 comments Download
M Source/core/css/CSSParser.h View 1 6 chunks +10 lines, -5 lines 0 comments Download
M Source/core/css/CSSParser.cpp View 1 2 11 chunks +65 lines, -39 lines 0 comments Download
M Source/core/css/CSSParserValues.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorCSSAgent.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorCSSAgent.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
SeRya
7 years, 7 months ago (2013-05-23 09:44:57 UTC) #1
apavlov
https://codereview.chromium.org/15660004/diff/2001/LayoutTests/inspector/console/console-css-warnings-expected.txt File LayoutTests/inspector/console/console-css-warnings-expected.txt (right): https://codereview.chromium.org/15660004/diff/2001/LayoutTests/inspector/console/console-css-warnings-expected.txt#newcode21 LayoutTests/inspector/console/console-css-warnings-expected.txt:21: Invalid CSS selector: x, console-css-warnings.html:81 optional: You could append ...
7 years, 7 months ago (2013-05-23 10:47:06 UTC) #2
SeRya
https://codereview.chromium.org/15660004/diff/2001/LayoutTests/inspector/console/console-css-warnings-expected.txt File LayoutTests/inspector/console/console-css-warnings-expected.txt (right): https://codereview.chromium.org/15660004/diff/2001/LayoutTests/inspector/console/console-css-warnings-expected.txt#newcode21 LayoutTests/inspector/console/console-css-warnings-expected.txt:21: Invalid CSS selector: x, console-css-warnings.html:81 On 2013/05/23 10:47:07, apavlov ...
7 years, 7 months ago (2013-05-23 15:02:36 UTC) #3
apavlov
Please fix the grammar rule name, and we'll be good to land https://codereview.chromium.org/15660004/diff/21001/Source/core/css/CSSGrammar.y.in File Source/core/css/CSSGrammar.y.in ...
7 years, 7 months ago (2013-05-24 08:46:44 UTC) #4
SeRya
https://codereview.chromium.org/15660004/diff/21001/Source/core/css/CSSGrammar.y.in File Source/core/css/CSSGrammar.y.in (right): https://codereview.chromium.org/15660004/diff/21001/Source/core/css/CSSGrammar.y.in#newcode1920 Source/core/css/CSSGrammar.y.in:1920: at_invalid_rule_reader_end: On 2013/05/24 08:46:44, apavlov wrote: > reader -> ...
7 years, 7 months ago (2013-05-24 08:57:39 UTC) #5
apavlov
lgtm
7 years, 7 months ago (2013-05-24 09:03:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/15660004/27001
7 years, 7 months ago (2013-05-24 09:03:40 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=9964
7 years, 7 months ago (2013-05-24 10:32:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/15660004/27001
7 years, 7 months ago (2013-05-24 11:03:53 UTC) #9
commit-bot: I haz the power
Retried try job too often on mac_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout_rel&number=7325
7 years, 7 months ago (2013-05-24 12:20:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/15660004/27001
7 years, 7 months ago (2013-05-24 12:32:12 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=10029
7 years, 7 months ago (2013-05-24 13:44:13 UTC) #12
SeRya
7 years, 7 months ago (2013-05-24 14:21:04 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 manually as r151101 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698