CSS2.1: :before and :after 'display' values

    In section CSS2v1:12.1 
(http://www.w3.org/TR/CSS21/generate.html#before-after-content), I 
find the following:

The :before and :after pseudo-elements elements allow values of the 
'display' property as follows:

* If the subject of the selector is a block-level element, allowed 
values are 'none', 'inline' and 'block'. If the value of the 
pseudo-element's 'display' property has any other value, the 
pseudo-element will behave as if its value were 'block'.

    Should 'inline-block' be added to that list of allowed values?  It 
seems to me that if you can make the generated content 'inline' and 
'block', you ought to be able to make it a blend of the two.  There 
are cases in which it would be very useful, arguably even necessary.

--
Eric A. Meyer  (eric@meyerweb.com)  http://www.meyerweb.com/eric/
Author, "Cascading Style Sheets: The Definitive Guide,"
  "Eric Meyer on CSS," "CSS 2.0 Programmer's Reference," and more
   http://www.meyerweb.com/eric/books/

Received on Friday, 20 September 2002 10:36:39 UTC