Bug 207025

Summary: Don't do a hash table lookup for tags/attributes in HTMLTokenizer
Product: WebKit Reporter: Saam Barati <saam>
Component: WebCore Misc.Assignee: Tadeu Zagallo <tzagallo>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, cdumez, fpizlo, rniwa, saam, tzagallo, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.