父元素高度在 0.001px 范围内等于子元素之和
Deterministic layout engines report a parent height of 100 px matching 50 px + 50 px across both children cleanly.
BotRefund mounts two stacked 100x50 px elements inside a 100 px container and checks whether getBoundingClientRect() parent height matches the sum of both children within 0.001 px.
The layout probe temporarily appends a hidden 100 px-wide container holding two stacked 100x50 px child <div> elements with zero margin, padding, and border, calls getBoundingClientRect() on the parent and both children, and immediately removes the container.
It flags a geometry inconsistency whenever the absolute difference between the parent element's height and the sum of the two child heights exceeds 0.001 px.
Anti-detect browsers and privacy shims that defeat DOMRect fingerprinting by adding independent random sub-pixel noise to every getBoundingClientRect() call break mathematical additivity (100 no longer equals 50 + 50).
Caveat: unreset global site CSS rules targeting div elements (such as inherited padding, transforms, or min-height) or unusual fractional browser zoom can rarely cause sub-pixel discrepancies past 0.001 px, so this signal is weighed against verified human interaction.
Deterministic layout engines report a parent height of 100 px matching 50 px + 50 px across both children cleanly.
Random jitter added to getBoundingClientRect() values shifts parent height away from the sum of its children, signaling likely DOMRect spoofing.
Forensic significance: Strong indicator of randomized getBoundingClientRect() tampering; review alongside human interaction and page CSS rules to rule out zoom or global div styling effects.