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

Issue 14578010: Fixing inconsistency with the media query spec and other browsers (Closed)

Created:
7 years, 7 months ago by kenneth.r.christiansen
Modified:
7 years, 7 months ago
Reviewers:
apavlov, rune, eseidel
CC:
blink-reviews, apavlov+blink_chromium.org, dglazkov+blink, eae+blinkwatch, kenneth.christiansen, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Fixing inconsistency with the media query spec and other browsers With this change we are more interoperable with Opera and Firefox and we have better test coverage. It fixes some tests which are not correct according to the specs and other implementations. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150435

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -55 lines) Patch
M LayoutTests/fast/media/mq-js-media-except-02.html View 1 2 1 chunk +7 lines, -4 lines 0 comments Download
M LayoutTests/fast/media/mq-js-media-except-02-expected.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/media/mq-js-media-except-03.html View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/media/mq-js-media-except-03-expected.html View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/fast/media/mq-js-stylesheet-media-02.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/fast/media/mq-parsing.html View 1 2 1 chunk +81 lines, -0 lines 0 comments Download
A LayoutTests/fast/media/mq-parsing-expected.txt View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/css/MediaList.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/MediaList.cpp View 1 2 3 4 5 1 chunk +37 lines, -45 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
eseidel
lgtm Seems fine. This code still mallocs a lot. :) But this looks more readable.
7 years, 7 months ago (2013-05-14 21:55:58 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/14578010/1
7 years, 7 months ago (2013-05-14 21:56:08 UTC) #2
kenneth.r.christiansen
My change should be fine with the spec as an empty media query is equal ...
7 years, 7 months ago (2013-05-14 22:44:24 UTC) #3
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=7917
7 years, 7 months ago (2013-05-14 22:56:08 UTC) #4
kenneth.r.christiansen
https://codereview.chromium.org/14578010/diff/25001/LayoutTests/fast/media/mq-parsing-expected.txt File LayoutTests/fast/media/mq-parsing-expected.txt (right): https://codereview.chromium.org/14578010/diff/25001/LayoutTests/fast/media/mq-parsing-expected.txt#newcode6 LayoutTests/fast/media/mq-parsing-expected.txt:6: FAIL: Got "not all, screen, not all, not all, ...
7 years, 7 months ago (2013-05-15 10:32:09 UTC) #5
kenneth.r.christiansen
7 years, 7 months ago (2013-05-15 10:45:38 UTC) #6
rune
https://codereview.chromium.org/14578010/diff/25001/Source/core/css/MediaList.cpp File Source/core/css/MediaList.cpp (right): https://codereview.chromium.org/14578010/diff/25001/Source/core/css/MediaList.cpp#newcode151 Source/core/css/MediaList.cpp:151: // other allowed matching pairs such as (), [], ...
7 years, 7 months ago (2013-05-15 11:28:55 UTC) #7
apavlov
https://codereview.chromium.org/14578010/diff/25001/Source/core/css/MediaList.cpp File Source/core/css/MediaList.cpp (right): https://codereview.chromium.org/14578010/diff/25001/Source/core/css/MediaList.cpp#newcode125 Source/core/css/MediaList.cpp:125: ASSERT(!queryString.isEmpty()); I cannot see any code that might guarantee ...
7 years, 7 months ago (2013-05-15 12:28:36 UTC) #8
kenneth.r.christiansen
> Source/core/css/MediaList.cpp:125: ASSERT(!queryString.isEmpty()); > I cannot see any code that might guarantee the queryString is ...
7 years, 7 months ago (2013-05-15 14:25:27 UTC) #9
apavlov
lgtm
7 years, 7 months ago (2013-05-15 15:33:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/14578010/31002
7 years, 7 months ago (2013-05-15 15:33:40 UTC) #11
commit-bot: I haz the power
7 years, 7 months ago (2013-05-15 17:20:15 UTC) #12
Message was sent while issue was closed.
Change committed as 150435

Powered by Google App Engine
This is Rietveld 408576698