New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 617095 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
NOT IN USE
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Resolution media query does not take effect on page zoom

Reported by r...@opera.com, Jun 3 2016

Issue description

Try zoom in with the attached dpr.html. The window.matchMedia() listener triggers, but there is no green background. If you reload, the background turns green.

 
dpr.html
385 bytes View Download
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 3 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/82a43d5e94ad2b873fa14f11a4c5f34c98863069

commit 82a43d5e94ad2b873fa14f11a4c5f34c98863069
Author: rune <rune@opera.com>
Date: Fri Jun 03 13:23:20 2016

Clear media query rulesets on page zoom changes.

Otherwise, resolution media queries won't update properly when page
zoom changes. Changing the deviceScaleFactor already did this. Also,
matchMedia listeners already worked.

BUG= 617095 

Review-Url: https://codereview.chromium.org/2038793002
Cr-Commit-Position: refs/heads/master@{#397697}

[add] https://crrev.com/82a43d5e94ad2b873fa14f11a4c5f34c98863069/third_party/WebKit/LayoutTests/fast/media/resolution-change-on-page-zoom.html
[modify] https://crrev.com/82a43d5e94ad2b873fa14f11a4c5f34c98863069/third_party/WebKit/Source/core/frame/LocalFrame.cpp

Comment 2 by r...@opera.com, Jun 3 2016

Status: Fixed (was: Started)

Sign in to add a comment