Closed
Bug 176550
Opened 22 years ago
Closed 16 years ago
mixing percentage and absolute heights in TABLE cells cause sub-blocks to size wrong
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
RESOLVED
INVALID
Future
People
(Reporter: jeske, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021024 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021024 If you create a table which has some cells with percentage based heights and some cells with absolute heights, then sub-blocks which use percentage based heights will not function. http://mozart.chat.net/~jeske/Projects/Mozilla/bugs/9.html Reproducible: Always Steps to Reproduce: Goto the supplied URL. Actual Results: The page rendered incorrectly.
Comment 1•22 years ago
|
||
Is this only a problem in quirks mode?
Reporter | ||
Comment 2•22 years ago
|
||
In standards mode Mozilla does not seem to honor the height percentage at all: http://mozart.chat.net/~jeske/Projects/Mozilla/bugs/10.html
Reporter | ||
Comment 3•22 years ago
|
||
CSS2 does not exactly specify what the correct behavior is: http://www.w3.org/TR/REC-CSS2/visuren.html#containing-block Here it is very clear that the minimum WIDTH should be the viewport: The width of the initial containing block may be specified with the 'width' property for the root element. If this property has the value 'auto', the user agent supplies the initial width (e.g., the user agent uses the current width of the viewport). However, it is not as clear for height: The height of the initial containing block may be specified with the 'height' property for the root element. If this property has the value 'auto', the containing block height will grow to accommodate the document's content. However, it's pretty important to infer that the same comments about the user agent using the width of the viewport as the initial width should be applied to the height as well, otherwise there is no way to have a block fill up the viewport.
Reporter | ||
Comment 4•22 years ago
|
||
While I still think that my comment about height percentage in standards mode is valid, it appears that IE does the exact same thing that Mozilla does. Therefore, it looks like this is only a bug in Quirks mode.
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Updated•22 years ago
|
Priority: P5 → P3
Target Milestone: --- → Future
Comment 5•20 years ago
|
||
Standards mode rendering is ignoring percentage heights on variable-height blocks (see http://www.w3.org/TR/REC-CSS2/visudet.html#x10) Is there any reason to add a quirk for this?
I have no problem in seeing the red div in the table this is wfm winxp2004090507
the url is gone, this was wfm in 2004 marking invalid now
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•