Closed
Bug 139555
Opened 24 years ago
Closed 4 years ago
padding-top style breaks input type radio
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: joel.reed, Unassigned)
References
(Depends on 1 open bug, )
Details
(Keywords: testcase)
Attachments
(2 files)
by add padding-top to the style for the first set of radio buttons, they become
unusable. clicks don't do anything, whereas with the 2nd set they do work. as
there is no padding-top specified. it appears that the text numbers have a
higher z-order than the radio buttons. neither IE6 or N4 exhibit this behavior.
Comment 1•24 years ago
|
||
worksforme, linux build 2002-04-22-07. jr, what build are you using?
Comment 2•24 years ago
|
||
I don't have any problems using 2002-04-23-03 under Windows 2000
->HTML Form Controls
Assignee: dbaron → rods
Component: Style System → HTML Form Controls
QA Contact: ian → tpreston
i'm using mozilla-1.0rc1-0. try making your text zoom 200%, that breaks my 2nd
box here which was working before i increased the text zoom.
Comment 5•24 years ago
|
||
Yep. At high text zoom I can reproduce this. (I guess the padding on the span
needs to actually overlap the radio button.... :) )
> it appears that the text numbers have a higher z-order than the radio buttons.
Since neither has a z-index set and the numbers come after the radio buttons in
the document order, that is true and is the correct behavior.
Ian, are we doing the right thing here? Should padding on an element with
transparent background catch click events?
Keywords: qawanted
QA Contact: tpreston → ian
Comment 6•24 years ago
|
||
who knows
Comment 7•24 years ago
|
||
"content blocked" - hmmm...
can someone produce a testcase?
Comment 8•24 years ago
|
||
Updated•24 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 9•24 years ago
|
||
Look like it is inheritting it and we can fix that by putting !important on it.
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → Future
Comment 10•23 years ago
|
||
I tried to simplify the original testcase and make it valid XHTML. Even though
we can see the radios, they are in fact hidden behind the span object. This
becomes clearly visible when changing the background color of that span object
to non-transparent. Will this "automagically" be fixed when switching to XBL
Form Controls?
Comment 11•23 years ago
|
||
Why would it be? This is not a bug, necessarily. Though see bug
Depends on: 102695
Comment 12•22 years ago
|
||
Verified still broken with Mozilla 1.7 beta on Windows 2003. Also re-verified
that it works in IE6.
Updated•22 years ago
|
Assignee: rods → nobody
Status: ASSIGNED → NEW
Component: Layout: Form Controls → Layout
Priority: P3 → --
QA Contact: ian → core.layout
Target Milestone: Future → ---
Updated•21 years ago
|
Comment 13•4 years ago
|
||
This issue is still reproducible in Release 93.0, Beta 94.0b1 and latest Nightly 95.0a1 (2021-10-07) using Windows 10 and Ubuntu 20.04.
Comment 14•4 years ago
|
||
This also repros in other browsers and is how CSS painting order / hit-testing works.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•