[Webkit-unassigned] [Bug 156687] New: px, em, rem should behave the same in media queries when page zoom is applied
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 18 00:47:46 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156687
Bug ID: 156687
Summary: px, em, rem should behave the same in media queries
when page zoom is applied
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Macintosh
OS: OS X 10.11
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: webkit at chrisrebert.com
CC: simon.fraser at apple.com
Steps to reproduce:
1. Open http://codepen.io/cvrebert/pen/KzRXJd in Safari/WebKit.
2. Click the "Change View" button.
3. A menu appears.
4. Under "Editor Layout", click the first button on the left.
5. Click the "Change View" button again to dismiss the menu.
6. Zoom in on the page in Safari/WebKit (View->Zoom In, â+)
7. Resize the output pane by dragging the separator on the left edge of the output pane.
Actual results:
As you resize the output pane, the red, green, and blue bars become translucent or opaque at different widths.
Expected results:
As you resize the output pane, the red, green, and blue bars should
all become translucent or opaque together at the same time when passing a particular width boundary point.
This is the behavior exhibited by Chrome, Firefox, and MS Edge when their page zoom features are activated on said testcase webpage.
Though non-pinch page zooming is not currently standardized AFAICT, this deviation from other browsers hurts interoperability
and offers an unfortunate reason to avoid px-based media queries. See also http://zellwk.com/blog/media-query-units/#2-user-zooms-in
Note that the 3 media queries all compute to the same width value under default, non-zoomed circumstances.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160418/ee267065/attachment.html>
More information about the webkit-unassigned
mailing list