Re: Comments in CSS

On Wed, 07 Dec 2005 17:11:37 +0100, Manuel Strehl  
<manuel.strehl@stud.uni-regensburg.de> wrote:
> So, if you'd like to test the CSS without, say, prop2 (cause you'd like
> to see what it's like, when the UA overrides your "color" property...),
> it would be really fine, if you could comment it out by just typing "//"
> rather than wrap it in "/*"..."*/":
>
> selector {
>   property1;
>   //property2;        much faster than /*property2*/
>   property3;
> }

How about x-property2;? That would cause the rule to be dropped. Not the  
same semantics, but you keep the effect. (I mostly just use x without all  
the dashes, but this seems more appropriate.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Wednesday, 7 December 2005 16:27:17 UTC