Closed
Bug 113035
Opened 23 years ago
Closed 23 years ago
display property not applied to label elements
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 107763
People
(Reporter: aaron, Assigned: dbaron)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
BuildID: 2001112009
Mozilla doesn't seem to apply any setting of display to label elements. In the
example, I've demonstrated display:block; and display:none;.
It doesn't seem to matter whether the style is declared in a linked stylesheet,
inline, or embedded, or even attached through DOM.
note that other rules for css are applied as usual. this problem only seems to
apply to display, although I have not tested every single css property.
labeled as minor because display:none can be worked around with
position:absolute; visibility:hidden; and display:block can be worked around by
wrapping the label in some block-level container.
Reproducible: Always
Steps to Reproduce:
1. goto url.
2. note that both labels are displayed inline.
3. stare in horror.
Actual Results: um. both labels displayed inline.
Expected Results: not displayed the first label at all, displayed the second
label as block-level.
<label style="display:none;">yo</label>
Comment 1•23 years ago
|
||
<label> is pretty broken, but I had no idea it was this horked. cc'ing rods.
Severity: minor → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•23 years ago
|
||
This is basically done on purpose... see forms.css
*** This bug has been marked as a duplicate of 107763 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 3•23 years ago
|
||
I thought this was happening due to the frame construction code even before the
change in the bug that bug was duped to.
Reporter | ||
Comment 5•23 years ago
|
||
sorry for dupe. i searched, but apparently not hard enough.
You need to log in
before you can comment on or make changes to this bug.
Description
•