Closed
Bug 136416
Opened 22 years ago
Closed 22 years ago
An HTML HR is not constrained to its containing DIV
Categories
(Core :: Layout, defect, P2)
Tracking
()
Future
People
(Reporter: stephen.moehle, Assigned: attinasi)
References
()
Details
(Keywords: testcase)
Attachments
(3 files)
On a page with two side-by-side DIVs and one of the DIVs has an HR element, the HR will extend across the entire page rather than being constrained to the containing DIV. I think this is wrong. So evidently does the person who wrote the Blogging software used by EFF. I will attach a simplified testcase which looks fine in IE6 and NN4 but not in Mozilla. Tested with Mozillla trunk 2002-04-09-03 on Win2000.
Reporter | ||
Comment 1•22 years ago
|
||
Confirmed with build 20020416 on winXp
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Updated•22 years ago
|
Target Milestone: --- → Future
Comment 4•22 years ago
|
||
Adding colours to the previous test file shows the HR is correctly the width of it's parent DIV, but that the DIVs are not side by side.
Comment 5•22 years ago
|
||
So the DIVs are not side by side as blue is a float and does not affect the box of red ... so should the HR count as a line box (and act as the text does and flow around the float) or a block box as it seems to now?
Comment 6•22 years ago
|
||
Comment 7•22 years ago
|
||
HR is a block level element according to my HTML 4.01 sidebar so the testcase give which has strict DOCTYPE seems to be correct behaviour. Taking out the doctype gives the behaviour that the reporter expects. So I think this bug should be closed INVALID.
Comment 8•22 years ago
|
||
*** This bug has been marked as a duplicate of 84887 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•