Closed
Bug 149913
Opened 24 years ago
Closed 21 years ago
Setting display=none and then display = inline on a 100% wide table makes it forget the width.
Categories
(Core :: Layout: Tables, defect, P4)
Core
Layout: Tables
Tracking
()
People
(Reporter: matiasnu, Assigned: karnaze)
Details
Attachments
(1 file)
|
1000 bytes,
text/html
|
Details |
I tried this on Mac OS X (Mozilla 1.0 Final + NS 7.0PR1) and W2000 (NS
7.0PR1) and get the same results (it's probably affecting other flavors too;
Setting display=none on a 100% wide table and then display=inline will
make the table forget that it was 100% wide. Quite annoying indeed if yor
application depends on it.
| Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Changing the display property of a table to anything other than 'table'
or 'none' is likely to do odd things. User agents may or may not draw an HTML
TABLE as a table if you change this property. Toggling the display property
between 'none' and 'table' works fine.
See: http://www.w3.org/TR/REC-CSS2/tables.html#q2 and the discussion on the
similar bug 114867 .
| Reporter | ||
Comment 3•24 years ago
|
||
OK, I hadn't heard of display=table, better brush up on my CSS2 skills
then... :) Thanks!
There is also a political perspective to this, since many sites (developed
for IE) use display=none and display=block/inline to switch tables on and
off, but I'll leave that decision to somebody else.
Updated•24 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P4
Comment 4•24 years ago
|
||
"width" does not apply to things with display:inline per CSS, so I'm afraid this
bug is invalid.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Updated•21 years ago
|
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 5•21 years ago
|
||
*** This bug has been marked as a duplicate of 50626 ***
Status: REOPENED → RESOLVED
Closed: 24 years ago → 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•