Closed
Bug 93592
Opened 23 years ago
Closed 7 years ago
floats can be overwritten
Categories
(Core :: Layout: Floats, defect, P3)
Core
Layout: Floats
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: brianclark44, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: css1, testcase, Whiteboard: [bae:20011129][CSS1-5.5.25])
Attachments
(4 files)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.3) Gecko/20010802
BuildID: 2001080214
Mozilla 0.9.3 for MacOS 9.1 fails a portion of the W3C's CSS1 Test Suite: 4.1.4
Floating Elements.
Some of the floated elements on the page are overwritten by some of the DIV text.
Reproducible: Always
Steps to Reproduce:
1.Go to the above web page
2.Load the page
3.Scroll down to see the examples of the floated elements being overwritten by
portions of the DIV text.
Comment 1•23 years ago
|
||
WFM, 2001-08-01-03 on Windows 98 SE.
Reporter | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
Are you using a "View - Text Size" other than 100% ? I see text overlapping
the floaters if I use 90% or 120% for example.
Reporter | ||
Comment 4•23 years ago
|
||
I don't seem to have this "View - Text Size" option in Mozilla 0.9.3 for Mac.
It should be on the "View" menu at the top of the screen, right? I would have
to assume that since I don't have it, the text size is hard coded somewhere.
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0
behaviour confirmed on win98. DIV text overlaps floating elements' text.
Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.6+) Gecko/20011118
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.2
Comment 7•23 years ago
|
||
handing over to Pierre for debug
Assignee: attinasi → pierre
Whiteboard: [bae:20011129]
Target Milestone: mozilla1.2 → ---
Comment 8•23 years ago
|
||
Back to Layout. Changed the summary line from "Mozilla fails a portion of the
W3C's CSS1 Test Suite: 4.1.4 Floating Elements" to "[FLOAT] floats can be
overwritten".
I understand it is bad to fail even a part of a testcase from the CSS1 test suite
but in that case it doesn't seem to be too important. Look at the attached
simplified testcase. The DIV text only overwrites the second float when:
* the two floats don't fit on the same line
* the margin on these floats is very small (either 0 or a few pixels)
Assignee: pierre → attinasi
OS: Mac System 9.x → All
Hardware: Macintosh → All
Summary: Mozilla fails a portion of the W3C's CSS1 Test Suite: 4.1.4 Floating Elements → [FLOAT] floats can be overwritten
Comment 9•23 years ago
|
||
Comment 10•23 years ago
|
||
I have another example of this bug, although it takes some work to find it. The
URL is http://www.meyerweb.com/eric/css/edge/slantastic/demo.html but the bug
only manifests at certain browser window sizes (and thus certain flow
arrangements). I'm going to attach a screenshot I took of the problem, so that
hopefully others can reproduce the same bug. The screenshot was taken in
2002011803/Mac. (It also shows a different bug that I'm going to be submitting.)
As for this being unimportant, I very much disagree. If it's possible for
normal-flow text to overwrite floats, then floats become a lot less useful for
advanced page layout. It also makes me less sanguine about our flow
calculations in general, since it implies that we don't really know where
everything is and so can't figure out when a line should be wrapped. That
seems, well, bad.
Comment 11•23 years ago
|
||
You can see the words "is 1em" overlapping the borders of a floated text
element. Other words can be coaxed to overlap the float to varying degrees by
resizing the browser window.
Comment 12•23 years ago
|
||
The erroneous white vertical line has been reported in bug 120783.
Updated•23 years ago
|
Target Milestone: --- → mozilla1.1
Updated•23 years ago
|
Whiteboard: [bae:20011129] → [bae:20011129][CSS1-5.5.25]
Comment 13•23 years ago
|
||
I do not see this problem occuring on win2000.
But I do see it on RedHat Linux 7.3
Build ID tested on :-
win2000: 2002-05-12-20-XX-PR1
linux 7.3: 2002-05-12-23-XX-PR1
Priority: -- → P3
Comment 14•23 years ago
|
||
also see it on macOS 9.1
buildID: 2002-05-12-17-XXpr1
Comment 15•22 years ago
|
||
Comment 16•21 years ago
|
||
->Floats
Assignee: attinasi → float
Component: Layout → Layout: Floats
QA Contact: petersen → ian
Summary: [FLOAT] floats can be overwritten → floats can be overwritten
Target Milestone: mozilla1.1alpha → ---
Depends on: 25888
Updated•21 years ago
|
Target Milestone: --- → Future
Comment 18•19 years ago
|
||
still fails Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060306 Firefox/1.6a1
Updated•15 years ago
|
Assignee: layout.floats → nobody
QA Contact: ian → layout.floats
Blocks: css2.1-tests
Comment 19•8 years ago
|
||
Comment 20•7 years ago
|
||
All the tests in this bug report now pass in Firefox 52.6.0 ESR buildID=20180123215146
Resolving as WORKSFORME
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•