Closed Bug 297252 Opened 20 years ago Closed 18 years ago

Caption changes display mode when floated twice or in a 100% width table floated once

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jbrady, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

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 If I put a table in two divs and float each div to the left or right, the caption on the table no longer stays at 100% width. It should stay the same size as the table. This also happens when the table is at 100% width and in only one floated div, and if the table itself is directly floated. Reproducible: Always Steps to Reproduce: 1. Create table with <caption>, 1 row, and 1 cell. Make sure the data in the cell is longer than the caption. 2. Do one of the following combinations: A) Float the table directly and place in a div that is also floated B) Specify a percentage (%) width on the table and place it in a div that is also floated C) Place the table in two divs that are floated. Actual Results: The caption is shrunk to the size of its contents, instead of staying the same size as the table Expected Results: The caption should have stayed the same size as the table, as in other browsers (IE6 and Opera tested)
Hardware: All → PC
Version: unspecified → 1.0 Branch
Is this still a bug using Firefox 2.0.0.3? Do you also see this issue on the trunk? For me, using Firefox 2.0.0.3, I see two tables where the caption and the text underneath it are different sizes: the second and the last one. I haven't investigated if this is wrong or not though. -> Core to investigate
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Whiteboard: CLOSEME - 05/23
Version: 1.0 Branch → unspecified
I checked the attachment, A & C are still failing. Those are the 2nd and last tables. B, which would be the 4th and 5th tables, seems half fixed. It doesn't shrink the caption, but the Div doesn't float right. The 5th table should be on the right side with the 6th table. In Both IE and Opera, all captions matched to the width of the table, and floated correctly. I made this bug report thinking that Firefox should have the same result. If that is in error, than what is the proper display? As for the Trunk, I don't test those builds, only the latest stable builds.
Oops.. That would be checked in Firefox 2.0.0.3. (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3)
On the trunk, tables 1, 5, and 7 don't display properly. In other words, this is entirely different on trunk vs branch. I'm not sure if this is covered by other bugs or not... Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a5pre) Gecko/20070508 Minefield/3.0a5pre
Flags: blocking1.9?
Keywords: testcase
Whiteboard: CLOSEME - 05/23
If there's a new problem on the trunk, could you file a separate bug report for it that clearly describes the problem, and if severe enough, nominate that for blocking?
Flags: blocking1.9? → blocking1.9-
Filed bug 382364 and 382366 with the issues seen. Requested blocking on both. Resolving this bug as INVALID in favor of those two.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: