W3C home > Mailing lists > Public > www-style@w3.org > January 1999

CSS Test Suite width and height tests

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Wed, 20 Jan 1999 21:09:11 -0500 (EST)
Message-Id: <199901210209.VAA04097@login1.fas.harvard.edu>
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

  <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.


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


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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:49 UTC