[CSS21] empty inline elements

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 UTC