[Webkit-unassigned] [Bug 60460] New: Incorrect parsing of Entity Names in HTML document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 9 01:21:11 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=60460

           Summary: Incorrect parsing of Entity Names in HTML document
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yingchungchan at gmail.com


The syntax of the Entity Names denotes an ending semi-colon as part of the name itself. However, the character is displayed in spite of the lack of the semi-colon, as in the cases of, for example, &amplifier, &regulatory - both would erroneously rendered as if the & and ® is present.

Note: Safari, Chrome and Internet Explorer 7 show this behavior, while Firefox 3 does not.

HTML to test:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</head>
<body>
® - Correctly shown the (R) symbol<br/>
&amplifier, &regulatory - Incorrectly shown the '&' and (R) symbols, becomes &lifier, (R)ulatory<BR/>

</body>
</html>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list