MCPcopy Create free account
hub / github.com/Noumena-Network/code / clipsBothAxes

Function clipsBothAxes

src/ink/render-node-to-output.ts:1314–1320  ·  view source on GitHub ↗
(node: DOMElement)

Source from the content-addressed store, hash-verified

1312}
1313
1314function clipsBothAxes(node: DOMElement): boolean {
1315 const ox = node.style.overflowX ?? node.style.overflow
1316 const oy = node.style.overflowY ?? node.style.overflow
1317 return (
1318 (ox === 'hidden' || ox === 'scroll') && (oy === 'hidden' || oy === 'scroll')
1319 )
1320}
1321
1322// When Yoga squeezes a box to h=0, the ghost only happens if a sibling
1323// lands at the same computed top — then both write to that row and the

Callers 1

renderChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected