Open Bug 131975 Opened 22 years ago Updated 2 years ago

unnecessary reflow with nested, align=right tables and form-fields (button w/ auto padding causes reflow on click)

Categories

(Core :: Layout: Floats, defect, P3)

defect

Tracking

()

Future

People

(Reporter: sicking, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file, 2 obsolete files)

Sorry about the non-descriptive summary, feel free to change it to something better.

The initial reflow on the above page seems to be off a few pixels. When typing
in the email and password fields the page shifts for each typed letter and after
a while finally settles.

I suspect that fontsizes might affect the reproducibility of this, I ran into
this on a Win98 install using normal fontsizes.

Minimized testcase coming up
Attached file minimum testcase (obsolete) —
To reproduce:
1. load testcase (or above url)
2. type in any of the text-boxes

The textboxes might not be what is causing the problem at all, they simply
produce the right type of reflow to trigger the problem (why do we reflow at
all while typing in textboxes?)

If you can't reproduce try changing the table-width attribute on the third
line. Removing the align="left" on the inner table removes the problem.
 Confirming this on WIN2K. The size of the cell changes when some text is
entered in the text boxes.
Priority: -- → P2
Keywords: testcase
WFM Mozilla 1.2a (aka 2002091014) win95, reporter could you try this again?
Target Milestone: --- → Future
Still WFM, no response => WFM
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
not sure what to do with this. The bug isn't really fixed but we no longer
reflow when typing in the textbox so the resizing doesn't happen (dbaron fixed
that some time ago).

Boris: should this remain closed or is there some way I can trigger the proper
reflow to happen.
Attached file trigger a reflow (obsolete) —
This reproduces the problem for me (and in general, you can just use an onclick
event that will set and then unset a border or something).
Attachment #74950 - Attachment is obsolete: true
reopening, os to all (since this is a problem on Linux too).  I bet this depends
on our other "float on table cell" bugs.
Status: RESOLVED → REOPENED
OS: Windows 98 → All
Hardware: PC → All
Resolution: WORKSFORME → ---
*** Bug 163846 has been marked as a duplicate of this bug. ***
Before I forget, I looked at this a week ago or so and think I found that a
block was returning a max width during the incremental reflow that differed from
the desired width it returned on the unconstrained reflow. Changing component to
"layout floats".
Assignee: karnaze → float
Status: REOPENED → NEW
Component: Layout: Tables → Layout: Floats
QA Contact: amar → ian
Attached file trigger a reflow
Same test. Problem goes away if any one of the following is met:
1 nested table or its parent has width=xxx.
2 either one of two blocks contains only one line of text (no wrap)
3 input has non-auto padding style
Attachment #106937 - Attachment is obsolete: true
Summary: reflow problem with nested tables and form-fields → unnecessary reflow with nested, align=right tables and form-fields (button w/ auto padding causes reflow on click)
Assignee: layout.floats → nobody
QA Contact: ian → layout.floats
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: