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

Function setScopeSelectorSupportedForTesting

src/core/dom/css-selectors.js:15–17  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

13 * @visibleForTesting
14 */
15export function setScopeSelectorSupportedForTesting(val) {
16 scopeSelectorSupported = val;
17}
18
19/**
20 * Test that the :scope selector is supported and behaves correctly.

Callers 3

itWithPolyfillFunction · 0.90
test-query.jsFile · 0.90
test-dom.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected