WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207025
Don't do a hash table lookup for tags/attributes in HTMLTokenizer
https://bugs.webkit.org/show_bug.cgi?id=207025
Summary
Don't do a hash table lookup for tags/attributes in HTMLTokenizer
Saam Barati
Reported
2020-01-30 18:54:11 PST
We should have the tokenizer use a trie or something like that
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2020-02-26 12:57:45 PST
Note that HTML allows whatever tag name to be used regardless of it matches a built in element name or not, and case sensibility depends on the type of document and element being parsed. Also note a single tag name like script can refer to two distinct qualified names in different namespaces (SVG and HTML in this case)
Ahmad Saleem
Comment 2
2023-09-08 15:55:35 PDT
@Chris - Is this still applicable?
Chris Dumez
Comment 3
2023-09-08 15:59:49 PDT
Right, this was already implemented a while back.
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