Fix invalid charset detection in a meta element
Fix invalid charset detection when a meta contains both a "charset" and a "content" attribute. The encoding specified in the "charset" attribute should have precedence over the one in the "content" attribute. https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inhead Bug: 855047 Change-Id: I79306fc0bff8f094800a989d8d548bd94b96b5eb Reviewed-on: https://chromium-review.googlesource.com/1172462Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Amos Lim <eui-sang.lim@samsung.com> Cr-Commit-Position: refs/heads/master@{#582845}
Showing
Please register or sign in to comment