W3C home > Mailing lists > Public > www-style@w3.org > April 2004

Re: content: url() is bad

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 12 Apr 2004 19:52:20 -0500
Message-ID: <407B39C4.6030308@mit.edu>
To: Ian Hickson <ian@hixie.ch>
Cc: www-style@w3.org

Ian Hickson wrote:
> So the image in an <img> is not the element's contents?

No.  It's what the element _is_.  The contents of an element are 
something the element is a box around.... bug again, maybe that's just me.

> Ah. I'm finding it difficult to understand why whether the content causes
> height/width 'auto' to mean 'intrinsic' rather than 'fill' changes whether
> it is content or not...

There are other differences between replaced and non-replaced elements 
(for example, the handling of before/after may need to be different; see 
previous discussions we've had on that).  So it's not just width/height 

Received on Monday, 12 April 2004 20:52:50 UTC

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