Closed
Bug 114565
Opened 23 years ago
Closed 22 years ago
NOWRAP attribute doesn't work if cell's width not enough
Categories
(Core :: Layout: Tables, defect, P5)
Core
Layout: Tables
Tracking
()
RESOLVED
INVALID
Future
People
(Reporter: zhayupeng, Assigned: alexsavulov)
Details
(Whiteboard: [awd:tbl][p3])
Attachments
(1 file)
1015 bytes,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 BuildID: 2001112114 If the width not big enough, NOWRAP attribute does not work. Reproducible: Always Steps to Reproduce: Just open the first attachment See three tables. The second tables's width is 1. So word in this table is wrapped although the NOWRAP attribute exist. I wonder that if there was a rule to disable NOWRAP attribute if the cell's width is not wide enough...
Comment 2•23 years ago
|
||
Not a DOM problem, over to HTMLTables.
Assignee: jst → karnaze
Component: DOM HTML → HTMLTables
QA Contact: stummala → amar
Add CC to browser-china@sun.com
QA Contact: amar → stummala
great testcase. confirming bug
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [awd:tbl][p3]
Updated•23 years ago
|
Target Milestone: --- → Future
If this is trivial then I would like to know what a trivial workaround for this bug is. Maybe there is a stylesheet trick to fix this? Honestly I am struggling to lay out a page where I want to guarantee that the table cell content is in one line. At the same time, I do not want the table cell to be wider than the width of the line. Only Internet Explorer 3 had this problem. I think contemporary browsers should not really have this bug. Why is this "future" ?? Ouch!
I see why it is considered trivial. There is an easy workaround: Do not code the width parameter. Control width by requesting more width than available in other columns.
Comment 9•22 years ago
|
||
In my opinion, this is not a bug. It all comes down to which attribute should have precedense, WIDTH or NOWRAP. All other browser I have tested also tries to honor the WIDTH rather than NOWRAP (IE6, Opera6, Nav4.7 and Nav3.04.) Recommending INVALID (not a bug), 2002-07-06-04 trunk win98.
Reporter | ||
Comment 10•22 years ago
|
||
I think we need to make sure which attribute is in higher priority. WIDTH or NOWRAP? http://www.w3.org/TR/REC-html40/struct/tables.html [When present, this boolean attribute tells visual user agents to disable automatic text wrapping for this cell.] Not very clear, and this attribute seems to be Deprecated now. I agree to close this one.
Reporter | ||
Comment 11•22 years ago
|
||
Look this, this is how IE understand NOWRAP. http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/nowrap.asp
Comment 12•22 years ago
|
||
Mozilla, IE6, Opera6, Nav4.7 and Nav3.04 have the same behaviour here. Not a bug. Reporter agrees.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•