Closed Bug 58815 Opened 24 years ago Closed 23 years ago

%-floater in table causes overlap [FLOAT]

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows 2000
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ian, Assigned: karnaze)

References

(Blocks 1 open bug, )

Details

(Keywords: css1, testcase, Whiteboard: [awd:tbl][Hixie-P3] important floater bug)

Attachments

(1 file)

STEPS TO REPRODUCE: 1. Take a table. 2. Put inside it two paragraphs. 3. Float the first paragraph. 4. Give the first paragraph a width in percent. 5. Add just enough text in the first paragraph that it would fit across the table (or viewport if the table has no explicit size). 6. Put more text in the second paragraph. 7. Load the page. ACTUAL RESULTS: The float's text overlaps the other test. Reflows fix the problem if at any point the float's text no longer fits on one line across the table. See attachment.
QA Contact: chrisd → ian
Summary: %-floater in table causes overlap → %-floater in table causes overlap [FLOAT]
I haven't read this bug in detail yet, but it sounds related to bug 41306. The correct behavior in this type of case is hard. I was hoping to figure out how to define it for CSS3...
Since we do the case fine when the text would wrap if the float had width:100%, I don't think this should be hard to fix. It's probably a |return| missing somewhere or something. ;-)
Another %width table bug testcase which causes overlap: http://www.image.ece.ntua.gr/~sivann/table.html If it shows up correctly, try reloading some times! It seems the page displays correctly the first time.
Sorry wrong bugid :-|
Could this bug also be causing the story headlines overlapping the section icon on <a href="http://www.kuro5hin.org/">www.kuro5hin.org</a>? On Kuro5hin, the &lt;tr&gt; had 3 cells: the first 1st is width="12", the 2nd is width="100%", and the 3rd is width="80". Obviously it's a mess, but IE handles it OK... obviously the correct behavior should be to size the 100% down to fit in the row... I'm posting this comment here because it looks like the same bug... If it isn't, someone go ahead and create a new bug... I only use Mozilla casually at the moment (it hangs on the splash screen at work for whatever reason), and I rarely use Bugzilla.
Whiteboard: [Hixie-P3] important floater bug
QA Contact: ian → amar
Blocks: float
Could this be related to bug #52916?
Hixie, could you verify this bug please. WFM win98 2001080603 and it is even Hixie-P3
worksforme win2k.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Whiteboard: [Hixie-P3] important floater bug → [awd:tbl][Hixie-P3] important floater bug
Reopening. If you look at the source of the testcase, large chunks of the text within the testcase are completely undisplayed.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
Setting back to worksforme. Filed what I was seeing as bug 109087.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: