Closed
Bug 288076
Opened 20 years ago
Closed 20 years ago
display problem with <pre> in trunk
Categories
(Core :: Layout: Positioned, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: hhschwab, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(3 files, 2 obsolete files)
difference in width using 1.7 branch and 1.8, <p style="white-space: pre; font-family: Courier,Courier New,monospace;"> has a box width of 728 in Mozilla 1.8b2 and a box width of 365 in Firefox 1.0.2 testcase follows
| Reporter | ||
Comment 1•20 years ago
|
||
compare testcase in a 1.7.x based Mozilla/firefox release and a 1.8 based trunk build. could this be related to Bugzilla Bug 88987 should not support PLAINTEXT, see testcase in Bug 287990, and screenshot showing linebreaks in the Object-DOM Node window only: https://bugzilla.mozilla.org/attachment.cgi?id=178781
| Reporter | ||
Comment 2•20 years ago
|
||
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a6) Gecko/20041126 Behaviour changed between BuildId 2004112606 and 2004112707 http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyAll&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2004-11-26+00%3A00&maxdate=2004-11-27+07%3A00&cvsroot=%2Fcvsroot maybe Bug 201897 shrink-wrap absolutely positioned boxes, right of container, have 0 width
| Reporter | ||
Comment 3•20 years ago
|
||
Attachment #178857 -
Attachment is obsolete: true
| Reporter | ||
Comment 4•20 years ago
|
||
html {
border: groove thick orange;
margin: 1em;
font-family: sans-serif;
}
p { background-color: lime; }
div {
position : absolute;
top : 0;
left : 315px;
}
</style></head>
<body>
<div>
<p>Wednesday 18 August 2004</p>
<p style="white-space: pre;">The myth should live on. There WAS a Bill
Gates that worked for Netscape. :-DD </p>
</div>
Attachment #178878 -
Attachment is obsolete: true
Comment 5•20 years ago
|
||
The current rendering looks correct to me. Using a clean profile, on
attachment 178915 [details], with a maximized window, I have a 520px width for the
"<P>The myth should live on..." box in a current trunk Linux build.
That width is what is needed to fit the text as far as I can see.
Using Mozilla 1.7.3 (same profile) I get the same result for that element.
(The :root element is different but that's a bug that's been fixed).| Reporter | ||
Comment 6•20 years ago
|
||
Firefox 1.0.2 gecko 1.7.6 - box width 443 The 'whitespace: pre' styled string is longer than the div. Win98 screen resolution 800x600, classic theme
| Reporter | ||
Comment 7•20 years ago
|
||
Mozilla Trunk Nightly 1.8b2 - box width 558 The 'whitespace: pre' styled string defines the width for all divs. That´s best seen on the original URL, http://glazman.org/weblog/dotclear/index.php?Microsoftisms Win98 screen resolution 800x600, classic theme Mats, if you look at the original URL, there is something buggy. Don´t know, if this is a TE bug, or a layout bug.
Comment 8•20 years ago
|
||
The current rendering is correct (fixed by bug 201897). See the description of "shrink-to-fit" at http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width -> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Component: Layout → Layout: R & A Pos
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•