Closed Bug 428286 Opened 16 years ago Closed 16 years ago

Comment closing incorrectly when using transitional DOCTYPE

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: mattpublic, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

When using the Transitional DOCTYPE, comment can close incorrectly.


Reproducible: Always

Steps to Reproduce:
View the following HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <body>
	<p>This is visible and should be, </p>
	  <!--
    <p>--This is not visible and shouldn't be</p>
    <p>But this is, even though it shouldn't be</p>
    -->
  </body>
</html>
Actual Results:  
This is visible and should be,

But this is, even though it shouldn't be
-->

Expected Results:  
This is visible and should be,
Version: unspecified → 2.0 Branch
this is correct
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.