Open Bug 1031585 Opened 5 years ago Updated 2 months ago

Visual and interactive media queries


(DevTools :: Responsive Design Mode, enhancement, P3)



(Not tracked)


(Reporter: jryans, Unassigned)


(Blocks 1 open bug)


(Whiteboard: [rdm-v2])


(2 files)

Several tools now give a visual / interactive breakdown of the media queries used on a page:

* Chrome Canary
* Response Inspector extension for Chrome

I'll attach screenshots.

These let you see the different width ranges that will trigger CSS changes to be applied as window size changes.

Canary's is also helpfully interactive: clicking on a bar sets the width to the nearest end of that range, and clicking the same bar again jumps to the other end of the range.
Attached image Chrome 38 Screenshot
Actually, the Responsive Inspector extension also resizes the window if you click a range bar, although only to a single size per bar.
There are lots of nice things about it: the color scheme, etc. hate the res-zing but they don't really have a responsive design view to drive like we do ( except in Canary )

The thing I like from chrome is that the visual bars line up with the viewport sizes. The thing I *don't* like there and think is srsly weird is it is a sub-mod of the emulation feature, you can't just get it by itself.
OS: Mac OS X → All
Hardware: x86 → All
Severity: normal → enhancement
Whiteboard: [devtools-ux]
Assignee: nobody → ntim.bugs
We should discuss the UX of this in depth before getting too far down any particular path.  The multiple viewport project is also on the horizon, which would likely impact the UX we choose here.

For some additional background, I did a survey of responsive design tools and MQ inspectors a while back (needs to be updated for recent Chrome changes, etc.):
I've started the visual design of the media query displays here:

For now, this visual design just assumes a Chrome-like integration with the responsive mode. I'd have to see how the multiple viewports stuff works before actually integrating the media query stuff in it.
Duplicate of this bug: 1235255
Unassigning until we have a concrete plan.
Assignee: ntim.bugs → nobody
Whiteboard: [devtools-ux] → [rdm-v2]
No longer blocks: multiple-viewports-v1
Product: Firefox → DevTools
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.