Closed
Bug 147463
Opened 24 years ago
Closed 23 years ago
[FIXr]Content changes size when checkbox is selected
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.4beta
People
(Reporter: MatsPalmgren_bugz, Assigned: bzbarsky)
References
()
Details
(Keywords: testcase)
Attachments
(5 files, 2 obsolete files)
|
631 bytes,
text/html
|
Details | |
|
4.77 KB,
image/png
|
Details | |
|
17.97 KB,
image/png
|
Details | |
|
27.25 KB,
image/png
|
Details | |
|
1.09 KB,
patch
|
john
:
review+
roc
:
superreview+
asa
:
approval1.4b+
|
Details | Diff | Splinter Review |
DESCRIPTION:
Content changes size when checkbox is selected.
REPEAT BY:
1. load http://www.bostream.se/page.php?xml=swe/pages/company/orderservices.xml
2. left-click on the checkbox (to the left of "Ja tack...")
ACTUAL BEHAVIOUR:
Middle part of the content (grey area) shrinks in height, vertical scrollbar
appears. Reload and the page is restored. 100% repeatable.
EXPECTED BEHAVIOUR:
Checkbox selected. No other layout changes.
PLATFORM & BUILD:
Mozilla nightly trunk build, 2002-05-25-04, on Windows 98 SE.
Bug also occurs in Mozilla 1.0 RC3, but slightly different - here the content
grows instead when the checkbox is clicked.
ADDITIONAL INFORMATION:
The URL works fine in IE6 and Opera6.01 on Windows 98 SE.
(See also bug 147457 for another problem on same URL)
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
Testcase #1: clicking the checkbox shrinks the DIV in trunk 2002-05-25-04 and
grows the DIV in Moz 1.0 RC3.
Keywords: testcase
| Reporter | ||
Comment 3•24 years ago
|
||
Testcase #2: even smaller, but only shows shrink problem with trunk build - no
problem in RC3.
Comment 7•24 years ago
|
||
OK, so anything that causes a reflow (in this case changing style on a button)
reveals a problem with block elements inside div overflow=auto. Click the
button in this case and you see the same results.
| Assignee | ||
Comment 8•23 years ago
|
||
Button reflow has been whacked since. All the testcases in this bug work for me
now; the original site seems to have changed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 9•23 years ago
|
||
Attachment #85207 -
Attachment is obsolete: true
Attachment #87335 -
Attachment is obsolete: true
| Reporter | ||
Comment 10•23 years ago
|
||
| Reporter | ||
Comment 11•23 years ago
|
||
| Reporter | ||
Updated•23 years ago
|
Attachment #121846 -
Attachment description: Horizontal scrollbar that should not be there → Horizontal scrollbar that should not be there (Testcase #1)
| Reporter | ||
Comment 12•23 years ago
|
||
REOPEN: There are still a few problems with Testcase #1 and the URL.
1. The enabled button is 2 pixels wider than what it is disabled.
See Testcase #1. I have attached a screenshot (400%) of this in
attachment 121845 [details].
2. When resizing the window horizontally slowly (Testcase #1) the
horizontal scrollbar does not disappear when it should. Resizing faster
makes it disappear correctly. See screenshot of this in attachment 121846 [details].
3. Visiting the URL, a horizontal scrollbar appears occasionally.
See screenshot in attachment 121847 [details]. (Could be the same bug as in 2?)
All three problems are repeatable on both Windows 98 and Linux:
2003-04-26-05 trunk Linux
2003-04-26-08 trunk Windows 98 SE
Status: RESOLVED → REOPENED
OS: Windows 98 → All
Resolution: WORKSFORME → ---
Target Milestone: Future → ---
| Assignee | ||
Comment 13•23 years ago
|
||
Ah, ok. So that's what the original bug was about...
This fixes the off-by-one error in sizing disabled buttons. The scrollbar
thing should probably be a separate bug under block layout.
| Assignee | ||
Updated•23 years ago
|
Attachment #121851 -
Flags: superreview?(roc+moz)
Attachment #121851 -
Flags: review?(jkeiser)
| Assignee | ||
Comment 14•23 years ago
|
||
Taking.
Assignee: jkeiser → other
Status: REOPENED → NEW
QA Contact: cpetersen0953 → ian
Summary: Content changes size when checkbox is selected → [FIX]Content changes size when checkbox is selected
Target Milestone: --- → mozilla1.4beta
| Reporter | ||
Comment 15•23 years ago
|
||
(spawned off bug 203588 for the scrollbar problem)
Updated•23 years ago
|
Attachment #121851 -
Flags: review?(jkeiser) → review+
Attachment #121851 -
Flags: superreview?(roc+moz) → superreview+
| Assignee | ||
Comment 16•23 years ago
|
||
Comment on attachment 121851 [details] [diff] [review]
patch for the button changing size
Could this please be approved for 1.4b? This just fixes a 1px mis-sizing of
disabled buttons...
Attachment #121851 -
Flags: approval1.4b?
| Assignee | ||
Comment 17•23 years ago
|
||
.
Assignee: other → bzbarsky
Summary: [FIX]Content changes size when checkbox is selected → [FIXr]Content changes size when checkbox is selected
Comment 18•23 years ago
|
||
Comment on attachment 121851 [details] [diff] [review]
patch for the button changing size
a=asa (on behalf of drivers) for checkin to 1.4b
Attachment #121851 -
Flags: approval1.4b? → approval1.4b+
| Assignee | ||
Comment 19•23 years ago
|
||
fixed.
Status: NEW → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•