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

Images, Tables, and Mysterious Gaps

From: Daniel Schattenkirchner <schattenkirchner.daniel@gmx.de>
Date: Sat, 15 Nov 2008 14:43:48 +0100
Message-ID: <491ED214.5070208@gmx.de>
To: www-style@w3.org

Currently, images in table-cells gain "mysterious gaps", which is in 
line with CSS (2.1). This is true for the "Full Standard Modes" 
available in modern browsers, but ignored in "Almost Standard Modes", 
also available in modern browsers including Internet Explorer 8.

I personally think the two modes should be merged into one. And I'm not 
alone with this opinion.

There are some proposals to achieve this, but they'll need the help of 
the CSS WG.

1. Simply remove Almost Standard Modes from browsers

CON: A lot of websites would break, because they need this quirk.
CON: browser vendors already stated that this won't happen.

2. Make table-cell shrink-wrapping a (X)HTML exception in CSS

PRO: CSS takes care of backwards compat with existing web content while 
existing XML content won't be changed.
CON: Eceptions cause confusion as seen with the body element exception 
defined by CSS 2.1
CON: XHTML sent as application/xhtml+xml currently doesn't render this 
quirks.

3. Make CSS table-cells shrink-wrap in any case

PRO: Compat with existing web content.
PRO: Little (if any) content relies on table-cells not to shrink wrap.
CON: There surely was a reason behind the current definition.

This is the proposal I like the most, as I don't see many problems with it.

I know, this is an issue that won't be easily fixed. But it should be 
solved nontheless. Neither browser vendors nor authors are happy with 
having multiple modes. Authors are acutally confused by just two modes.

Kind Regards, Daniel.
Received on Saturday, 15 November 2008 13:46:26 GMT

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