Open Bug 930941 Opened 8 years ago Updated 2 years ago

Add default font size selection in responsive design view

Categories

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

enhancement

Tracking

(Not tracked)

People

(Reporter: clochix, Unassigned)

References

(Blocks 1 open bug)

Details

More and more web developers seems to use `em` and `rem` units in their CSS. This make the web pages more dependents from the default font size of the browser.

If we add to the Responsive design view a selector to test with different default font size, I think it would help developers not to assume that everybody use the same default font size as them. Of course, the user’s default should be restored when switching to another tab or leaving the responsive design view.

Bonus point: also allow to switch "Allow pages to choose their own font", to test the rendering if the loading of our custom fonts fails or if fonts we choose are not available.

See https://groups.google.com/forum/#!topic/mozilla.dev.developer-tools/npKCYq8Qf9U for the discussion.
Blocks: 778169
I don't know about the UI, but internally, this is what I think we should use: http://mxr.mozilla.org/mozilla-central/source/docshell/base/nsIMarkupDocumentViewer.idl#35
Product: Firefox → DevTools
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.