[Bug 621220] [NEW] buggy HTML comment tag when HTML4 strict

Yoann FAYOLLE 621220 at bugs.launchpad.net
Fri Aug 20 15:39:42 UTC 2010


Public bug reported:

Binary package hint: firefox

Hello,
I don't know wether I should report this bug to Canonical or to Mozilla, so I'm going to do both.

= System information = 
Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8 


= Bug Description =
In an HTML4 strict page, the HTML comment Tag behaves innapropriatelly.

This tag <!-- (lower than, exlamation mark, minus, minus) marks the beginning of a comment
but, if my comment contains -- (twice minus) in the middle of it,
then, the actual end of comment tag (twice minus, greater than) will be skipped -->
And all the text and HTML code following the supposed end of comment will be included into this comment.
The comment will remains opened till the end of a next comment, or till the next comment contains the > (greater than) symbol.

See and test the attached source code.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: firefox 3.6.8+build1+nobinonly-0ubuntu0.10.04.1
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Fri Aug 20 17:05:38 2010
FirefoxPackages:
 firefox 3.6.8+build1+nobinonly-0ubuntu0.10.04.1
 firefox-gnome-support 3.6.8+build1+nobinonly-0ubuntu0.10.04.1
 firefox-branding 3.6.8+build1+nobinonly-0ubuntu0.10.04.1
 abroswer N/A
 abrowser-branding N/A
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: firefox

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
buggy HTML comment tag when HTML4 strict
https://bugs.launchpad.net/bugs/621220
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list