Closed Bug 147463 Opened 24 years ago Closed 23 years ago

[FIXr]Content changes size when checkbox is selected

Categories

(Core :: Layout, defect, P3)

x86
All
defect

Tracking

()

RESOLVED FIXED
mozilla1.4beta

People

(Reporter: MatsPalmgren_bugz, Assigned: bzbarsky)

References

()

Details

(Keywords: testcase)

Attachments

(5 files, 2 obsolete files)

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)
Attached file Testcase #1
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
Attached file Testcase #2 (obsolete) —
Testcase #2: even smaller, but only shows shrink problem with trunk build - no problem in RC3.
Changing priority to P3.
Priority: -- → P3
-> Rods
Assignee: attinasi → rods
Target Milestone: --- → Future
-->
Assignee: rods → jkeiser
Attached file Minimized Testcase (obsolete) —
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.
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
Attachment #85207 - Attachment is obsolete: true
Attachment #87335 - Attachment is obsolete: true
Attachment #121846 - Attachment description: Horizontal scrollbar that should not be there → Horizontal scrollbar that should not be there (Testcase #1)
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 → ---
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.
Attachment #121851 - Flags: superreview?(roc+moz)
Attachment #121851 - Flags: review?(jkeiser)
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
(spawned off bug 203588 for the scrollbar problem)
Attachment #121851 - Flags: review?(jkeiser) → review+
Attachment #121851 - Flags: superreview?(roc+moz) → superreview+
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: other → bzbarsky
Summary: [FIX]Content changes size when checkbox is selected → [FIXr]Content changes size when checkbox is selected
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+
fixed.
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: