Re: collapsible property

Ojan Vafai wrote:
> On Wed, Feb 10, 2010 at 6:19 PM, Andrew Fedoniouk 
> <news@terrainformatica.com <mailto:news@terrainformatica.com>> wrote:
> 
> 
>     I suspect that having something like this:
> 
>     p:empty
>     {
>      min-height:1em;
>     }
> 
>     would be enough for WYSIWYG editing use cases. You just need box to
>     put caret in and this rule will allow you to do so. If "no" then
>     what are other uses cases?
> 
> 
> Doesn't deal with many cases. "<p><span></span></p>" and "<p>   </p>".

That is a matter of :empty selector definition.
It could have exactly the same meaning as in your collapsible idea.

But if you are doing WYSIWYG editor you should avoid existence of
"<p><span></span></p>" anyway.


-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Thursday, 11 February 2010 02:58:25 UTC