MCPcopy
hub / github.com/webpack/webpack / inListItemScope

Function inListItemScope

lib/html/syntax.js:4927–4928  ·  view source on GitHub ↗
(/** @type {string} */ tagName)

Source from the content-addressed store, hash-verified

4925 const inButtonScope = (/** @type {string} */ tagName) =>
4926 hasNameInScope(tagName, SCOPE_BUTTON);
4927 const inListItemScope = (/** @type {string} */ tagName) =>
4928 hasNameInScope(tagName, SCOPE_LIST_ITEM);
4929 const inScopeEl = (/** @type {HtmlElement} */ target) => {
4930 for (let i = open.length - 1; i >= 0; i--) {
4931 const el = open[i];

Callers 1

endTagInBodyFunction · 0.85

Calls 1

hasNameInScopeFunction · 0.85

Tested by

no test coverage detected