The CDP DOM Debugging skill provides a systematic runtime measurement workflow to diagnose stubborn DOM layout, scrolling, and geometry issues in Electron and Chrome apps. Rather than relying on guesswork or static code inspection, it leverages the Chrome DevTools Protocol (CDP) to extract live renderer evidence, overcome coordinate distortion from getBoundingClientRect during CSS animations, and avoid React bottom-up ref attachment pitfalls.
주요 기능
01CSS transform compensation avoiding getBoundingClientRect distortion during animations
020 GitHub stars
03Automated programmatic DOM event triggering and time-sampled geometry inspection
04Runtime layout measurement via Chrome DevTools Protocol (CDP) for Electron and Chrome
05Empirical verification checklist using reproducible numeric layout assertions
06Debugging React bottom-up ref timing and state synchronization race conditions
사용 사례
01Diagnosing inaccurate scroll-to-element calculations during CSS transitions or entrance animations
02Fixing persistent UI layout bugs in headless or non-interactive Electron desktop renderers
03Resolving mount-time race conditions caused by React child-before-parent ref execution