Closed Bug 568261 Opened 15 years ago Closed 15 years ago

Firefox Start page momentarily flashes at incorrect scale

Categories

(Firefox for Android Graveyard :: General, defect)

Fennec 1.1
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

(Whiteboard: rc1.1)

Attachments

(1 file)

When starting Fennec, the start page flashes at large zoom before correctly re-displaying at right zoom. This is because the viewport meta tag data is not read early enough to change the viewport before the page is initially displayed
Attached patch patchSplinter Review
Simple patch adds a call to Tab.updateViewportMetadata in the DOMLinkAdded handler. The goal is to update the metadata as early as possible. Using DOMLinkAdded is just a "hack" - DOMMetaAdded will be used on trunk, but not on branch. I put the call in the rel="icon" section of the event handler. We might want to move it out so any <link> element will trigger the call. Thoughts?
Assignee: nobody → mark.finkle
Attachment #447556 - Flags: review?(mbrubeck)
Comment on attachment 447556 [details] [diff] [review] patch Works for me, seems like a reasonable hack for the stable branch.
Attachment #447556 - Flags: review?(mbrubeck) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified fixed on: Mozilla/5.0 (Android;Linux armv7l;rv:9.0a1)Gecko/20110922 Firefox/9.0a1 Fennec/9.0a1 Device: Samsung Galaxy S OS: Android 2.2
Status: RESOLVED → VERIFIED
tracking-fennec: ? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: