Closed
Bug 1030362
Opened 11 years ago
Closed 11 years ago
calc(x% - ypx) not applied to top level div
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: BenWa, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
|
3.02 KB,
text/html
|
Details |
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).
| Reporter | ||
Comment 1•11 years ago
|
||
Fixed mixed content loading error.
Attachment #8446145 -
Attachment is obsolete: true
Comment 2•11 years ago
|
||
> 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...
| Reporter | ||
Comment 3•11 years ago
|
||
Ahh, sorry.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Comment 4•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•