Re: [csswg-drafts] [selectors-5] Add pseudo-class selector to target the element that initiated the outgoing navigation (#11801)

> * I don't yet see a point in generalizing `sourceElement`'s behavior with form. Do you ever need to style a form that is the source of a navigation in the same way you'd style a link that is the source of the navigation?

When submitting a search form, one might want to snapshot the input field (and possibly more elements of the form) for use with a view transition.

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11801#issuecomment-3250592972 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 3 September 2025 20:00:58 UTC