Closed
Bug 3354
Opened 26 years ago
Closed 26 years ago
Float bug
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: braden, Assigned: buster)
References
()
Details
The style sheet for this page specifies that LI elements inside DIR elements
should be floated left. This is not correctly applied in NGLayout, and has some
odd side effects it shouldn't on some content following the DIR element.
Comment 1•26 years ago
|
||
braden@endoframe.com:
Please forward the .css file for review to chrisd@netscape.com. Thanks.
it turns out to have been a rendering bug; the floating LI's where in the right
spot; they just couldn't render. With todays checkins they now can.
Please check this again. I just looked at it in the 3/25 Win32 build and it
still isn't rendering correctly. Only the first list item renders at all (there
are three, total), and the following text ("Citation text") is rendered in the
wrong place.
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Comment 4•26 years ago
|
||
Using 3/26 build on Win 95, Win NT, Win 98, Mac 8.5 and Linux, different buggy
behavior on different platforms.
Expected results:
(1) Directory list should display 3 left-aligned list items.
(2) Citation text should default to left-alignment and should be in italics.
(3) Code text should default to left-alignment and font should be monospace.
Actual results:
Win 98: Directory list is okay but 'citation text' and 'code text' are right
aligned.
Win 95: One item on the directory list is not aligned correctly; 'code text' is
center aligned and 'citation text' is right aligned.
Win NT: Directory list is okay but 'citation text' and 'code text' are right
aligned.
Mac: One item on the directory list is not aligned correctly; 'code text' is
okay but 'citation text' is right aligned.
Linux: One item on the directory list is not aligned correctly; 'code text' is
okay but 'citation text' is right aligned. Also, 'citation text' is not in
italics.
No. That is not the expected rendering. List items in the directory list are
floated left. They should appear as
--
List item one List item two List item three
--
Note also the width of 24 ems.
"Citation text" follows the UL, which is a block level element, not floated. So
"Citation text" should be on the next line, butted up against the left padding
of the parent element.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
I sent braden some email asking if he was certain about it still being broken,
and here is his response:
> The window width was unaltered from the default application width. The
> boxes around the frames you see are drawn by the debug "visual
> debugging" menu item which only works if you have a debug build.
>
> The three list items are indeed floating (which is easily seen by
> widening the window) and the "citation text" that follows is placed
> exactly where it should be based on the rules for margin application
> since P's have a margin top of 1em in your style sheet (and in the
> ua.css).
You're right. This isn't the effect I'd intended (as I suspect you guessed),
but you're right. And I'm sorry I missed the correct floating of the list
elements--looks like an em in Mozilla is bigger than an em in IE.
> If thats what you see, then we should close the bug...
Close the critter. I apologize for the confusion.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•25 years ago
|
||
Verified fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•