Closed Bug 243302 Opened 20 years ago Closed 18 years ago

{inc} Table only properly laid out after reload of page

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

VERIFIED FIXED

People

(Reporter: m_mozilla, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

In the page
http://www.dabs.com/uk/channels/components/harddiskdrives/internalide/products.htm?catid=202
the 'top 5 recommends' table is initially laid out vertically and narrow, and
only properly laid out after a reload of the page. 

Reproducible: Always
Steps to Reproduce:
1. Navigate to
http://www.dabs.com/uk/channels/components/harddiskdrives/internalide/products.htm?catid=202
2. Note 'top 5 recommends' table is narrow
3. Press F5
4. Note table is properly laid out

Actual Results:  
as per 'how to reproduce' and attached image at
http://www.martin-kemp.com/box_layout_problem.gif

Expected Results:  
laid the table out wider, as per IE and Opera
Confirmed with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a)
Gecko/20040510 Firefox/0.8.0+
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Browser
QA Contact: core.layout
Version: unspecified → Trunk
This needs a minimal testcase (using hyatt's trick described at
http://weblogs.mozillazine.org/hyatt/archives/2003_08.html#003963 probably).
Keywords: qawanted
Confirmed.

- Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a) Gecko/20040511
Firefox/0.8.0+
- Microsoft Windows 2000 Pro 5.00.2195 SP4
This reproduces every single time using the "clone slowly" bookmarklet located here:

http://www.squarefree.com/bookmarklets/testbrowsers.html

A value of about 100 characters/write is recommended.
Here's the minimal testcase:

<table><tr><td width="100%">MMMM<script>var v =
document.body.offsetHeight;</script> MMMM</td></tr></table>
100% reproducible testcase. Load page and you will see the pair of M:s in 2
rows, resize the window to trigger a reflow and it will be fixed.
Component: Layout → Layout: Tables
Keywords: testcase
QA Contact: core.layout → core.layout.tables
Confirming. Nice testcase.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawanted
Summary: Table only properly laid out after reload of page → {inc} Table only properly laid out after reload of page
How close is this to bug 217527?
Weirdness observed with:
-  Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/2006120606 Minefield/3.0a
(Table has two rows of MMMM - after resizing the browser window this changes to one row reading MMMM MMMM)

No weirdness observed with:
- Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/2006120804 Minefield/3.0a1
(Table has one row of MMMM MMMM and resizing browser window does not change layout)

-->RESOLVED FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: reflow-refactor
Resolution: --- → FIXED
Flags: in-testsuite?
Attached patch ReftestsSplinter Review
Attachment #257597 - Flags: review?(dbaron)
Comment on attachment 257597 [details] [diff] [review]
Reftests

Checked in after testing in pre- and post-reflow-branch builds.
Attachment #257597 - Flags: review?(dbaron) → review+
Status: RESOLVED → VERIFIED
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: