Closed Bug 323310 Opened 19 years ago Closed 19 years ago

FF1.5: width of fixed width table cell (w nowrap) not respected (unless in quirks mode)!

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 277232

People

(Reporter: ecastro, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 compare: <html><body> <table><tr><td width="800" nowrap>This is</td><td nowrap>a test</td></tr></table> </body></html> --> no doc type: Render mode: (quirks mode) -> table OK: 1st cell has always 800 pixel, decreasing browser window width won't alter 1st cell width (an horizontal scroll bar will apear if browser width < table width) ... with (same but with a doctype): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><body> <table><tr><td width="800" nowrap>This is</td><td nowrap>a test</td></tr></table> </body></html> --> with doc type: (Render mode: Standards compliance mode) -> BAD! the table is resized to fit browser window width ('eating' empty space in 1st cell) it use to work on FF<=1.0x, IE, anything!... I would like to have the 'Standards compliance mode' renderer working the same way as the 'quirks' renderer for that matter!... I know it work in quirks mode without the doctype! but it's good manner to specify a doctype ... e.g. html validation... + it also works (even w doctype) if you specify a fixed width for the table element... but it's annoying (overconstrained... + has to be calculated) anyway it used to work in older version!... and its very basic stuff Reproducible: Always Steps to Reproduce: 1. compare previous html examples 2. 3. Actual Results: (with the doctype) the table is resized to fit browser window width ('eating' empty space in 1st cell) Expected Results: 1st cell has always 800 pixel, decreasing browser window width won't alter 1st cell width (an horizontal scroll bar will apear if browser width < table width)
This changed with bug 277232. This was a deliberate choice, so I'm duping this to bug 277232. *** This bug has been marked as a duplicate of 277232 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.