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

Issue 15094019: Fixing inconsistency with Media Query append/deleteMedium. (Closed)

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

Description

Fixing inconsistency between spec and Media Query CSSOM methods appendMedium and deleteMedium. Check the test for details, as it explain the relation between the spec and the expected result. Spec: http://dev.w3.org/csswg/cssom/#the-medialist-interface The changes are mostly to corner cases, but it makes our implementation more in line with Gecko and Presto, though both has a few obvious inconsistencies with the spec. R=apavlov@chromium.org, eseidel@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151484

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 15

Patch Set 6 : #

Patch Set 7 : #

Total comments: 1

Patch Set 8 : For landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -60 lines) Patch
A LayoutTests/fast/media/mq-append-delete.html View 1 2 3 4 1 chunk +144 lines, -0 lines 0 comments Download
A LayoutTests/fast/media/mq-append-delete-expected.txt View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
M LayoutTests/fast/media/mq-js-media-except-01.html View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/fast/media/mq-js-media-except-01-expected.html View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/fast/media/mq-js-media-except-03.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/media/mq-js-stylesheet-media-03.html View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/fast/media/mq-js-stylesheet-media-03-expected.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/MediaList.h View 1 2 3 4 5 4 chunks +17 lines, -8 lines 0 comments Download
M Source/core/css/MediaList.cpp View 1 2 3 4 5 6 7 7 chunks +75 lines, -44 lines 0 comments Download
M Source/core/css/MediaList.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StyleMedia.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
kenneth.r.christiansen
7 years, 7 months ago (2013-05-16 22:04:01 UTC) #1
apavlov
Kenneth, Did you mean to add reviewers to this patch and send mail? https://chromiumcodereview.appspot.com/15094019/diff/8001/LayoutTests/fast/media/mq-js-stylesheet-media-03.html File ...
7 years, 7 months ago (2013-05-21 15:31:22 UTC) #2
kenneth.christiansen
On 2013/05/21 15:31:22, apavlov wrote: > Kenneth, > > Did you mean to add reviewers ...
7 years, 7 months ago (2013-05-25 23:49:05 UTC) #3
kenneth.r.christiansen
New patch up!
7 years, 6 months ago (2013-05-29 14:36:28 UTC) #4
apavlov
https://chromiumcodereview.appspot.com/15094019/diff/15001/Source/core/css/MediaList.cpp File Source/core/css/MediaList.cpp (right): https://chromiumcodereview.appspot.com/15094019/diff/15001/Source/core/css/MediaList.cpp#newcode120 Source/core/css/MediaList.cpp:120: return adoptPtr(new MediaQuery(MediaQuery::None, medium, nullptr)); Should you add something ...
7 years, 6 months ago (2013-05-29 15:44:36 UTC) #5
kenneth.r.christiansen
https://chromiumcodereview.appspot.com/15094019/diff/15001/Source/core/css/MediaList.cpp File Source/core/css/MediaList.cpp (right): https://chromiumcodereview.appspot.com/15094019/diff/15001/Source/core/css/MediaList.cpp#newcode120 Source/core/css/MediaList.cpp:120: return adoptPtr(new MediaQuery(MediaQuery::None, medium, nullptr)); On 2013/05/29 15:44:36, apavlov ...
7 years, 6 months ago (2013-05-29 15:52:56 UTC) #6
kenneth.r.christiansen
Fixed!
7 years, 6 months ago (2013-05-29 17:59:35 UTC) #7
eseidel
lgtm
7 years, 6 months ago (2013-05-29 23:12:11 UTC) #8
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/15094019/27001
7 years, 6 months ago (2013-05-29 23:12:26 UTC) #9
eseidel
Looks like you've been working with apavlov and he should lgtm as well.
7 years, 6 months ago (2013-05-29 23:12:34 UTC) #10
apavlov
LGTM with a typo :) https://chromiumcodereview.appspot.com/15094019/diff/27001/Source/core/css/MediaList.cpp File Source/core/css/MediaList.cpp (right): https://chromiumcodereview.appspot.com/15094019/diff/27001/Source/core/css/MediaList.cpp#newcode121 Source/core/css/MediaList.cpp:121: // Fall throught. typo: ...
7 years, 6 months ago (2013-05-30 09:49:56 UTC) #11
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/15094019/34001
7 years, 6 months ago (2013-05-30 11:14:34 UTC) #12
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=8059
7 years, 6 months ago (2013-05-30 12:29:34 UTC) #13
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/15094019/34001
7 years, 6 months ago (2013-05-30 12:39:14 UTC) #14
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=8080
7 years, 6 months ago (2013-05-30 13:55:24 UTC) #15
kenneth.r.christiansen
7 years, 6 months ago (2013-05-30 14:23:05 UTC) #16
Message was sent while issue was closed.
Committed patchset #8 manually as r151484 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698