- From: L. David Baron <dbaron@fas.harvard.edu>
- Date: Wed, 20 Jan 1999 21:09:11 -0500 (EST)
- To: www-style@w3.org
A major test that is missing from the CSS1 test suite is a test that
width (5.5.23) and height (5.5.24) are not enlarged when there are
children elements larger than the parent. (This is something most
current browsers fail.) A test could be something like this (just
doing width as an example):
div.three {
width: 20em;
border: medium solid purple;
padding: 1em;
}
p.three {
width: 30em;
border: medium solid purple;
padding: 1em;
}
<div class="three">
This is text inside DIV CLASS="three". This DIV should have width
20em.
<p class="three">
This is text inside P CLASS="three". This P should have width 30em,
and should therefore be wider than its parent and should "stick out"
on the right side.
</p>
</div>
I am proposing this publicly because the Test Suite is at its last
stage of review, so others should be able to comment before final
release.
David
--------------------------------------------------------------------
L. David Baron | Freshman, Harvard
dbaron@fas.harvard.edu | < http://www.fas.harvard.edu/%7Edbaron/ >
--------------------------------------------------------------------
Received on Wednesday, 20 January 1999 21:09:13 UTC