- From: <ve3ll@cogeco.ca>
- Date: Tue, 01 Apr 2008 08:45:41 -0400
- To: www-amaya@w3.org
Ampersands inside comments are parsed instead of being
left alone -- strings inside comments are not meant to be acted
on by browser -- only for user notes #DEMO style rule
After a comment is used in a rule, the closing curley bracket
can be omitted without raising an error message .... #DEMO2
<?xml version="1.1" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head><title>cssParse:VE3LL@RAC.CA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<style type="text/css">
#demo {text-decoration:underline; /* comment&foobar /*}
#demo2 {text-decoration:underline; /* comment and foobar /*
</style>
</head><body><h1>cssParse:VE3LL@RAC.CA</h1>
<p id="demo">This is a paragraph</p>
<p id="demo2">This is another paragraph</p>
</body></html>
--
--
John Russell, VE3LL@COGECO.CA
http://home.cogeco.ca/~ve3ll
http://home.cogeco.ca/~trains
http://home.cogeco.ca/~cipher
Received on Tuesday, 1 April 2008 12:46:20 UTC