Closed Bug 1245417 Opened 9 years ago Closed 9 years ago

Background color doesn't extend to the whole screen if meta viewport is enabled

Categories

(Core :: Panning and Zooming, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox47 --- wontfix

People

(Reporter: jj.evelyn, Unassigned)

Details

(Whiteboard: [ft:conndevices])

Attachments

(1 file)

This is an interesting bug(or feature?) On a build(firefox desktop or real TV) with viewport enabled, the background on <body> will be cut off according to its content height.
For example, this site [1] set background color as #000 on <body>, and also set its container <div> in height 720px. The right one runs on Firefox desktop 43 without viewport enabled, the whole background is black. However, the left one runs on Firefox Nightly with viewport enabled, its black background is cut off in the end of the content.

[1] http://www.redkaraoke.com/tv/app/
It's not the content height that's important here, it's the height=700 in the meta-viewport tag. If you increase that the black background will also get taller. This is by design; the meta-viewport height determines the height of the root container, and that determines the height of the background.
Status: NEW → RESOLVED
Closed: 9 years ago
No longer depends on: 990972
Resolution: --- → WONTFIX
Ah! Okay... I wasn't aware of the height=700 in the meta-viewport. Sorry!
Resolution: WONTFIX → FIXED
Resolution: FIXED → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: