Closed
Bug 93992
Opened 25 years ago
Closed 22 years ago
Checkbox-nbsp-text causes table row to extend too far
Categories
(Core :: Layout: Tables, defect, P1)
Core
Layout: Tables
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: gregvalure, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(3 files)
Build ID: 2001080110
Reproducable: Always
If you look at the attached file, one cell causes its row to extend past the
edge of the table instead of properly stretching its column. This only occurs
(that I know of) when the cell contains a checkbox-nbsp-word without spaces
sequence.
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
Comment 3•25 years ago
|
||
Confirmed, 2001-08-09-04 on Windows 98 SE.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Analysis:
The problem here is that the cell content reports a maxElementSize corresponding
to the form element instead of the whole line. It correctly reports the desired
size for the form element + + nonbreakable text. When it places all boxes
the layout is not able to create a line break inside ' aaaaaaa' and filles
instead the desired size, while the LayoutStrategy based on the min content
width assumed that the cell will break the line. The line break occures when
one removes the I think the critical place is
http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsLineLayout.cpp#1836
Where we skip the aaaaa width because it is smaller then the form element
width. I would prefer some more sophisticated logic here, whether the
corresponding frame is able to perform a linebreak or not. Reassigning the bug
to Chris Waterson as this is LineLayout.
Chris, this is in my opinion one of the incarnations of the <img><img> linebreak
bugs, and fixing this would kill a large number of potentail dupes.
Assignee: karnaze → waterson
Comment 5•25 years ago
|
||
Updated•25 years ago
|
Comment 6•25 years ago
|
||
Comment 7•25 years ago
|
||
The fix for bug 32191 (and bug 54565) does not fix this. There is more to do,
obviously. For example, we need to figure out if we want form controls to
contine text runs like images do.
Status: NEW → ASSIGNED
Updated•25 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Comment 9•25 years ago
|
||
Moving out to Mozilla 1.01 due to no URL being impacted (and limited engineering
resources to work on it).
Target Milestone: mozilla0.9.6 → mozilla1.0.1
Comment 10•24 years ago
|
||
Moving Mozilla 1.01 bugs to 'future' milestone with priority P1
I will be pulling bugs from 'future' milestones when scheduling later work.
Priority: P2 → P1
Target Milestone: mozilla1.0.1 → Future
Comment 11•24 years ago
|
||
*** Bug 138055 has been marked as a duplicate of this bug. ***
Comment 12•24 years ago
|
||
Is bug 148148 related to this?
| Reporter | ||
Comment 13•24 years ago
|
||
*** Bug 148148 has been marked as a duplicate of this bug. ***
| Reporter | ||
Comment 14•24 years ago
|
||
It sure is.
As noted in bug 148148, setting nowrap in td eliminates the problem.
| Reporter | ||
Comment 15•24 years ago
|
||
Setting platform and OS to all since bug 148148 was reported on Linux.
OS: Windows 98 → All
Hardware: PC → All
Comment 16•23 years ago
|
||
attinasi will probably not work on those bugs :-(
Assignee: attinasi → table
Status: ASSIGNED → NEW
QA Contact: amar → madhur
Target Milestone: Future → ---
Updated•23 years ago
|
Target Milestone: --- → Future
Comment 17•22 years ago
|
||
Greg, none of the testcase overlap now, is this wfm? winxp2004090507
| Reporter | ||
Comment 18•22 years ago
|
||
Looks like WFM even on 1.7 (20040616/XP)
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•