Closed Bug 777258 Opened 13 years ago Closed 12 years ago

min-height & box-sizing:border-box not working

Categories

(Core :: Layout, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 308801

People

(Reporter: jonas.jasas, Unassigned)

References

()

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11 Steps to reproduce: http://jsfiddle.net/Cj8vZ/38/ Actual results: <div class='content'> does not fit in to body, Padding is not added to div's height. Expected results: <div class='content'> should fit in to body as in all other browsers.
Severity: normal → major
Priority: -- → P4
Attached file html
Component: Untriaged → Layout
Product: Firefox → Core
Summary: box-sizing:border-box not working → min-height & box-sizing:border-box not working
Version: 17 Branch → Trunk
(In reply to :Ms2ger from comment #2) > Bug 776265? I would say it's a dupe of bug 308801.
(In reply to Loic from comment #3) > (In reply to :Ms2ger from comment #2) > > Bug 776265? > > I would say it's a dupe of bug 308801. 7 years for this bug, looks like unfixable. Sad to see my site almost unusable with FF :(
See Also: → 308801
This does indeed look like a duplicate of bug 308801. But the patches for bug 776265 should actually fix this, I believe. Jonas, you can get the same effect without using box-sizing by using calc() instead if you just want something that works cross-browser and doesn't depend on underspecified experimental properties...
Severity: major → normal
Depends on: 308801
Priority: P4 → --
(In reply to Boris Zbarsky (:bz) from comment #5) > This does indeed look like a duplicate of bug 308801. But the patches for > bug 776265 should actually fix this, I believe. > > Jonas, you can get the same effect without using box-sizing by using calc() > instead if you just want something that works cross-browser and doesn't > depend on underspecified experimental properties... http://caniuse.com/calc http://caniuse.com/css3-boxsizing Not sure which is experimental :) But anyway thank's for a good hint! Hope to work around this FF bug with calc.
The key part was "underspecified". ;)
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
No longer depends on: 308801
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: