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

Re: Inline h*ll

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Thu, 13 Jan 2000 18:00:00 +0000 (GMT)
To: Matthew Brealey <thelawnet@yahoo.com>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.10001131737500.27570-100000@mary.bath.ac.uk>
On Thu, 13 Jan 2000, Matthew Brealey wrote:

> 2. Non-replaced elements contain content that is used directly (not
> replaced). <br> therefore is not non-replaced.

Not true. <span></span> is not replaced, <empty/> is not replaced
either. <br/> (<br> in HTML) is just an empty, non-replaced, inline
element. There is nothing in the spec saying that inline elements must
contain content.

Section 10.8:
# Empty inline elements generate empty inline boxes, but these boxes
# still have margins, padding, borders and a line height, and thus
# influence these calculations just like elements with content.

However, the entire issue is moot given the anonymous inline concept I
mentioned previously.

-- 
Ian Hickson                            ("`-''-/").___..--''"`-._   
http://www.bath.ac.uk/%7Epy8ieh/        `6_ 6  )   `-.  (     ).`-.__.`)
                                        (_Y_.)'  ._   )  `._ `. ``-..-' fL
Member, Mozilla Quality Assurance     _..`--'_..-_/  /--'_.' ,'
Browser Standards Compliance Team    (il).-''  (li).'  ((!.-'    
Received on Thursday, 13 January 2000 13:00:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:02 GMT