Contact emails
[email protected]

Explainer
https://github.com/vmpstr/htmldemos/blob/master/csspseudo/README.md


Specification
https://drafts.csswg.org/css-pseudo-4/#dom-csspseudoelement-selectortext


Summary
CSSPseudoElement is a javascript api that allows some limited interactions with 
pseudo elements from script. This feature adds a minor improvement, namely 
selectorText property, that returns the string that could be used to select 
this pseudo element from CSS.


Blink component
Blink>CSS


Web Feature ID
CSSPseudoElement


Motivation
In order to disambiguate pseudo elements (in cases like view transition) it's 
important that we include more than the base type of the pseudo element, but 
include the arguments which would be a part of the selector text (eg type is 
::view-transition-group, but selectorText is ::view-transition-group(foo))


Initial public proposal
https://github.com/w3c/csswg-drafts/issues/12161#issuecomment-3531224633


TAG review
This is a small addition to CSSPseudoElement interface, which was reviewed via 
https://github.com/w3ctag/design-reviews/issues/1233


TAG review status
Not applicable


Goals for experimentation
None


Risks




Interoperability and Compatibility
N/A. This is a small addition to an existing interface

Gecko: No signal (https://github.com/mozilla/standards-positions/issues/1489)

WebKit: No signal (https://github.com/WebKit/standards-positions/issues/744)

Web developers: No signals

Other signals:


WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it 
has potentially high risk for Android WebView-based applications?
No information provided



Debuggability
This is debuggable as any javascript objects


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, 
ChromeOS, Android, and Android WebView)?
Yes


Is this feature fully tested by web-platform-tests?
Yes
https://wpt.fyi/results/css/css-pseudo/CSSPseudoElement-selectorText.html


Flag name on about://flags
No information provided


Finch feature name
CSSPseudoElementSelectorText


Rollout plan
Will ship enabled for all users


Requires code in //chrome?
False


Tracking bug
https://issues.chromium.org/567978984


Estimated milestones


Shipping on desktop 160

Shipping on Android 160

Shipping on WebView 160




Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop 
issues. Please list open issues (eg links to known github issues in the project 
for the feature specification) whose resolution may introduce web 
compat/interop risk (eg, changing to naming or structure of the API in a 
non-backward-compatible way).
https://github.com/w3c/csswg-drafts/pull/14730


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5071155760332800?gate=6118463369248768


Links to previous Intent discussions
Intent to Prototype: 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6abd6c0e.b816ca50.7065.0542.GAE%40google.com



This intent message was generated by Chrome Platform Status.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6aff4f90.5413fcea.895c7.02ac.GAE%40google.com.

Reply via email to