MCPcopy Create free account
hub / github.com/ampproject/amphtml / effectiveBodyTag

Method effectiveBodyTag

validator/js/engine/htmlparser-interface.js:443–443  ·  view source on GitHub ↗

* HTML5 defines how parsers treat documents with multiple body tags: they * merge the attributes from the later ones into the first one. Therefore, * just before the parser sends the endDoc event, it will also send this * event which will provide the attributes from the effective body tag

(attributes)

Source from the content-addressed store, hash-verified

441 * to the client (the handler).
442 */
443 effectiveBodyTag(attributes) {}
444};
445exports.HtmlSaxHandler = HtmlSaxHandler;
446/**

Callers 1

parseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected