WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
20666
WebKit shows horizontal scrollbar when other browsers do not in div
https://bugs.webkit.org/show_bug.cgi?id=20666
Summary
WebKit shows horizontal scrollbar when other browsers do not in div
Alexei Svitkine
Reported
2008-09-05 08:38:18 PDT
Take a look at the attached text case. Firefox, Opera and IE do not show a horizontal scroll bar in the div, but Webkit (latest nightly and Safari 3.1) does. The issue is that the URL:
http://hl.udogs.net/files/Uploads/%20User%20Uploads/Zaknafein%20Uploads/FLHscreenshotGameFilms/king.pdf
Does not wrap, and remains on one line, causing the need for the scroll bar. Yet, all other text in the div wraps to the viewable width of the div. This is inconsistent. If a horizontal scroll bar is displayed, then it does not make sense for the other text to wrap to the viewable width (rather than the scrollable width). However, the correct behavior, it seems, is to wrap the URL along with the other text. Firefox and Opera wrap it on the / character, while IE wraps it at the % character (which seems worse than /). Webkit should behave similarly to FF and Opera.
Attachments
test case
(924 bytes, text/html)
2008-09-05 08:49 PDT
,
Alexei Svitkine
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexei Svitkine
Comment 1
2008-09-05 08:49:57 PDT
Created
attachment 23194
[details]
test case
Ahmad Saleem
Comment 2
2022-12-30 15:39:14 PST
I am able to reproduce this issue in Safari 16.2 & STP160 where it show horizontal scrollbar because "URL" and some text is not wrapped while in case of Firefox Nightly 110, it does not show horizontal scrollbar. NOTE - Chrome Canary 111, Safari 16.2 & STP160 all show scrollbar. Just updating the status to "New" and tagging few others to confirms whether it is something need to be fixed or Firefox need to change behavior. Thanks!
zalan
Comment 3
2022-12-30 18:17:14 PST
It looks like Gecko sees '\' as a soft wrap opportunity.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug