Bug 255618
| Summary: | Add support for duplicate attributes to the HTML fast parser | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | DOM | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
The HTML fast parser already had logic to detect duplicate attributes, so it was already doing most the work. However, when finding a duplicate, it would just abort and let the full HTML parser deal with the input string. It is not much more work to properly support duplicate attributes and it doesn't slow down the parser on Speedometer. As a result, I think we should add the functionality.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/12878
EWS
Committed 263136@main (55036f71e776): <https://commits.webkit.org/263136@main>
Reviewed commits have been landed. Closing PR #12878 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/108264432>