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

Issue 867363002: Some invalid media queries are parsed as valid (Closed)

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

Description

Some invalid media queries are parsed as valid Make media query parsing more strict by not allowing restrictors right after after we already parsed one. BUG=451263 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189353

Patch Set 1 #

Patch Set 2 : Comment out problematic unit test #

Patch Set 3 : Add a test #

Total comments: 2

Patch Set 4 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1 line) Patch
M Source/core/css/MediaQuerySetTest.cpp View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/css/parser/MediaQueryParser.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/parser/MediaQueryParser.cpp View 1 2 3 1 chunk +16 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
rwlbuis
@timloh I need some advice on this one. As you can see there are many ...
5 years, 11 months ago (2015-01-23 22:51:12 UTC) #2
Timothy Loh
On 2015/01/23 22:51:12, rwlbuis wrote: > @timloh I need some advice on this one. As ...
5 years, 11 months ago (2015-01-27 03:57:46 UTC) #3
rwlbuis
On 2015/01/27 03:57:46, Timothy Loh wrote: > On 2015/01/23 22:51:12, rwlbuis wrote: > > @timloh ...
5 years, 11 months ago (2015-01-27 22:21:01 UTC) #4
Timothy Loh
+yoav, could you take a look? :)
5 years, 10 months ago (2015-01-29 22:55:18 UTC) #6
Yoav Weiss
Sure :) For parser-related tests, I strongly prefer the use of unit tests, rather than ...
5 years, 10 months ago (2015-01-30 08:31:51 UTC) #7
rwlbuis
On 2015/01/30 08:31:51, Yoav Weiss wrote: > Sure :) > > For parser-related tests, I ...
5 years, 10 months ago (2015-01-30 15:20:42 UTC) #8
Yoav Weiss
LGTM. Thanks :)
5 years, 10 months ago (2015-02-02 17:16:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/867363002/60001
5 years, 10 months ago (2015-02-02 17:18:16 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 18:36:57 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189353

Powered by Google App Engine
This is Rietveld 408576698