Contact emails
sakh...@chromium.org
Explainer
No information provided
Specification
https://drafts.csswg.org/css-pseudo-4/#CSSPseudoElement-interface
Summary
Support for CSSPseudoElement - which is currently only defined for ::after, ::before, and ::marker - is now being extended to include several new pseudo-elements:
::backdrop: useful for closing a dialog when the backdrop is clicked, without interfering with clicks inside the dialog's content. This eliminates the need for complex intersection logic to determine where the click occurred.
::scroll-marker: can be used to collect click statistics.
view transitions: enables geometry-aware view transitions.It also allows you to intercept a view transition mid-flight to start a new one, utilizing the coordinates of the currently animating element to avoid sudden visual jumps.
Blink component
Blink>CSS
Web Feature ID
CSSPseudoElement
Motivation
Support for CSSPseudoElement - which is currently only defined for ::after, ::before, and ::marker - is now being extended to include several new pseudo-elements:
::backdrop: useful for closing a dialog when the backdrop is clicked, without interfering with clicks inside the dialog's content. This eliminates the need for complex intersection logic to determine where the click occurred.
::scroll-marker: can be used to collect click statistics.
view transitions: enables geometry-aware view transitions.It also allows you to intercept a view transition mid-flight to start a new one, utilizing the coordinates of the currently animating element to avoid sudden visual jumps.
Initial public proposal
No information provided
TAG review
No information provided
TAG review status
Pending
Goals for experimentation
None
Risks
Debuggability
No information provided
Will this feature be supported on all six Blink platforms
(Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
Yes
Yes
https://wpt.fyi/results/css/css-pseudo/backdrop-pseudo-element-click.tentative.html
https://wpt.fyi/results/css/css-pseudo/CSSPseudoElement-view-transitions-scoped.tentative.html
https://wpt.fyi/results/css/css-pseudo/CSSPseudoElement-view-transitions.tentative.html
https://wpt.fyi/results/css/css-pseudo/events-on-pseudo-element-mutation.tentative.html
Flag name on about://flags
No information provided
Finch feature name
No information provided
Non-finch justification
No information provided
Rollout plan
Will ship enabled for all users
Requires code in //chrome?
False
Estimated milestones
| DevTrial on desktop | 147 |
| DevTrial on Android | 147 |
Anticipated spec changes
Open questions about a feature may be a source of future web compat or
interop issues. Please list open issues (e.g. links to known github
issues in the project for the feature specification) whose resolution
may introduce web compat/interop risk (e.g., changing to naming or
structure of the API in a non-backward-compatible way).
No information provided
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/6516055192240128?gate=6196512880197632