Closed Bug 527384 Opened 15 years ago Closed 15 years ago

implement device-width and device-height keywords for viewport meta tag

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
fennec1.0

People

(Reporter: blassey, Assigned: blassey)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
      No description provided.
Attachment #411104 - Flags: review?(mark.finkle)
Attached patch patch v.2Splinter Review
uses window.innerWidth/Height instead of screen.width/height
Attachment #411104 - Attachment is obsolete: true
Attachment #413981 - Flags: review?(mark.finkle)
Attachment #411104 - Flags: review?(mark.finkle)
Comment on attachment 413981 [details] [diff] [review]
patch v.2

I think we need a plan for handling resizes and orientation changes without calling Util.isContentHandheld. But we can do that in a followup bug.

This patch will work just fine on the N900.
Attachment #413981 - Flags: review?(mark.finkle) → review+
Assignee: nobody → bugmail
pushed:
https://hg.mozilla.org/mobile-browser/rev/f711853ad28e
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Post-B5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: