Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Intent to Ship: CSS interactivity

606 views
Skip to first unread message

Ajay Rahatekar

unread,
Feb 7, 2025, 5:28:44 PMFeb 7
to blink-dev, Robert Flack, fut...@chromium.org

Contact emails

fla...@chromium.org, fut...@chromium.org


Explainer

https://github.com/flackr/carousel/tree/main/inert


Specification

https://drafts.csswg.org/css-ui-4/#inertness

https://github.com/whatwg/html/pull/10956


Summary

The interactivity property specifies whether an element and its flat tree descendants (including text runs) are inert or not.


Making an element inert affects whether it can be focused, edited, selected, and searchable by find-in-page. It also affects whether it is visible in the accessibility tree.


The syntax is: interactivity: auto | inert



Blink component

Blink>CSS


TAG review

https://github.com/w3ctag/design-reviews/issues/1037


TAG review status

Pending


Risks



Interoperability and Compatibility

None



Gecko: https://github.com/mozilla/standards-positions/issues/1161


WebKit: https://github.com/WebKit/standards-positions/issues/447


Web developers: Positive


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?

None



Debuggability


For the interactivity property, it is debuggable like any other keyword property in the styles related panes.


The accessibility tree pane changes the inertness reason from "Inert element" and "Inert subtree" to only using "Inert element", where "Inert element" now means an element with interactivity computed to inert.


The reason is that the HTML inert attribute is now setting inertness through a UA rule for interactivity and can be escaped using the interactivity property, whereas previously an inert attribute would force a whole subtree inert.



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


Flag name on about://flags

#experimental-web-platform-features


Finch feature name

CSSInert


Non-finch justification

None


Requires code in //chrome?

False


Estimated milestones

135



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).

None


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5107436833472512?gate=5112515414196224


Links to previous Intent discussions

Intent to Prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/Xuo6HpkN1xQ



This intent message was generated by Chrome Platform Status.


Rick Byers

unread,
Feb 12, 2025, 10:39:51 AMFeb 12
to Ajay Rahatekar, blink-dev, Robert Flack, fut...@chromium.org
LGTM1

--
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 blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHB%2BDAjXdDs6n0pUK-8F%2BOyQNUoaesusgVSag%3DSp1NnyYhuxsQ%40mail.gmail.com.

Alex Russell

unread,
Feb 12, 2025, 11:10:35 AMFeb 12
to blink-dev, Rick Byers, blink-dev, Robert Flack, Rune Lillesveen, ajayra...@google.com
Is there a link to the pending TAG review?

Also, it's great to see inertness being added, but is there also a solution to click-grab dragging? This is notably missing from native carousel support on the web and I would have expected it to be proposed along with this; e.g. an extension that mirrors `touch-action: pan-x` but for mice.

Best,

Alex

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Alex Russell

unread,
Feb 12, 2025, 11:13:29 AMFeb 12
to blink-dev, Alex Russell, Rick Byers, blink-dev, Robert Flack, Rune Lillesveen, ajayra...@google.com
Sorry for missing the link to the TAG review. LGTM2, but would love an update on scroll drag in some other channel.

Best,

Alex

Yoav Weiss (@Shopify)

unread,
Feb 12, 2025, 11:13:54 AMFeb 12
to blink-dev, Alex Russell, Rick Byers, blink-dev, Robert Flack, Rune Lillesveen, ajayra...@google.com
LGTM3

Robert Flack

unread,
Feb 12, 2025, 11:16:33 AMFeb 12
to Yoav Weiss (@Shopify), blink-dev, Alex Russell, Rick Byers, Rune Lillesveen, ajayra...@google.com
Scroll drag with mouse is being discussed in https://github.com/w3c/pointerevents/issues/512 with a potential API for it. 

LGTM3

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Xiaocheng Hu

unread,
Mar 4, 2025, 10:54:31 AMMar 4
to blink-dev, Robert Flack, blink-dev, Alex Russell, Rick Byers, Rune Lillesveen, ajayra...@google.com, Yoav Weiss (@Shopify)
(With my TAG hat on)

Could the shipping of this feature be held until 3/18?

We have discussed the Carousel-related features at the TAG F2F and have some concerns. We've invited flackr@ to our breakout meeting on 3/18 to help us resolve them.

Thank you!

Regards,
Xiaocheng

Rick Byers

unread,
Mar 4, 2025, 2:11:26 PMMar 4
to Xiaocheng Hu, blink-dev, Robert Flack, Alex Russell, Rune Lillesveen, ajayra...@google.com, Yoav Weiss (@Shopify)
Hi Xiaocheng,
Thank you for digging in and scheduling time with Rob to discuss further. However our policy is not to delay launching features based on a desire for review and discussion beyond one month from the point of formally soliciting feedback (Jan 9 in this case). If there are specific concrete concerns (especially ones which might credibly give rise to compatibility issues if fixed one or two months from now), then we can discuss those and evaluate whether they warrant a delay. But otherwise we should just continue to collaborate and explore making changes post-ship.

As I know you well know, a new web feature (especially in the CSS space) shipping in one engine is really still near the beginning of the process of standards maturation and full interoperability. I trust Rob and his team to continue to engage in alignment within the standards community and to invest in additional changes as necessary for achieving wide interoperability and full standardization.

Thanks,
   Rick
Reply all
Reply to author
Forward
0 new messages