Closed Bug 300744 Opened 19 years ago Closed 19 years ago

Element breaks when padding is too large

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: micha, Unassigned)

References

()

Details

(Keywords: testcase)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: FireFox 1.0.4 & Deer Alpha 1

The box should be as high as defined, because it has -moz-box-sizing set. 
Currently, when the contents of the box are larger than childs+box padding it 
breaks.



Reproducible: Always

Steps to Reproduce:
1. Set padding to high
2.
3.
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
> The box should be as high as defined, because it has -moz-box-sizing set. 

That would require a negative computed height, which is not allowed.  So the rendering is correct.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.