MCPcopy Index your code
hub / github.com/ampproject/amphtml / assertDoesNotContainDisplay

Function assertDoesNotContainDisplay

src/core/dom/style.js:372–377  ·  view source on GitHub ↗
(styles)

Source from the content-addressed store, hash-verified

370 * @return {{[key: string]: *}}
371 */
372export function assertDoesNotContainDisplay(styles) {
373 if ('display' in styles) {
374 devError('STYLE', DISPLAY_STYLE_MESSAGE);
375 }
376 return styles;
377}

Callers 14

constructorMethod · 0.90
mutateMethod · 0.90
setCssGridStyles_Method · 0.90
applyFirstFrameMethod · 0.90
installPositionBoundFxFunction · 0.90
flyInFunction · 0.90
openDisclaimer_Method · 0.90
finalizeOpen_Method · 0.90
finalizeClose_Method · 0.90
initMethod · 0.90

Calls 1

devErrorFunction · 0.90

Tested by

no test coverage detected