Closed Bug 22913 Opened 25 years ago Closed 24 years ago

word wrap off on page with code sample

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

VERIFIED DUPLICATE of bug 54834

People

(Reporter: joel.reed, Assigned: harishd)

References

()

Details

(Whiteboard: [TEST CASE NEEDED])

Attachments

(8 files)

using latest nightly build (1-2-2000) on a RH6.1 box, the above URL looks
terrible esp. compared to N4. not sure if this a gecko bug or not, but i hope
this helps.
Assignee: troy → kipp
May be a style problem. Someone needs to reduce it to a smaller test case. Block
issue so re-assigning to Kipp's bug list
Whiteboard: [TEST CASE NEEDED]
I am about to attach a minimized test case.  It looks like in Nav the blockquote
is basing it's width on the containing table's width attribute, and not the
actual computed width of the table.
Attached file small test case
Severity: normal → major
OS: Linux → All
Priority: P3 → P2
Hardware: PC → All
Target Milestone: M14
at least part of this is a parser problem.  Look at the second attachment (that
I am about to add.)  It does not lay out correctly.  Worse, it lays out
differently in viewer and mozilla. Maybe a default compatibility mode thing?  If
you remove the comments in the (second) test case so there is an </P> in the
content, it works better, but still different in the two gecko clients.
Attached file parser test case
assigning to rickg to handle the parser related problems.  when they're fixed, 
reassign to me for the layout issues.
Assignee: kipp → rickg
I am about to attach images of what I see in debug builds of viewer and mozilla.  
Today's optimized build does NOT show this difference:  both optimized viewer 
and optimized mozilla have the no word wrap behavior.
harish:  I've attached both screen shots and content model dumps of the 
difference.  I'd look at both problems (assuming you can reproduce!), the broken 
content model as shown by mozilla, and the difference between mozilla and viewer 
is scary as well.  Could it be an uninitialized variable?  Purify might help.
Attached image What I see in mozilla.
Attached image What I see in viewer
(1) our different experiences lead me to believe there's an uninitialized 
variable somewhere
(2) at least you can reproduce the incorrect content model case at will, so you 
should be able to track that down at least.
The problem is PRE being allowed to contain flow-entities ( block & inline ). 
Per spec. PRE should contain nothing but inline.
Assuming it's mine.
Forgot to mark "Reassign but to" field.
Assignee: rickg → harishd
Made BLOCKQUOTE to not be contained withing PRE ( as per spec. )
FIXED.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed in the Feb 18th build (2000021808).
Status: RESOLVED → VERIFIED
This is wrong as far a backward compatibility is concerned. Given Buster's 
testcases, we look the same as IE. And the fix you added here causes bug 53473. 
Reopening.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
It turns out that the real bug here isn't that <PRE> can't contain <BLOCKQUOTE> 
(which is true per spec but not in practice), but that the <PRE><P></PRE> wasn't 
being allowed to close. It does now as a sideeffect of fixing bug 54834.

I'm marking this a dup of that bug.

*** This bug has been marked as a duplicate of 54834 ***
Status: REOPENED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → DUPLICATE
vrfy dupe. However according to bugzilla bug 54834 is not fixed. [See also dupe 
bug 61077]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: