Open Bug 228942 Opened 17 years ago Updated 11 years ago

input[type=checkbox] as :root stretches

Categories

(Core :: Layout: Form Controls, enhancement)

enhancement
Not set
normal

Tracking

()

People

(Reporter: annevk, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: css1, testcase)

Attachments

(2 files)

79 bytes, application/xhtml+xml
Details
451 bytes, text/html
Details
The behavior described in the summary (and showed at the URI) is incorrect AFAIK.
Assignee: dbaron → form
Component: Style System (CSS) → Layout: Form Controls
Keywords: testcase
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?
Attached file test case
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).
Attached file test case
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).
Depends on: 242277
Filed bug 242277.
No longer depends on: 242277
Depends on: 242277
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.