Closed
Bug 37794
Opened 25 years ago
Closed 25 years ago
checked and unchecked images for checkboxes have different heights
Categories
(Core :: XUL, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: puetzk, Assigned: bugs)
Details
the checked and unchecked states for a checkbox have different heights. this is
a nuisance, as it makes forms reflow and move whenever ou check or uncheck.
simple fix is described here - it's just a CSS problem.
there are two fixes here - I'm not sure what size the checkbox was supposed to
be. visually, I prefer the second (larger) appearence.
in both cases, chrome/global/skin/checkbox.css is being edited
1) on line 52, change
border: 1px outset #CCCCCC;
to
border: 1px inset #CCCCCC;
this outset border takes up space in the box that isn't there, forcing the box
to enlarge.
2) on lines 30 and 31, change
width: 8px;
height: 8px;
to
width: 10px;
height: 10px;
this is because there is an inset border in the active state, which makes the
8pixel image need a 10pixel box.
I prefer the larger checkboxes of the latter fix.
Comment 1•25 years ago
|
||
I don't see any reflow in the page when the checkboxes are toggled. It's true
that the :active state gives the appearance of "larger" as the transition
occurred, but that is part of the visual feedback ... the external dimensions
of the <checkbox> do not actually increase.
But, this is Ben's domain (and I may be clueless here :-]).
Assignee: trudelle → ben
Reporter | ||
Comment 2•25 years ago
|
||
in the internet search panel (at least) they cause everything to move down.
I think in prefs the text is taller than the buttons and therefore they don't
cause an unwanted reflow.
Updated•25 years ago
|
Target Milestone: --- → M17
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 4•25 years ago
|
||
Ben made this change, I do believe (and, for the record, I am clueless).
(Or actually, he made the second of the two proposed changes; in the first
case, whether inset or outset, the border does not take more room.)
You need to log in
before you can comment on or make changes to this bug.
Description
•