Closed
Bug 817961
Opened 13 years ago
Closed 10 years ago
fieldset does not clear float when it doesn't fit next to it
Categories
(Core :: Layout: Floats, defect)
Core
Layout: Floats
Tracking
()
RESOLVED
DUPLICATE
of bug 478834
People
(Reporter: slobberbone4884, Unassigned)
References
()
Details
(Keywords: css2, testcase)
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0
Build ID: 20121119145849
Steps to reproduce:
I've got the code in th form.html.
This code works fine under IE or Chrome/chromium.
It's validate by http://validator.w3.org/nu/
But with Firefox 17.0 on Fedora 17 or on Windows 7/8 I've got the same issue : the form is not display whereas it's in the source code of the page.
If you remove the last <li> tag , it works (see comment REMOVETOWORK).
If you take the form.html and remove only <td> tag, it works too.
If you keep the first <td> tag it doesn't work. But in this same tag (<td>) you remove style=200px, so it works ! then you add the second <td> tag like original file, it doesn't work again ...
Actual results:
The form is not display. Not at all !
Expected results:
I should see the form.
Updated•13 years ago
|
Attachment #688153 -
Attachment mime type: text/plain → text/html
Comment 1•13 years ago
|
||
The testcase works for me in Firefox 17 and Nightly on Linux.
| Reporter | ||
Comment 2•13 years ago
|
||
Sorry, you must remove the /*REMOVETOWORK*/ tag, because with the tag, it woks too .... I don't understand why !
Please can you make the test again ?
| Reporter | ||
Comment 3•13 years ago
|
||
(In reply to Mats Palmgren [:mats] from comment #1)
> The testcase works for me in Firefox 17 and Nightly on Linux.
Sorry, you must remove the /*REMOVETOWORK*/ tag, because with the tag, it woks too .... I don't understand why !
Please can you make the test again ?
| Reporter | ||
Comment 4•13 years ago
|
||
If you want to test in the context : http://www.opti-time.net:1080/production/?page_id=12
You may have the form, it's in the source code, but no display ...
Comment 5•13 years ago
|
||
Yeah this seems pretty wrong. You can work around it with this CSS:
fieldset { clear: both; }
Attachment #688153 -
Attachment is obsolete: true
Updated•13 years ago
|
Component: Untriaged → Layout
OS: Linux → All
Product: Firefox → Core
Hardware: x86_64 → All
Summary: No display with a form from wordpress plugin → fieldset does not clear float when it doesn't fit next to it
Version: 17 Branch → unspecified
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
http://www.w3.org/TR/CSS21/visuren.html#floats
The "The border box of a table, a block-level replaced element, ..." paragraph
in CSS2.1 9.5 seems to suggest we should clear the float.
I think this is a variation of bug 478834 (<fieldset> is a block-level replaced
element).
| Reporter | ||
Comment 8•13 years ago
|
||
(In reply to Mats Palmgren [:mats] from comment #6)
> Created attachment 688209 [details]
> Same test with a <table> next to the float
This is ok with your advice to add fieldset { clear: both; } in my css. thank you !
I'll remove this page, do you want I attach to this bugID ? for the folowing step to resolve it ?
| Reporter | ||
Comment 9•13 years ago
|
||
Updated•10 years ago
|
Component: Layout → Layout: Floats
Should be fixed in tomorrow's nightly.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•