Closed Bug 16461 Opened 25 years ago Closed 25 years ago

[dogfood] mousing over checkboxes in prefs reflows window

Categories

(Core :: XUL, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mikepinkerton, Assigned: kmcclusk)

Details

(Whiteboard: [PDT-] NOV-15 reporter to verify)

launch apprunner with paint flashing on.
open prefs window.
mouse over any checkbox, see the whole panel reflow/repaint.
Status: NEW → ASSIGNED
accepting
Whiteboard: [PDT-]
Putting on [PDT-] radar.  At least it works on reflow. Not a dogfood blocker.
Please send bug to pdt@netscape.com if you do not agree.
reassigning to brendan since i'm going on vacation.
Bulk-reassigning pink's "paint" bugs.

/be
Kevin -- here are some paint bugs. We'll load balance after Wednesday's meeting
The problem is the checkbox in global.css changes the border width to 1px (the
default in html.css is a 2pixel border), but does not change the hover style
rule to match. The CSS style system sees that the border has changed width,
assumes the size of the frame has changed and causes a reflow.

If we want to keep the one pixel border for the checkbox we need to add the
following rules to mozilla\xpfe\global\resources\skin\global.css

window html|input[type=checkbox]:hover {
  border: 1px solid black;
}

window html|input[type=checkbox][disabled] {
  border: 1px solid;
}

window html|input[type=checkbox][disabled]:hover {
  border: 1px solid rgb(153, 153, 153);
}

window html|input[type=checkbox]:focus {
  border:1px dotted rgb(153, 153, 153);
}

Adding hyatt to CC line since he owns global.css
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed in Nov 11, 1999 3:22PM build.
Whiteboard: [PDT-] → [PDT-] NOV-15 reporter to verify
Pink, could you verify this fix (and others like it), since I don't have
debug build with which to verify these fixes?
Status: RESOLVED → VERIFIED
tested, this works muuuuuch better now.
You need to log in before you can comment on or make changes to this bug.