WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
Bug 19084
HTMLTokenizer::addAttribute does not check for all the specification violation
https://bugs.webkit.org/show_bug.cgi?id=19084
Summary
HTMLTokenizer::addAttribute does not check for all the specification violation
Julien Chaffraix
Reported
2008-05-15 12:59:17 PDT
According to the HTML5 specification (section 8.1.2.3. Attributes): "Attribute names must consist of one character other than the space characters, U+003E GREATER-THAN SIGN (>), and U+002F SOLIDUS (/), followed by zero or more characters other than the space characters, U+003E GREATER-THAN SIGN (>), U+002F SOLIDUS (/), and U+003D EQUALS SIGN (=)." Currently we only check for the presence of '/' in attribute in HTMLTokenizer::addAttribute.
Attachments
Add attachment
proposed patch, testcase, etc.
Julien Chaffraix
Comment 1
2008-05-15 13:49:05 PDT
Whoever handles this bug, changes in the assertion should be matched with changes in the parser code to avoid hitting the assertion. Check
bug 13942
for the details.
Adam Barth
Comment 2
2010-09-20 02:43:45 PDT
The spec has changed not to include the text you quote, but I believe you're quoting an authoring requirement and not a user agent conformance requirement. If that's not accurate, please re-open this bug with a reference to the user agent conformance requirement you believe we violate.
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