Open Bug 1269479 Opened 8 years ago Updated 2 years ago

@media sidebar links don't start RDM on click if condition size is not in pixels

Categories

(DevTools :: Style Editor, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: vertova, Unassigned)

References

Details

(Whiteboard: [btpp-fix-later])

Since FF46, you can launch responsive mode by clicking on a media query from the Style Editor @media sidebar

However, media queries are clickable if (max|min)-(height|width) is defined in px, e.g. @media screen and (min-width: 800px) {}. They are not if it's defined in em, e.g. @media screen and (min-width: 50em) {}.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Cannot launch responsive mode from the Style Editor @media sidebar if a media query is defined using em → Style Editor @media sidebar links don't appear if a media query is defined using em units
Priority: -- → P3
Whiteboard: [btpp-fix-later]
Blocks: 1029371
Product: Firefox → DevTools

We'd need to convert the value into px , which might be tricky for relative values?

Summary: Style Editor @media sidebar links don't appear if a media query is defined using em units → @media sidebar links don't start RDM on click if condition size is not in pixels
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.