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
We should have the tokenizer use a trie or something like that
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
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
@Chris - Is this still applicable?
Chris Dumez
Right, this was already implemented a while back.