Closed
Bug 294215
Opened 20 years ago
Closed 20 years ago
Horizontal scrollbar displayed when it shouldn't on p tag using text-align:justify and overflow:auto
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: maze, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 I reproduced the problem in a simple page here : http://www.zombiescomic.com/temp/overflow_bug.html First sample box has a fixed-width div tag in which we have a p tag. The p-tag is set to display text that is justified and uses overflow:auto. I'd expect no scrollbar to show if the content of the p tag is text only. Second sample box doesn't use "justified" and renders fine with left-aligned text. Seems to be some problem with word-wrapping / calculating width of justified text (this kind of problem usually comes from rounding). I've been seeing this problem since FireFox 1.0.1 Still there with 1.0.4 It depends of the width of the "p" tag and the actual text contained within. Reproducible: Always Expected Results: I expect, in the sample shown at http://www.zombiescomic.com/temp/overflow_bug.html, not to see any scrollbars anywhere.
Comment 1•20 years ago
|
||
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050514 Firefox/1.0+ When it comes to reporting layout bugs, please test with a trunk build first: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ This has been fixed and will be available in Firefox 1.1
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•