Closed Bug 1588766 Opened 6 years ago Closed 2 months ago

@Media query with max-width: X excludes X instead of including it

Categories

(Core :: CSS Parsing and Computation, defect, P4)

69 Branch
defect

Tracking

()

RESOLVED FIXED

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

Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core

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)

Priority: -- → P4

I'm also unable to reproduce this using Firefox 77.0.1 on Mac. The attached test case works fine for me.

Severity: normal → S3

This bug appears to have been fixed at some point. I think we can safely close this.

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Duplicate of this bug: 1640166
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: