Re: Inline h*ll

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 UTC