Closed Bug 927863 Opened 6 years ago Closed 6 years ago
Regression: Scrolling is broken inside frames
See url testcase, you should be able to scroll the pages in the subframes. This seems to fail in every (i)frame that I encountered. This is a problem on trunk, but not in Aurora. Tested on the Samsung Galaxy Nexus, Android 4.3.
I can repro as well. We need to get a regression range and back out the offending change, this seems pretty severe.
Thanks for the test-case Martijn. http://hg.mozilla.org/mozilla-central/pushloghtml?startdate=2013-09-30&enddate=2013-10-01 Kats, bug 911574?
Indeed. It appears that in iframes, it is the body and not the documentElement that has scrollTopMax > 0. I don't know why this is different from the root document.
Fixed via backout of bug 911574.
tn, do you know why for the top-level content document it is the root <html> element that is scrollable but for content iframes it is the <body> element?
Just a guess but is the root content document in standards mode and the iframe document in quirks mode? Element::GetScrollFrame at http://mxr.mozilla.org/mozilla-central/source/content/base/src/Element.cpp#480 looks at the body in quirks mode and the html element in standards mode, and it is called from GetScrollTopMax.
Both the root frame and the iframe appear to be rendering in quirks mode in the desktop browser. I can try to dig into this a little more.
Verified fixed on: Build: Firefox for Android 27 Beta 2 Device: LG Nexus 4 OS: Android 4.2.2
You need to log in before you can comment on or make changes to this bug.