Closed Bug 298442 Opened 20 years ago Closed 20 years ago

Table width adjusts incorrectly when JavaScript modifies 'display' property of table's contents

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: timwi, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file, 1 obsolete file)

773 bytes, text/html
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Please view the attached testcase.

Reproducible: Always

Steps to Reproduce:
1. Click the checkbox in the attached testcase.

Actual Results:  
The table cell acquires the width of just the text before the <br /> (the "short
line").

Expected Results:  
The table cell should acquire the width of the entire contents of the <span
id='y'>, which includes the longer line.
Attached file Test case (obsolete) —
Test case.
Attached file Test case
Smaller test case.
Attachment #187012 - Attachment is obsolete: true
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050619
Firefox/1.0+
WFM. The width of the table is adjusted to fit the long line.
WFM, Mozilla 2005-06-20-02 trunk Linux

Reporter, please test with a recent nightly build:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Keywords: testcase
it reproduces with

"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9) Gecko/20050620
Firefox/1.0.5" - a test build for Firefox 1.0.5

and doesn't reproduct with
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050621"
WFM Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050622
Firefox/1.0+ ID:2005062205

Does not appear to WFM with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:1.7.8) Gecko/20050509 Firefox/1.0.4
Seems that it is fixed on trunk, layout bugs should always be tested with a
recent trunk build.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: