Bug 207025 - Don't do a hash table lookup for tags/attributes in HTMLTokenizer
Summary: Don't do a hash table lookup for tags/attributes in HTMLTokenizer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tadeu Zagallo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-30 18:54 PST by Saam Barati
Modified: 2023-09-08 15:59 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 2020-01-30 18:54:11 PST
We should have the tokenizer use a trie or something like that
Comment 1 Ryosuke Niwa 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)
Comment 2 Ahmad Saleem 2023-09-08 15:55:35 PDT
@Chris - Is this still applicable?
Comment 3 Chris Dumez 2023-09-08 15:59:49 PDT
Right, this was already implemented a while back.