Intent to Ship: View Transitions: transition types

瀏覽次數:470 次
跳到第一則未讀訊息

Vladimir Levin

未讀,
2023年11月8日 下午3:53:362023/11/8
收件者:blink-dev

Contact emails

vmp...@chromium.orgnrose...@chromium.org

Explainer

https://github.com/vmpstr/web-proposals/blob/main/explainers/view-transition-types.md

Specification

https://drafts.csswg.org/css-view-transitions-2/#the-active-view-transition-pseudo

Summary

This feature allows View transition API use to be customized for different types of transitions. Specifically, this adds an ability to add "types" to `startViewTransition` call which will identify the types of the transition. As well, it will match a pseudo-class, called `:active-view-transitions(...)` with a parameter matching the type for the duration of the view transition. Combined these two features provide a way for the author to declare several view transitions once and only trigger one at a time. See example usage in the spec: https://drafts.csswg.org/css-view-transitions-2/#the-active-view-transition-pseudo


Blink component

Blink>ViewTransitions>SPA

TAG review

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

TAG review status

Pending

Risks



Interoperability and Compatibility

There are minimal interop and copmat risks. This feature is an extension to the View Transitions API that makes it more ergonomic to specify multiple transitions declaratively, while triggering only one of them at a time.



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

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

Web developers: No (strong) signals, the feature request came from a web developer: https://github.com/w3c/csswg-drafts/issues/8960

Other signals:

Ergonomics

This feature would be used with the View Transitions API to be able to easier maintain a declarative set of multiple transitions that can be triggered. This solution uses a descendant combinator heavily to selectively style elements in the DOM, but this is not any different from the polyfill approach of toggling a class on :root.



Activation

This feature can be used directly and fairly easily.



Security

There are no additional security considerations over the View Transitions API.



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

This feature is debuggable in the same way as the View Transitions API, and also in the same way as other CSS properties.



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

Yes

Is this feature fully tested by web-platform-tests?

No

Flag name on chrome://flags

ViewTransitionTypes

Finch feature name

ViewTransitionTypes

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1466251

Estimated milestones

Shipping on desktop121
Shipping on Android121
Shipping on WebView121


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/5089552511533056

Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADsXd2NjgR_%2BTbJbU5O%2BiyhnqxypDAUh7LWHUCWy%3DNnaBCY%2B1g%40mail.gmail.com

This intent message was generated by Chrome Platform Status.

Mike Taylor

未讀,
2023年11月9日 中午12:54:232023/11/9
收件者:Vladimir Levin、blink-dev
Any reason why?

Flag name on chrome://flags

ViewTransitionTypes

Finch feature name

ViewTransitionTypes

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1466251

Estimated milestones

Shipping on desktop 121
Shipping on Android 121
Shipping on WebView 121


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/5089552511533056

Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADsXd2NjgR_%2BTbJbU5O%2BiyhnqxypDAUh7LWHUCWy%3DNnaBCY%2B1g%40mail.gmail.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 blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADsXd2PckO%3DXSq8HDCy4foC_Xj3Nh3dBxzSCkZ5GEyD%2BjdMcFQ%40mail.gmail.com.

Vladimir Levin

未讀,
2023年11月9日 下午1:05:572023/11/9
收件者:Mike Taylor、blink-dev
Oops, that should say "Yes". I'll update chromestatus

Yoav Weiss

未讀,
2023年11月22日 上午11:15:212023/11/22
收件者:blink-dev、Vladimir Levin、blink-dev、Mike Taylor
LGTM1

On Thursday, November 9, 2023 at 7:05:57 PM UTC+1 Vladimir Levin wrote:
On Thu, Nov 9, 2023, 12:54 Mike Taylor <mike...@chromium.org> wrote:

On 11/8/23 3:53 PM, Vladimir Levin wrote:



Explainer https://github.com/vmpstr/web-proposals/blob/main/explainers/view-transition-types.md

Specification https://drafts.csswg.org/css-view-transitions-2/#the-active-view-transition-pseudo

Summary

This feature allows View transition API use to be customized for different types of transitions. Specifically, this adds an ability to add "types" to `startViewTransition` call which will identify the types of the transition. As well, it will match a pseudo-class, called `:active-view-transitions(...)` with a parameter matching the type for the duration of the view transition. Combined these two features provide a way for the author to declare several view transitions once and only trigger one at a time. See example usage in the spec: https://drafts.csswg.org/css-view-transitions-2/#the-active-view-transition-pseudo


