-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox displays horizontal scrollbars on <pre> element #13917
Comments
@wolfy1339 Looks like your screenshot failed to upload. |
No, that's not the right syntax for that. It's supposed to be: <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
@cvrebert fixed viewport, added the OS's and version |
I can't reproduce on Windows or Linux. Could you re-upload your screenshot? |
@cvrebert reuploaded, i'll make a new version without the workaround applied, |
Okay, now confirmed on Windows & OS X Firefox. |
Applying |
But both Chrome and Firefox report that the |
Reading this MDN document and the spec it seems as if Firefox is behaving correctly while Chrome is implementing |
Disabling the Seems to fall under these WebKit/Chrome bugs:
Don't know what, if anything, we should do about this. |
/cc @mdo |
Punting because bugs I suppose. (Reopen if I'm wrong or if someone is more interested in derping around on this one.) |
@mdo If my understanding is correct, there's no reason for us to be setting |
@cvrebert Yeah, I probably added it for the docs awhile back. http://jsbin.com/nayaw/1/ looks fine without both properties. |
Thoughts on removing those pre-v4? |
It would be a behavior change in Chrome & Safari, but on the other hand, per this issue, the behavior was already inconsistent across browsers.. |
Yeah, I'll punt to after v4. It's one of those things that isn't really the buggiest of bugs. |
@mdo Cool, add an entry in the Gist then. |
Did right after I commented 😁. |
Time to go hutin' for that secret v4 gist 😆 |
I'm experiencing the same thing in a inside of a form-group div. |
@caylorme That's off-topic for this issue, which is about |
I made a page, but for some reason Firefox seems to be displaying a horizontal scroll bar on the
<pre>
element.The only workaround i have found is to add the
<code>
element tag along with the<pre>
element tagVersion of Firefox: 30.0
OS:Windows, Ubuntu 12.04.4
http://vps3.wolfy1339.tk/FuslVZ/noFix.html
http://www.picpaste.de/pics/fuslfaq.1403639917.jpg
The text was updated successfully, but these errors were encountered: