WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
60460
Ian
Incorrect parsing of Entity Names in HTML document
https://bugs.webkit.org/show_bug.cgi?id=60460
Summary
Incorrect parsing of Entity Names in HTML document
Ian
Reported
2011-05-09 01:21:12 PDT
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, &lifier, ®ulatory - 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/> &lifier, ®ulatory - Incorrectly shown the '&' and (R) symbols, becomes &lifier, (R)ulatory<BR/> </body> </html>
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2011-05-09 15:50:27 PDT
Behavior of WebKit nightly builds (<
http://nightly.webkit.org
>) matches html5lib, as well as Firefox 4.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug