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   

Saam Barati
Reported 2020-01-30 18:54:11 PST
We should have the tokenizer use a trie or something like that
Attachments
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.