@Media query with max-width: X excludes X instead of including it
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Tracking
()
People
(Reporter: mattia.d.denti, Unassigned)
References
Details
Attachments
(4 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Steps to reproduce:
the page CSS has a @media (max-width: 767px) query
Actual results:
when tested using the Responsive Design Mode at width 767px the media query is not applied to the page;
when tested by resizing the browser window the media query is not applied to the page until much smaller.
Expected results:
the media query should have applied at 767px
| Reporter | ||
Comment 1•6 years ago
|
||
| Reporter | ||
Comment 2•6 years ago
|
||
| Reporter | ||
Comment 3•6 years ago
|
||
| Reporter | ||
Comment 4•6 years ago
|
||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Browser window resized at 766px
FYI, that screenshot shows that there's also a 16px horizontal margin, which is probably not what you intended to test.
Anyway, the attached testcase works as expected for me, both with or without Responsive Design Mode. (using Nightly on Linux)
Comment 6•6 years ago
|
||
I'm also unable to reproduce this using Firefox 77.0.1 on Mac. The attached test case works fine for me.
Updated•3 years ago
|
Comment 7•2 months ago
|
||
This bug appears to have been fixed at some point. I think we can safely close this.
Description
•