Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
372
export
function
assertDoesNotContainDisplay(styles) {
373
if
(
'display'
in styles) {
374
devError(
'STYLE'
, DISPLAY_STYLE_MESSAGE);
375
}
376
return
styles;
377
}
Callers
14
constructor
Method · 0.90
adjustSlotPostExpansion_
Method · 0.90
mutate
Method · 0.90
renderHorizontalLayout
Method · 0.90
setCssGridStyles_
Method · 0.90
applyFirstFrame
Method · 0.90
installPositionBoundFx
Function · 0.90
flyIn
Function · 0.90
openDisclaimer_
Method · 0.90
finalizeOpen_
Method · 0.90
finalizeClose_
Method · 0.90
init
Method · 0.90
Calls
1
devError
Function · 0.90
Tested by
no test coverage detected