Open Bug 228942 Opened 17 years ago Updated 11 years ago
input[type=checkbox] as :root stretches
The behavior described in the summary (and showed at the URI) is incorrect AFAIK.
Assignee: dbaron → form
Component: Style System (CSS) → Layout: Form Controls
Severity: normal → enhancement
OS: Windows XP → All
Hardware: PC → All
The horizontal scrollbar is gone now. Shall I mark this as a duplicate of bug 15405? Maybe not.. it also suffers from bug 57906.
Depends on: 57906
Summary: input[type=checkbox] as root gives horizontal scrollbar → input[type=checkbox] as :root gives horizontal scrollbar
Summary: input[type=checkbox] as :root gives horizontal scrollbar → input[type=checkbox] as :root stretches
Anne, mind attaching the testcase to the bug, for posterity?
The 'input' is now only vertically centered. The clickable area is the same size as the viewport. The 'outline' is only vertically stretched, not horizontally.
With the patch from bug 241694, the stretching no longer happens, but there are some issues with event targeting (the whole canvas dispatches events to the checkbox) and painting (you never see the check mark).
Boris, might that have anything to do with Mozilla returning HTML in the attached test case while not clicking on the HTML element itself?
Yes, the content node for the canvas frame is the root node in Mozilla, so events get confused. I'm not sure whether you want to heavily morph this bug or file a new one (I'd prefer the latter, I think).
Assignee: layout.form-controls → nobody
QA Contact: ian → layout.form-controls
You need to log in before you can comment on or make changes to this bug.