-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View Transition Classes #938
Comments
Thanks for bearing with us. After reviewing and discussing internally, we have one question which is: did you discuss the option of using selectors and if so could you document in the explainer the reasoning for not using that approach? We see the extra layer of indirection as being useful if view transitions can be used with multiple arbitrary pages, but it's unclear if the transitions will be generic enough in general to be reused. If the transitions need to be tailored to the specific page content then an extra layer of indirection doesn't seem useful. |
We looked at this again today in a breakout. While we recognize that the use case is prevalent, we still have serious concerns about the ergonomics and syntax of this solution. We would prefer that a solution is designed that eliminates the indirection and repetition this forces authors into. For example, one potential solution could be having the UA scan for selector arguments to If an alternative design is not an option, we would strongly urge the proposers to consider framing this as a separate concept and not drawing links to classes (syntactic or conceptual), as we believe this will be confusing for authors. We'll file an issue with the CSS WG to explore these points, and we expect further discussion to happen there. |
We note that this feature has consensus from the relevant working groups, and we don't think the TAG has much more to add here. Thanks for bearing with us. |
こんにちは TAG-さん!
I'm requesting a TAG review of View Transition Classes.
This feature introduces a new CSS property view-transition-class which allows the developer to specify one or more view transition classes. The developer can then select the ViewTransition pseudo elements using these classes (e.g.
::view-transition-group(*.class)
).This is an extension to the ViewTransition API that simplifies styling of view transition pseudo elements in a similar way that CSS classes simplify styling of regular DOM elements.
css-view-transitions-2
labelFurther details:
We'd prefer the TAG provide feedback as:
🐛 open issues in our GitHub repo for each point of feedback: https://github.com/w3c/csswg-drafts/issues with
css-view-transitions-2
label.The text was updated successfully, but these errors were encountered: