Closed Bug 1030362 Opened 11 years ago Closed 11 years ago

calc(x% - ypx) not applied to top level div

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: BenWa, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Attached file test.html (obsolete) —
The following testcase uses "height: calc(100% - 70px);" on the top level div. The element is sized properly in chrome/safari but is not in gecko (release, nightly).
Attached file test.html
Fixed mixed content loading error.
Attachment #8446145 - Attachment is obsolete: true
> is sized properly in chrome/safari Per spec, that height style should be treated as "auto", since the parent is auto height. The testcase is in quirks mode, though, so it's possible that Safari/Chrome are applying percentage height quirks to calc() (which per the quirksmode spec they should not!). If I put the testcase in standards mode it equally fails to do anything useful at all in all browsers...
Ahh, sorry.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: