Closed
Bug 102971
Opened 24 years ago
Closed 24 years ago
Incorrect interpretation of CSS 'height:' property for boxes
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: fullermd, Assigned: dbaron)
Details
Attachments
(1 file)
|
1.07 KB,
application/octet-stream
|
Details |
Per http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-height , a percentage
height: property on a box will give the box that percentage of the size of the
containing block. However, Mozilla (0.9.4) doesn't appear to honor that.
For a reproduction case, see
http://www.over-yonder.net/~fullermd/bugshowoff/heightbug.html.
The 'heightbug.tar.gz' in the same directory contains the .html and the
associated .css file for download (a hair over 1k).
Interestingly, Opera 5 appears to handle the height: correctly, but glitches in
a different manner by adding a bunch of dead space at the bottom of both columns.
| Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
-> style system, although possibly layout?
Assignee: asa → dbaron
Component: Browser-General → Style System
QA Contact: doronr → ian
| Assignee | ||
Comment 3•24 years ago
|
||
Does this fall under the "If the height of the containing block is not specified
explicitly (i.e., it depends on content height), the value is interpreted like
'auto'."
| Reporter | ||
Comment 4•24 years ago
|
||
I'm not entirely sure; the standard gets a bit murky on those fine points.
My understanding of it is that, even in such an event, it should still end up
being the height of the containing block. The fact that Opera seems to handle
it in the same way as my understanding gives me a bit more faith that my
understanding is correct; it IS possible that we're both flawed in the same way
on it, though.
| Assignee | ||
Comment 5•24 years ago
|
||
OK, I'll spend 2 minutes downloading and untarring the testcase (HTML and CSS
attachments directly are preferred -- attach the CSS and then modify your HTML
to point to the attached CSS).
| Assignee | ||
Comment 6•24 years ago
|
||
OK, the DIV with ID main has auto height. -> INVALID. See the quote I quoted
above.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
| Assignee | ||
Comment 7•24 years ago
|
||
(And, BTW, the reason the tarfile is a pain is not because I have to spend 2
minutes once, but because anytime anyone looks at the bug, they have to spend 2
minutes downloading it. That can add up. And it often means that a bug will be
ignored, since often one wants to go through a hundred bugs looking for serious
problems)
You need to log in
before you can comment on or make changes to this bug.
Description
•