[patch] inlines

Dirk Mueller mueller at kde.org
Mon Feb 16 12:14:17 GMT 2004


On Monday 16 February 2004 12:36, Germain Garand wrote:

> for 008.html, I think the testcase is actually invalid because it doesn't
> set the display to block explicitly.

CSS 2.1 12.1:

User agents must ignore the following properties with :before and :after 
pseudo-elements: 'position', 'float', list properties, and table properties. 

> It worked with your patch because up to know, we wrongly set the initial
> display of :before/:after to block, which caused quite a few bugs.

CSS 2.1 12.1: 

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'. 





More information about the kfm-devel mailing list