::backdrop
Open a real modal, probe dialog.pseudo("::backdrop"), and compare CSSPseudoElement click handling with the dialog-rectangle fallback.
v152 · CSS · DOM
Probe the Chrome 152 CSSPseudoElement expansion for ::backdrop, ::scroll-marker, and view-transition pseudo-elements. Each lab attempts the real Element.pseudo(type) call, reports what handle came back, and keeps a usable fallback when this browser has not shipped a particular pseudo yet.
Open a real modal, probe dialog.pseudo("::backdrop"), and compare CSSPseudoElement click handling with the dialog-rectangle fallback.
Use generated scroll markers as a carousel control surface and probe whether their CSSPseudoElement handles can receive click listeners for analytics.
Start an actual view transition, then probe ::view-transition, ::view-transition-group(), and image-pair pseudos while the transition is ready.
Keep the older ::before, ::after, and ::marker checks nearby so the new Chrome 152 pseudos can be compared with already-defined handles.
| pseudo type | target | Element.pseudo() result |
why this case matters |
|---|