Closed
Bug 238974
Opened 22 years ago
Closed 22 years ago
block child with 100% percentage dimensions overflows parent.
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: ccanales, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
1.25 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040326 Firefox/0.8.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040326 Firefox/0.8.0+
Nested div with width:100% and height:100% overflows outside parent dimentions.
this can be seen when both parent and child have borders enabled.
**I apologize if this is a duplicate. i couldn't find one that would fit completely.
Reproducible: Always
Steps to Reproduce:
1.make parent div with border.
2.make child div with border.
3.make child div 100% width, 100% height.
Actual Results:
child border overflows parent.
Expected Results:
child border stays inside parent.
IE renders this correctly.
Comment on attachment 144953 [details]
Initial testcase.
fixed mime type on attachment.
Attachment #144953 -
Attachment mime type: text/plain → text/html
Updated•22 years ago
|
Comment 3•22 years ago
|
||
Seen in Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7b) Gecko/20040316
This is correct behavior.
See, e.g., http://tantek.com/CSS/Examples/boxmodelhack.html
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•