- From: L. David Baron <dbaron@fas.harvard.edu>
- Date: Sun, 22 Sep 2002 10:20:53 -0400
- To: Frank Boumphrey <bckman@ix.netcom.com>
- Cc: Skewer_Lists@GadgetScope.com, www-style@w3.org
On Sunday 2002-09-22 01:01 -0400, Frank Boumphrey wrote: > > As a bonus (depending on how you look at it), since CSS3 style sheets > > with these kind of comments would produce errors > > Actually most browsers already 'support' this kind of comment. Only > Konquerer (of the browsers I play areound with) does not. Mozilla does not. Be careful to test browsers in a way that the comment doesn't cause exactly what you wanted to be ignored to be ignored because of the CSS error handling rules. For example, try the following testcase: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <title>CSS Comments test</title> <style type="text/css"> // This is not a comment. p { color: red; } </style> <p>This paragraph should not be red.</p> -David -- L. David Baron <URL: http://www.people.fas.harvard.edu/~dbaron/ >
Received on Sunday, 22 September 2002 10:20:59 UTC