Closed Bug 1015986 Opened 10 years ago Closed 10 years ago

Exit Popup has a scrollbar in Firefox 29 but in Chrome hasn't

Categories

(Core :: Layout, defect)

31 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: pisty2, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140520004002

Steps to reproduce:

1. Visit http://galjanos.shoprenter.hu
2. Try to close the window
3. The popup box has vertical and horizontal scrollbar



Expected results:

In Chrome and in another browsers hasnt scrollbar and this is what i want.
Severity: normal → critical
In Firefox 28 was it work, but in new release (Firefox 29) wasn't.
Maybe like bug 136067, but indeed it behave differently between Fx28 and Fx29.

Last good revision: 12d3ba62a599 (2014-01-13)
First bad revision: 34dddf6f7ec1 (2014-01-14)
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=12d3ba62a599&tochange=34dddf6f7ec1

Unfortunately, even though several attempts, but I did not get more accurate results uses "mozregression" tool for inbound.
Severity: critical → normal
Component: Untriaged → Layout
Product: Firefox → Core
The "12 tipp a sikeresebb internetes eladáshoz" popup has a scrollbar.
The markup is:
<iframe style="margin-top: -219.5px; margin-left: -415px;" id="iframe_campaign_9" horizontalscrolling="no" verticalscrolling="no" vspace="0" hspace="0" marginwidth="0" marginheight="0" allowtransparency="true" target="_parent" src="http://front.optimonk.com/public/2/campaign/9/popup" name="http://galjanos.shoprenter.hu" frameborder="0" height="439px" width="830px">
 </iframe>

and it's styled with "overflow:hidden" which is likely why we didn't create
scrollbars for it before.  This property no longer affects the scrollbars for
the viewport of the inner document.  It was changed in bug 943249 to match
other browsers.

You should use the attribute scrolling="no" instead to suppress the scrollbars.
http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#the-page

(Maybe Chrome has non-standard attributes horizontalscrolling/verticalscrolling
that does the same and that's why it works there?)
Blocks: 943249
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
We solved the problem: 

We moved the "overflow: hidden" style from iframe to the next inner element (form), and it works correctly.

Thanks for your assistance.
You need to log in before you can comment on or make changes to this bug.