Open
Bug 778055
Opened 12 years ago
Updated 2 years ago
The background is much larger then the actual page for bbc.co.uk in persian
Categories
(Core :: Layout, defect)
Tracking
()
NEW
People
(Reporter: AdrianT, Unassigned)
References
()
Details
(Whiteboard: [platform-rel-BBC][platform-rel-BBCNews])
Attachments
(2 files)
Firefox Mobile Native 15.0b2 build 1/ Nightly 17.0a1 2012-07-26 Device: HTC Desire (Android 2.2) Steps to reproduce: 1. Go to http://www.bbc.co.uk/persian/mobile/index.shtml 2. Zoom out as far as you can Expected results: Since this is a mobile page the user should not be able to zoom out Actual results: The background is a lot larger then the page extending to the left and bottom (since the page is an RTL page). This causes issues with the thumbnails for the tab menu and about home also. Font inflation does not have any effect on the page. The size of the background is the same with the text set to tiny or extra large. Note: The issue is not reproducible using the default Android Browser.
Comment 1•12 years ago
|
||
The page renders the same in Fennec as it does on desktop, with the extra margin on the left.
Component: General → Evangelism
Comment 2•12 years ago
|
||
kats - As adrian reported in comment 0, this issue is not present in the Android stock browser. I can confirm that it is not an issue in Chrome either. In both of those cases I can zoom in but cannot zoom out past the default page size. Do you know what is different in the Firefox case?
Comment 3•12 years ago
|
||
According to Ehsan's comment at https://bugzilla.mozilla.org/show_bug.cgi?id=748384#c0 this is caused by the image with class "web_bug" which is positioned at -1000px. I'm not sure why this doesn't happen in Chrome or the stock browser (or Safari/Chrome on desktop either). I guess it might be a core Gecko problem rather than an evangelism issue, not really sure.
Comment 4•12 years ago
|
||
Over to core for analysis and comment.
Component: Evangelism → Layout
Product: Firefox for Android → Core
Version: Firefox 17 → unspecified
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
So what happens here is that WebKit won't let you scroll up, ever. Neither will we. It _will_ let you scroll to the left, if the body or root is rtl. But only if the things that are to the left of the viewport vertically overlap the viewport. Otherwise it won't. The only behavior difference from Gecko here is the "vertically overlap the viewport" condition. Actually, the rtl bit is a bit of a red herring. Attaching a testcase that does not depend on that. So the real question is whether content completely above the viewport should trigger overflow to the side as needed... That's the behavior this site seems to depend on.
Comment 7•12 years ago
|
||
Opera and IE behave the same as us. Excluding stuff that's vertically above the viewport seems unnecessarily complex. This seems like a Webkit/site bug to me.
Updated•8 years ago
|
Whiteboard: [platform-rel-BBC][platform-rel-BBCNews]
Updated•8 years ago
|
platform-rel: --- → ?
Comment 10•8 years ago
|
||
Yup, this still reproduces on desktop as well as on Fennec. The two test cases attached to this bug scroll in Firefox but not in Chrome/WebKit
Flags: needinfo?(bugmail)
Comment 12•8 years ago
|
||
Probably get the actual behavior here standardized one way or the other? If it is, and we're following the spec, file bugs on Chrome/WebKit and presumably evangelize the site.
Flags: needinfo?(bzbarsky)
Comment 13•8 years ago
|
||
Jet, anyone on your team interested in comment 12? I already asked a few people and the response was "I don't know enough about CSS to be of use."
Flags: needinfo?(bugs)
Comment 14•8 years ago
|
||
(In reply to Andrew Overholt [:overholt] from comment #13) > Jet, anyone on your team interested in comment 12? I already asked a few > people and the response was "I don't know enough about CSS to be of use." Not really. It appears that the affected BBC site was repaired some time ago: http://www.bbc.co.uk/persian/mobile/index.shtml I agree with roc (comment 8) that excluding the out-of-bounds content above the viewport is unnecessarily complex, especially now that we don't have a top-site depending on this behavior. That is, I'm not sure I'd bother to change this even if the spec didn't go our way.
Flags: needinfo?(bugs)
Updated•7 years ago
|
platform-rel: ? → ---
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•