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

display:table-cell and block-level elements

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Sat, 11 Mar 2000 00:32:00 +0000 (GMT)
To: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.10003101951450.10103-100000@mary.bath.ac.uk>

The CSS2 spec says, in section 9.2.1:
# Block-level elements are those elements of the source document that
# are formatted visually as blocks (e.g., paragraphs). [...]
# Block-level elements generate a principal block box that only
# contains block boxes.

It also explicitly lists the 'display' values 'block', 'list-item',
'compact' and 'run-in' (part of the time), and 'table' as being those
that make an element into a block-level one.

However, table-cell elements also "generate a principal block box that
only contains block boxes". And apart from the way they are positioned
in a table, table cells act in many other ways just like blocks.

Is it therefore safe to assume that display:table-cell elements are
also meant to be considered as block-level elements?

(NOTE: I know what the spec says. What I'm looking for here is a
statement from a working group member to clarify the original intent.)

Ian Hickson                            ("`-''-/").___..--''"`-._   
http://www.bath.ac.uk/%7Epy8ieh/        `6_ 6  )   `-.  (     ).`-.__.`)
                                        (_Y_.)'  ._   )  `._ `. ``-..-' fL
Member, Mozilla Quality Assurance     _..`--'_..-_/  /--'_.' ,'
Browser Standards Compliance Team    (il).-''  (li).'  ((!.-'    
Received on Friday, 10 March 2000 19:32:03 UTC

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