reflows mess up floating <pre>s

VERIFIED FIXED

Status

()

Core
Layout
VERIFIED FIXED
18 years ago
17 years ago

People

(Reporter: db48x, Assigned: buster)

Tracking

(Blocks: 1 bug, {fonts})

Trunk
fonts
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

18 years ago
Changing the text size on the url provided causes the <pre> (down off the screen
a bit) to suddenly stop floating on the right edge and render as a normal <pre>.
Notice that the image is not affected by the reflow. All attempts at making a
minimal test case have failed. The document is a valid HTML 4.01 document. It
doesn't render correctly in netscape 4.7x. IE 5 handles the font size change
correcty.

Expectied Result:
sections in <pre> tags rendered as a float and in smaller font.

Actual Result:
sections in <pre> rendered in smaller font, but not as a float.

Comment 1

18 years ago
this is the right bug for a reflow specialist
Assignee: karnaze → buster
Actually, the document is _not_ a valid html 4.01 document (hypermart attaches
all sorts of crap at the end).  But a valid version of the document demonstrates
the same problem as the original.
(Reporter)

Comment 3

18 years ago
oooh, hadn't thought about that. But yes, the problem does still happen on a
local copy.

Comment 4

18 years ago
Build 2000022705 kinda works.  When I change the font size, the <pre> floater
renders as a normal <pre>.  However, if I resize the browser window, the <pre>
renders as a float again. Hope this helps.

Comment 5

18 years ago
Marking NEW as per Greg's comments.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: other → All

Comment 6

18 years ago
Marking worksforme.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 7

18 years ago
No, this still happens. Go to
http://db48x.hypermart.net/floatingpre/example.html, and change the text size,
or use one of the alternate stylesheets. Neither should change how the <pre>
sections float, but they do. I can give you a picture of it if you still aren't
sure you're seeing what I am.

This is with build 2001032804, I'll download the very latest tonight, unless I
can get it to build again.

db48x
Status: RESOLVED → REOPENED
Keywords: correctness, fonts
Resolution: WORKSFORME → ---
Blocks: 78094
This worksforme. The debug stylesheet is missing, so yeah, it stops floating when
you switch to it, but changing font sizes and so on shows no problems.

Could you attach the screenshot?
(Reporter)

Comment 10

17 years ago
That's a before and after when switching text size. When I finish downloading a
newer build (15-20 mins) I'll retry it.
(Reporter)

Comment 11

17 years ago
cool, you fixed it. Good job.
Status: REOPENED → RESOLVED
Last Resolved: 18 years ago17 years ago
Resolution: --- → FIXED

Comment 12

17 years ago
Marking verified per last comments.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.