Blink component Blink>ViewTransitions>SPA

TAG review https://github.com/w3ctag/design-reviews/issues/908

TAG review status Pending

Risks


Interoperability and Compatibility

There are minimal interop and copmat risks. This feature is an extension to the View Transitions API that makes it more ergonomic to specify multiple transitions declaratively, while triggering only one of them at a time.



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

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

--
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+unsubscribe@chromium.org.

Mike Taylor

未讀,
2023年11月22日 上午11:44:202023/11/22
收件者:Yoav Weiss、blink-dev、Vladimir Levin

LGTM2

Rick Byers

未讀,
2023年11月28日 凌晨1:57:122023/11/28
收件者:Mike Taylor、Yoav Weiss、blink-dev、Vladimir Levin
LGTM3

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/29402b68-455f-402c-957a-b57b2ecc1334%40chromium.org.

Vladimir Levin

未讀,
2024年3月28日 下午4:37:053月28日
收件者:Rick Byers、Mike Taylor、Yoav Weiss、blink-dev、Noam Rosenthal、Khusal Sagar
Hey all,

After receiving the LGTMs, we decided to postpone the feature until another component of it is discussed and resolved at the CSSWG.

This has been done, and one major change from the initial feature is that we will now allow mutable types on the ViewTransition object.
This is implemented and is documented in the latest version of the spec: https://drafts.csswg.org/css-view-transitions-2/#selective-vt

Please let me know if I need to do anything more wrt the intent process, or whether the existing LGTMs still stand for us to ship this feature.

Thank you,
Vlad



‪On Tue, Nov 28, 2023 at 4:16 PM ‫احمد عسيري‬‎ <syry...@gmail.com> wrote:‬


Mike Taylor

未讀,
2024年3月28日 下午5:02:443月28日
收件者:Vladimir Levin、Rick Byers、Yoav Weiss、blink-dev、Noam Rosenthal、Khusal Sagar

Hey Vlad - thanks for the update.

Do we know if Mozilla is similarly positive on this change? Any input from the WebKit team?

thanks,
Mike

Noam Rosenthal

未讀,
2024年3月28日 下午5:05:023月28日
收件者:Mike Taylor、Vladimir Levin、Rick Byers、Yoav Weiss、blink-dev、Khusal Sagar
On Thu, Mar 28, 2024 at 9:02 PM Mike Taylor <mike...@chromium.org> wrote:

Hey Vlad - thanks for the update.

Do we know if Mozilla is similarly positive on this change? Any input from the WebKit team?


Yes, this was thoroughly discussed in the CSSWG meetings, with active participation from both.

Mike Taylor

未讀,
2024年3月28日 下午5:07:383月28日
收件者:Noam Rosenthal、Vladimir Levin、Rick Byers、Yoav Weiss、blink-dev、Khusal Sagar
Cool - got a link to minutes?

Noam Rosenthal

未讀,
2024年3月28日 下午5:19:473月28日
收件者:Mike Taylor、Vladimir Levin、Rick Byers、Yoav Weiss、blink-dev、Khusal Sagar
Sure!
The whole thing was discussed over several WG meetings.
Posting a few related resolutions, with comments (in minutes/issues) from Elika and Tim (Apple) and Emilio (Mozilla):

Mike Taylor

未讀,
2024年3月29日 上午9:23:093月29日
收件者:Noam Rosenthal、Vladimir Levin、Rick Byers、Yoav Weiss、blink-dev、Khusal Sagar

Thanks - appreciate the links. From my perspective, you don't need new LGTMs. It might be good to update the WebKit standards position thread with the new changes since the original request for a position - even with Tim and Elika participating in CSSWG discussion. Maybe that will encourage them to give an answer one way or another.

Noam Rosenthal

未讀,
2024年3月29日 中午12:11:443月29日
收件者:Mike Taylor、Vladimir Levin、Rick Byers、Yoav Weiss、blink-dev、Khusal Sagar
Added a comment on the webkit position. Thanks!
 
回覆所有人
回覆作者
轉寄
0 則新訊息