Closed Bug 21206 Opened 25 years ago Closed 25 years ago

[BLOCK] moz-pre-wrap pre cols shows horizontal scrollbar when it doesn't need to

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: akkzilla, Assigned: buster)

Details

(Keywords: css-moz)

Bring up a plaintext editor: either run mozilla -edit and do Debug->Plaintext
Editor, or run viewer, point at a file containing
<body style="white-space: -moz-pre-wrap; width: 72ch; font-family: -moz-fixed;
background-color: rgb(255,255,255); ">
and go into edit mode.

Now type words with spaces separating them, until layout wraps.  Note that a
horizontal scrollbar appears, even though all the text on the page fits easily
within the window.  There seems to be a large margin on the right edge of the
page which is being considered part of the page width.

This also happens on a page with <pre cols=72>: load such a page, and notice
that the scrollbar is shown even though the window is easily wide enough to show
73+ characters.
Assignee: troy → kipp
I can't see a problem with the latest build (on Windows anyway).
Windows uses different default fonts, and the default sizes for the various
windows are chosen based on the windows fonts.
Updating to default Layout Assignee...kipp no longer with us :-(
Why are you re-reassing layout bugs? Do NOT touch layout bugs.

The bugs are assigned to Kipp so they can stay neatly organized until we have a
new owner for the block/inline code.
Summary: moz-pre-wrap pre cols shows horizontal scrollbar when it doesn't need to → {css-moz} moz-pre-wrap pre cols shows horizontal scrollbar when it doesn't need to
mass moving all Kipp's pre-beta bugs to M15.  Nisheeth and I will
prioritize these and selectively move high-priority bugs into M13 and M14.
Summary: {css-moz} moz-pre-wrap pre cols shows horizontal scrollbar when it doesn't need to → [BLOCK] {css-moz} moz-pre-wrap pre cols shows horizontal scrollbar when it doesn't need to
Keywords: css-moz
Summary: [BLOCK] {css-moz} moz-pre-wrap pre cols shows horizontal scrollbar when it doesn't need to → [BLOCK] moz-pre-wrap pre cols shows horizontal scrollbar when it doesn't need to
This has been fixed by recent improvements in the pre wrap handling.  The
plaintext editor looks fine now.  Marking fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed in the Feb 21 Linux Build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.