Closed Bug 1023977 Opened 10 years ago Closed 9 years ago

m.wyborcza.pl - page extends to the right

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: belegdol, Unassigned, Mentored)

References

()

Details

(Whiteboard: [country-pl] [css] [contactready])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140514131124

Steps to reproduce:

1. Go to m.wyborcza.pl
2. Scroll right in a place other than either of the news carrousels


Actual results:

Entire page moves left, leaving white canvas


Expected results:

White canvas is as wide as it needs to be without an extra white column
OS: Linux → Android
Hardware: x86_64 → ARM
This reminds of the same issue on Planet Mozilla in which the page extends to the right (bug 729054).

I was able to reproduce this on desktop as well, the page is reporting a content size of 405x7371 on my display when loading the site in a small window.

This is likely a site issue but would like to verify. Kats?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: m.wyborcza.pl - page is rendered with a white column next to it → m.wyborcza.pl - page extends to the right
The document.documentElement.scrollWidth on this page never goes below 960. If the screen width is less than 960 then that makes the page scrollable. I don't know why the scrollWidth doesn't go below 960; there doesn't appear to be anything obvious in the HTML or CSS that makes that the case.
Component: General → Layout
Product: Firefox for Android → Core
Version: Firefox 30 → 30 Branch
Oops, my mistake. It's the #pianoMediaBarContent element that's doing it.
Component: Layout → Mobile
Product: Core → Tech Evangelism
Version: 30 Branch → unspecified
See Also: → 828378
Indeed.

#pianoMediaBarContent {
    width: 960px;
    margin: 0px auto;
}

Removing "width: 960px" doesn't break the content and solves the issue.

Though an interesting thing there is no Web compatibility issue, on iOS Safari, we get the exact same markup, but no issue with the right hand side So there is definitely a difference in between the two rendering engines in processing the width here.

Maybe a reduced test case could help to figure this out.

In the meantime we could ask them to remove the 960px as it doesn't create any issues on Safari too.
Whiteboard: [country-pl] [css] [contactready]
Mentor: kdubost
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.