Closed
Bug 294803
Opened 19 years ago
Closed 15 years ago
Float elements inside a fieldset
Categories
(Core :: Layout: Floats, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: gellert.gyuris, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Inside a fieldset there are _only_ float elements. Anyway, he height of the containing fieldset grows till the height of the inner part. Reproducible: Always Actual Results: Now the height of the containing fieldset grows till the height of the contained float elements. Expected Results: The float elements should stretch beyond the fieldset (see the screenshot). References: it works well in Opera8, Safari1. It works badly in IE, Konqueror 3.4, Opera7.x
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Comment 3•19 years ago
|
||
Fieldset is a block formatting context root in Mozilla. Hence the behavior you observe. Since behavior of fieldset can't be described by CSS, in general, this is in fact allowed by the spec.
Whiteboard: DUPEME
Comment 4•18 years ago
|
||
Similar to this, I'm getting "clear: both" ignored inside fieldsets. A workaround seems to be to add a border to the DIV you want the clear: both to work for.
Per HTML 5, fieldsets establish a new block formatting context, effectively making this bug invalid. (In reply to comment #4) > Similar to this, I'm getting "clear: both" ignored inside fieldsets. A > workaround seems to be to add a border to the DIV you want the clear: both to > work for. I'll try to find out whether this was a bug in Fx 1.0; if so, I'll add a reftest later.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
(In reply to comment #5) > I'll try to find out whether this was a bug in Fx 1.0; Ah, that was bug 309550. There was no reftest added, so here's a quick one.
Attachment #373563 -
Flags: review?(roc)
Attachment #373563 -
Flags: review?(roc) → review+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/0cb7dce24559
Keywords: checkin-needed
Whiteboard: DUPEME
You need to log in
before you can comment on or make changes to this bug.
Description
•