[Webkit-unassigned] [Bug 41063] Media query - width in 'em's doesn't work on zoom

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 28 01:35:00 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=41063

--- Comment #21 from Karl Dubost <karlcow at apple.com> ---
OK some progress 

1. Load the testcase https://bugs.webkit.org/attachment.cgi?id=466841
2. Make the window large enough so it's yellow
3. Open the console. Type 
   window.matchMedia('(min-width: 69em)').matches
4. It returns true
5. Apply zoom (Command +)
6. Window stays yellow
7. in the console type
   window.matchMedia('(min-width: 69em)').matches
8. It returns false (depending on the initial size of the window)


Monitoring window.innerWidth values shows that the window is smaller and smaller in pixels. So the false is correct. It seems more likely that the browser has forgotten to reset the yellow background. That looks like another bug. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230628/24218ff1/attachment-0001.htm>


More information about the webkit-unassigned mailing list