To simplify further I changed the "comment" down to only 2 dashes:
problem still exists for both firefox and the validator. this is the
output:

<!-- -- -->

This is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<title>mytitle</title>
</head>
<body>
<!-- -- -->
</body>
</html>


The problem disappears for both firefox and validator if the "comment" is 
further shrunk to only 1 dash. The web page is then blank.

This is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<title>mytitle</title>
</head>
<body>
<!-- - -->
</body>
</html>

More than a single dash gives an error and incorrect rendering; this
can't be right.

-- 
Mozilla Firefox renders HTML comment incorrectly
https://bugs.launchpad.net/bugs/593255
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to