Closed Bug 887422 Opened 11 years ago Closed 11 years ago

padding-bottom is ignored with "calc" height

Categories

(Core :: Layout: Block and Inline, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 748518

People

(Reporter: jugglinmike, Unassigned)

Details

When CSS `height` is defined with the `calc` function, the value of `padding-bottom` is ignored, i.e.:

.container {
  height: calc(50px);
  padding-bottom: 50px;
}

Platform: Firefox Nightly 25.0a1 (2013-06-25)

Demo: http://jsbin.com/upixig/1/edit
Upon further investigation, I've found that the use of `calc` is irrelevant. Specifying "overflow" triggers this behavior, which as bug 748518 documents, is expected.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.