Closed
Bug 63457
Opened 24 years ago
Closed 24 years ago
Text overflows table cell if image in another cell specifies align=
Categories
(Core :: Layout: Tables, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: akkzilla, Assigned: karnaze)
References
Details
(Keywords: css2, Whiteboard: WG: do floats inside cells grow the cell (yes please))
Attachments
(1 file)
536 bytes,
text/html
|
Details |
If a table row has two cells, the first containing text and the second containing an image with align=right, the text overflows its cell boundaries and spills over into the image. Remove the align=right, and this stops happening. Unfortunately, putting an image into a table cell without an align= causes it to display with a "-" character in NS4, so one has to design a page either to look bad in NS4 or be unreadable in gecko.
Reporter | ||
Comment 1•24 years ago
|
||
Sounds like the floating image isn't making the table cell expand to hold it. I'd argue that it probably should expand, although according to the current CSS spec, it's totally unclear. It's an interesting case, though. ->HTMLTables, although I guess it could be a block layout issue.
Assignee: clayton → karnaze
Component: Layout → HTMLTables
QA Contact: petersen → chrisd
Comment 3•24 years ago
|
||
dbaron: iirc at the oslo face to face it was decided that floats inside cells do grow their parent cells (or parent floats, or parent absolutely positioned shrink wrapping blocks).
Keywords: css2
It seems to me, if anything was decided, it was the opposite, but the minutes aren't very clear: http://lists.w3.org/Archives/Member/w3c-css-wg/2000JulSep/0119.html
Comment 5•24 years ago
|
||
Ho hum. It is unclear indeed. Maybe we should bring this up again...
Whiteboard: WG: do floats inside cells grow the cell (yes please)
The patch attached to bug 61772 fixes the problem. Not doing this by some strange w3c decision will break bug 61772 and 13553 which has regressed. The interesting thing from bug 13553 is that this growing was already implemented!!!. Nav4 and IE5 also do this. If browser independency is a goal one should allow the growing. Or shouldn't we take the freedom to innovate and make the testcase working? In other word's if we dont allow the growing IE5 will work like web developers expect it, and mozilla will break the pages. My recommendation would be to fix this bug and make a mark in the source, to be able to disable it, when it is really necessary.
Reporter | ||
Comment 7•24 years ago
|
||
Thanks for the pointer! Indeed, that patch does fix the problem, or at least makes it much better (sometimes pages still lay out wrong the first time, but on reload they get better). Looks like this is probably a dup of 13553 (to which 61772 was DUPed) but I'll let the owner decide. Cc'ing buster, who owns 13553.
buster checked in the fix
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 10•23 years ago
|
||
The text is not spilling on to the image anymore. verified on Build ID: 2001052213.. OS: Linux Marking verified
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•