Closed Bug 275345 Opened 20 years ago Closed 18 years ago

{quirks-mode}{inc} Table has a 100% width and renders only right when reloaded

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: mozilla, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

The page has an table with a 100% width. On the first load it renders with a
static width. On a reload (or when it was still in cache) it renders correct
with a width of 100%.

An example can be found at http://versluis.nl.eu.org/samples/mozbug

Reproducible: Always

Steps to Reproduce:
1. Load page
3. Re-visit the page

Actual Results:  
1. The right side of the page has a lot of white space
2. The white space at the right is gone


Expected Results:  
It should render like the reloaded version on the first load.

Tested in both the lastest Firefox 1.0 and Mozilla 1.7.5
Attached file Testcase #1
I'm pretty sure this is already reported...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
Summary: Table has a 100% width and renders only right when reloaded → {quirks-mode}{inc} Table has a 100% width and renders only right when reloaded
Whiteboard: DUPEME
This looks very similar to bug 148621, not?
Attached image image for testcase
Attached file Testcase2
I like the testcase though, it is much simpeler than what I could come up with
in bug 148621.
Depends on: 148621
*** Bug 303222 has been marked as a duplicate of this bug. ***
IMO, bug 227699 should be resolved as DUPLICATE of this bug.

I created attachment 191486 [details] from bug 303222 which explains and might be useful
for this bug.
In the process of reloading without cache and rebuilding the layout without
cache, the image is get, fetched without using the cache but the constraints on
the table are not honored.
IMO, bug 148621, this bug and attachment 151930 [details], attachment 191486 [details], attachment
169288 [details] and a bunch of URLs listed in several bugfiles all have the same
following 3 "ingredients":

- at least 1 image without declared width and height
- the page gets reloaded without cache (Ctrl+F5 or Shift+Reload or Ctrl+Shift+R)
- The bug happens when rendering mode is Quirks mode

Strangely, but not a coincidence IMO, 3 attachments coming from 3 different bugs
all involve a table with the positioning of a rounded corner image caused by the
width of its containing cell. I think this pretty much proves there is only 1
bug here (and there are duplicates of this bug).
Testcase behaviour has changed between:
- Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/2006120606 Minefield/3.0a (pre-reflow branch)
- Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/2006120804 Minefield/3.0a1 (post-reflow branch)
But I don't know if the new behaviour is the expected behaviour.
Bug occurs in Firefox 2006120701 on Linux.
Bug does not occur in Firefox 2006120801 on Linux.

-> FIXED (by the reflow branch landing)
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: reflow-refactor
Resolution: --- → FIXED
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: in-testsuite?
Flags: in-testsuite?
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: