Closed Bug 45670 Opened 25 years ago Closed 23 years ago

Viewer Demo #8 Form - Table in button is rendered incorrectly

Categories

(Core :: Layout, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: kinmoz, Assigned: rods)

References

Details

(Keywords: testcase)

Attachments

(1 file)

Using my 07/17/00 Win32 Mozilla debug build: If you load the Viewer demo #8 in the browser via the menu "Debug --> ViewerDemos --> #8 Form", you'll notice that there is a gray button at the top of the page that says "This button contains a table and a background image. It will also submit the form." You'll also notice that the table inside the button is rendered incorectly until you mouse over it. By incorrect, I mean that you see the table border rendered too small, and you see 2 of the cell borders drawing outside the table border, and you don't see any of the text that should be in the cells.
Assignee: clayton → karnaze
Attached file simplified testcase
Looking at the frame dump before and after, I think it's the TABLE which changes height.
Upon managerial request, adding the "testcase" keyword to 84 open layout bugs that do not have the "testcase" keyword and yet have an attachement with the word "test" in the description field. Apologies for any mistakes.
Keywords: testcase
With recent table reflow optimizations the table portion is correctly rendered before mousing into it, but is then incorrect. The problem is that the button is reflowing the table unconstrained and then never reflowing it again with a real width. The table never gets a chance to balance its columns correctly. Rather than un-optimizing tables for the benefit of html 4 buttons, it is better if html buttons do a 2nd reflow of their children. When they do, they should also make an optimization where they don't do the 2nd reflow if they are being reflowed unconstrained. Reassigning to rods.
Assignee: karnaze → rods
accepting
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.2
Target Milestone: mozilla0.9.2 → Future
Mozilla 2001112003 Windows 2000 NOTICE: by "clicking" I mean "press mouse button over BUTTON and holding MB move cursor out of the BUTTON". [Viewer demos->#8 Form] The table in the button changes after clicking it. Text is wrapped into two lines, therefore size of the button also gets bigger (vertically). [testcase] Similar behaviour. [http://www-mag.com.pl/kurs/form/form.htm] There is a button containing table - table looks strange before clicking (just after loading this webpage), but after clicking - looks nice.
Editing for grammar. Old Summary: Viewer Demo #8 Form - Table in button renders incorrectly New Summary: Viewer Demo #8 Form - Table in button is rendered incorrectly
Summary: Viewer Demo #8 Form - Table in button renders incorrectly → Viewer Demo #8 Form - Table in button is rendered incorrectly
Priority: P3 → --
Fixed by checkin for bug 26650.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Depends on: 26650
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: