Closed Bug 250083 Opened 21 years ago Closed 21 years ago

CSS cell for pre tags based on browser width not cell width

Categories

(Core :: Layout, defect)

Other Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: cmg, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9 In http://cmg.dok.org/mozprebug.html, there is a pre tag with a very long line of content. When the CSS renders the background color and border, the cell width is based on the width of the viewing window, not on the width of the text in the cell. This creates a chopped line inside the pre tag. Reproducible: Always Steps to Reproduce: 1. Load http://cmg.dok.org/mozprebug.html Actual Results: Cell border ends before the cell text ends. Expected Results: Cell border should surround entire line of text.
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Other Branch
It's supposed to work this way. See chapter 10 of CSS2.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.