MCPcopy
hub / github.com/webpack/webpack / inButtonScope

Function inButtonScope

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

Source from the content-addressed store, hash-verified

4923 const inScope = (/** @type {string} */ tagName) =>
4924 hasNameInScope(tagName, SCOPE_DEFAULT);
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) => {

Callers 2

closeIfPInButtonScopeFunction · 0.85
endTagInBodyFunction · 0.85

Calls 1

hasNameInScopeFunction · 0.85

Tested by

no test coverage detected