Closed
Bug 274556
Opened 20 years ago
Closed 18 years ago
{inc}Page layout changes when clicking on form buttons
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: r.navalinskas, Assigned: mrbkap)
References
()
Details
(Keywords: testcase, Whiteboard: [reflow-refactor])
Attachments
(3 files)
Sometimes when clicking on "submit" button on some web form, it doesn't work at once, instead page layout is slightly changed and only next or further next click on the same button "works". Example: 1. go to http://www.miestai.net 2. On the left side there is some kind of "poll", i.e. web form. 3. Try clicking on buttons "balsuoti" or "rezultatai" and see what happens. This bug is not new.
Comment 1•20 years ago
|
||
I can see the bug, using: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20041213 Firefox/1.0+ Reporter, did you see this bug also with a 1.8a build, or with a 1.7 build? If this is not happening in a 1.7 build (and I can't see it happening) then this should be blocking bug 261196. (and this bug needs a minimal testcase).
| Reporter | ||
Comment 2•20 years ago
|
||
Can't say regarding 1.7. It was so long ago... About test case - I already mentioned how to reproduce the problem, is it sufficient ?
Comment 3•20 years ago
|
||
With a simplified testcase, I can confirm the bug. It makes it for developers easy to see where Mozilla is doing something wrong (codewise). I'll try to make a testcase.
Blocks: 261196
Comment 4•20 years ago
|
||
Comment 5•20 years ago
|
||
Confirming, although this could be a duplicate, I haven't really looked. I guess the right component would be Layout->Tables
Status: UNCONFIRMED → NEW
Component: General → Layout: Tables
Ever confirmed: true
Keywords: testcase
Product: Mozilla Application Suite → Core
Version: unspecified → Trunk
Comment 6•20 years ago
|
||
Same problem (using the testcase) under Linux/PPC, using Mozilla (CVS checkout and compiled a few hours ago). Hardware/OS should be set to All/All.
| Assignee | ||
Comment 7•20 years ago
|
||
Taking because I'm trying to investigate this. At least one interesting portion
of the reflow log is:
rowG 03894534 d=1650,840
rowG 03894534 r=2 a=1575,UC c=1575,UC cnt=310
Note that this is from the incremental reflow and that 1650 is the initial size
desired (the one gained from the initial reflow).Assignee: general → mrbkap
rowG 03894534 d=1650,840
rowG 03894534 r=2 a=1575,UC c=1575,UC cnt=310
There are some things that are not written in the reflow log....
namely after the initial reflow the layout strategy happens see
http://www.mozilla.org/newlayout/doc/table-layout.html
Comment 10•20 years ago
|
||
so what happens here is some sort of recursion give a content desired width take 0.95 of that if you start on the next cycle with the current width as the desired width and take again 0.95 of that the table shrinks. One should look at the maximumWidth (m) in the reflow log.
Comment 11•20 years ago
|
||
and looking again at the testcase I am wondering whether the behaviour changes if the float:left is removed from the inner table. In theory there should be no difference in the rendering.
Comment 12•20 years ago
|
||
Blake could you attach the full reflow log (may be splitted as what happens on load and what happens as a response to pressing the button)?
| Assignee | ||
Comment 13•20 years ago
|
||
There are 3 reflows in the log, the initial reflow, the reflow on mousedown and the reflow on mouseup.
| Assignee | ||
Comment 14•20 years ago
|
||
Updated•19 years ago
|
Summary: Page layout changes when clicking on form buttons → {inc}Page layout changes when clicking on form buttons
Whiteboard: [reflow-refactor]
Comment 15•18 years ago
|
||
Doesn't work: - Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/2006120606 Minefield/3.0a1 [pre-reflow branch landing] (clicking button results in page layout changing; not expected) Does work: - Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/2006120804 Minefield/3.0a1 [post-reflow branch landing] (clicking button results in page layout not changing; expected) --> RESOLVED FIXED
Comment 16•18 years ago
|
||
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: in-testsuite?
Updated•12 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•