Allow entry of non-integer DPR values

NEW
Unassigned

Status

DevTools
Responsive Design Mode
P3
normal
2 years ago
a month ago

People

(Reporter: jryans, Unassigned)

Tracking

49 Branch

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [rdm-v2])

Adapted from a comment[1] on Hacks post.

Various devices use a fractional DPR value, such as 1.75.  Our DPR menu only allows selection of integer values 1, 2, 3.  (We do support fractional values as part of device definitions, for those that have such a value defined, like "Google Nexus 6" for example.)

There are several possible approaches:

* We could allow free form entry of any number
* We could leave this to custom device definitions, and allow them to have any number

[1]: https://hacks.mozilla.org/2016/11/new-responsive-design-mode-rdm-lands-in-firefox-dev-tools/comment-page-1/#comment-20347
(Reporter)

Updated

2 years ago
Priority: -- → P3
Whiteboard: [rdm-v2][triage] → [rdm-v2]

Comment 1

a year ago
See also: Bug 1342549

Updated

a month ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.