Reduce usage of HTMLElementFactory::createHTMLElement
The function contains autonomous custom element processing. It's unexpected in many cases. If it's called with known HTML tags, custom element processing is unnecessary and it should be replaced with Document::CreateRawElement(). If it's called with arbitrary tag names, custom element processing is necessary and it should be replaced with Document::createElement(). This CL is a preparation to remove HTMLElementFactory::createElement(). Bug: 806641 Change-Id: I00dae6c2cdac18eccd1580a72d94862b5cb2d657 Reviewed-on: https://chromium-review.googlesource.com/895203Reviewed-by:Yoichi Osato <yoichio@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#533235}
Showing
Please register or sign in to comment