Closed Bug 364124 Opened 19 years ago Closed 19 years ago

Major parts of this page are not shown

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bengt.erik.soderstrom, Assigned: dholbert)

References

()

Details

(Keywords: regression, testcase)

Attachments

(6 files, 1 obsolete file)

Since some 3-4 days ago on trunk builds, major parts of www.undertexter.se is not displayed any longer. This happens in my Firefox trunk builds (Win XP - VC8 and Mingw) and in Seamonkey trunk (Linux FC6 GCC) as well. I will attach screenshots showing this behaviour
The correct webpage is captured with Firefox 2.0.
This is caused by Bug 300030 but I don't know if it is a dupe (looks a bit like Bug 363388). I'll set it blocking bug 300030 until this is clear.
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Attached file testcase —
What happened to not confirming layout bugs without a testcase?
Keywords: regression, testcase
It was filed as New.
(In reply to comment #5) > It was filed as New. Sorry - I didn't mean to imply that you confirmed it.
Summary: Major parts of this page is not shown → Major parts of this page are not shown
This bug is also valid for Seamonkey Linux builds
OS: Windows XP → All
Assignee: nobody → dholbert
Attached file testcase for firefox2.0.0.3 (obsolete) —
This bug is also valid for Firefox 2.0.0.3, if the outer table has its height specified as well. Posting a new test case that reproduces the bug on Firefox 2.0.0.3. (I just added "height="30%" to Uri's test case)
I'm actually not sure this is a bug. The text is not displayed for a good reason -- it's being pushed out of the outer table's view port by the inner table, which has a height=100% of its container and consequently leaves no room for anything else. You can see this by changing the height of the inner table to be something less than 100% -- e.g. 90% -- and then the missing text is partially visible, because there's a little space left to display it. Moreover, if you fix up the test case by adding a <tr><td> to enclose the hidden text in a cell, then it displays just fine.
(Cancel that last bit about adding <tr><td> -- I'd previously misread the html and thought that the missing text was bare within the <table> tag, and was not enclosed within a <tr><td>. But now I see that it's in the same cell as the inner table.)
Maybe some connection to bug 370525. dholbert showed me some testcases where, with an image with height 100%, we've changed away from honoring the height, and with a table, we've changed towards honoring the height.
Component: Layout → Layout: Tables
QA Contact: layout → layout.tables
Does the style rule: td { overflow: visible; } make the missing content show up where you expect it to be?
Nope. That style rule doesn't make any noticeable visible changes to either test case, in MineField or Firefox 2.0.0.3
Status: NEW → ASSIGNED
This is a zipped set of test cases related to Bug 364124. Essentially, each test consists of an outer table that has a single cell. This single cell contains either 1) an image, or 2) an inner table The inner image/table has the attribute "height=100%", and it is followed by the string "You should be able to see this text". Both of these cases (inner image + inner table) are present in two variations, in the with_height and without_height directories. The difference is the following: a) with_height: outer table has a specified height (250px) b) without_height: outer table has no specified height. All of these test cases run in almost-standards mode, forced by this doctype tag: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> I'm including screen captures of all four tests, running in minefield (using trunk on 5/7/07) and Firefox 2.0.0.3 (under Ubuntu). Note that the "table with height" test case is the only case on which the two browser versions agree.
Comment on attachment 263742 [details] testcase for firefox2.0.0.3 Obsoleting this testcase, because our behavior is actually correct on it. (The outer table has a percentage height for this testcase, so there is a special height reflow, which makes the inner 100%-high table fill the outer table and push the "missing" text out of the outer table's bounds.)
Attachment #263742 - Attachment is obsolete: true
I think the original problem here was fixed by the checkin of bug 370525, but there may be some additional bugs that need filing based on those testcases? Daniel, could you file any additional bugs if needed, and mark this one as fixed?
Filed additional bugs (from the image testcases) as bug 385823.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: