W3C home > Mailing lists > Public > www-style@w3.org > July 2008

Re: Proposal: content-size value for 'height'

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Thu, 17 Jul 2008 15:55:16 -0400
Message-ID: <6b9c91b20807171255h3470586ar55ea67f3003d2a1@mail.gmail.com>
To: www-style@w3.org
Although supporting a content-size value for the height property is my
main suggestion, I think it should work for the width property also,
as that's harder to do via script.

Attached is one way to do content-size for height via script, but as
you'll see, it doesn't work for width because offsetWidth isn't useful
in this case (it reports the width of the frame).

The script way is also limited to the same domain in FF and Opera
(except that Safari seems to allow localhost -> remote in this case at

I didn't comment on the min-width: min-intrinsic and the width:
max-intrinsic stuff as I'm not sure whether they'd do what
content-size would do or not or how to use them to get a content-size


Received on Thursday, 17 July 2008 19:55:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:38 UTC