W3C home > Mailing lists > Public > www-style@w3.org > December 2006

[CSS21] empty inline elements

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 22 Dec 2006 15:17:26 +0100
To: www-style@w3.org
Message-ID: <op.tkysncaf64w2qv@id-c0020.orange.nl>

Per section 10.8 of CSS 2.1  
http://www.w3.org/TR/2006/WD-CSS21-20061106/visudet.html#line-height empty  
inline elements generate empty inline boxes which will still have margins,  
etc. We implemented this in Opera, but in doing so it appeared that quite  
some internal testcases already relied on the "non-standard" behavior so  
we reverted the fix. We also reverted it because Internet Explorer and  
Firefox don't seem to implement this per the specification:

   http://www.hixie.ch/tests/adhoc/css/box/inline/008.xml
   http://www.hixie.ch/tests/adhoc/css/box/inline/018.html
   http://www.hixie.ch/tests/adhoc/css/box/table/empty-cells/006.html

Perhaps it's better for empty inline elements to not generate empty inline  
boxes.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 22 December 2006 14:17:53 GMT

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