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

Issue 2081893003: Mark stylesheet as having media queries at consume time. (Closed)

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

Description

Mark stylesheet as having media queries at consume time. Marking the stylesheet as having media queries for @media at insertion time meant we didn't mark the stylesheet when @media was a child rule of another @-rule like @supports. Instead do the marking from the consume method like we already did for @font-face rules. Removed unnecessary marking from insertion methods and an unnecessary boolean parameter which was always true. R=timloh@chromium.org BUG=621502 Committed: https://crrev.com/feb31417375d9bd2cc2f383516c0485dc615286d Cr-Commit-Position: refs/heads/master@{#402766}

Patch Set 1 #

Patch Set 2 : Fixed webkit_unit_tests regression #

Patch Set 3 #

Patch Set 4 : Back to marking at consume time #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -11 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/media-query-in-supports-dynamic.html View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleSheetContents.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/StyleSheetContents.cpp View 1 2 3 2 chunks +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp View 1 2 3 1 chunk +19 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 29 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2081893003/1
4 years, 6 months ago (2016-06-21 09:59:00 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/180498)
4 years, 6 months ago (2016-06-21 10:42:19 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2081893003/40001
4 years, 6 months ago (2016-06-21 22:34:33 UTC) #6
rune
In the last patch set I've tried to not mark the stylesheet as containing media ...
4 years, 6 months ago (2016-06-21 22:55:53 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/242850)
4 years, 6 months ago (2016-06-22 00:06:33 UTC) #9
Timothy Loh
On 2016/06/21 22:55:53, rune wrote: > In the last patch set I've tried to not ...
4 years, 5 months ago (2016-06-27 05:50:33 UTC) #10
rune
On 2016/06/27 05:50:33, Timothy Loh wrote: > I don't think we need to bother handling ...
4 years, 5 months ago (2016-06-27 07:26:21 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2081893003/60001
4 years, 5 months ago (2016-06-27 09:13:08 UTC) #13
rune
On 2016/06/27 05:50:33, Timothy Loh wrote: > I don't think we need to bother handling ...
4 years, 5 months ago (2016-06-27 09:16:25 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-27 10:37:00 UTC) #17
rune
ping
4 years, 5 months ago (2016-06-28 10:32:51 UTC) #18
Timothy Loh
On 2016/06/28 10:32:51, rune wrote: > ping lgtm
4 years, 5 months ago (2016-06-29 02:02:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2081893003/60001
4 years, 5 months ago (2016-06-29 06:20:41 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/252168)
4 years, 5 months ago (2016-06-29 07:18:34 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2081893003/60001
4 years, 5 months ago (2016-06-29 09:01:53 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-06-29 10:09:47 UTC) #27
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 10:11:54 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/feb31417375d9bd2cc2f383516c0485dc615286d
Cr-Commit-Position: refs/heads/master@{#402766}

Powered by Google App Engine
This is Rietveld 408576698