Skip to content
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

[scroll-animations-1] Add all as a value for timeline-scope #9779

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion scroll-animations-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ spec:selectors-4; type:dfn; text:selector

<pre class="propdef">
Name: timeline-scope
Value: none | <<dashed-ident>>#
Value: none | all | <<dashed-ident>>#
Initial: none
Applies to: all elements
Inherited: no
Expand Down Expand Up @@ -1239,6 +1239,12 @@ spec:selectors-4; type:dfn; text:selector
<dd>
No changes in timeline name scope.

<dt><dfn>all</dfn>
<dd>
Declares the names of all timelines defined by descendants--
whose scope is not already explicitly declared by a descendant using 'timeline-scope'--
to be in scope for this element and its descendants.

<dt><dfn><<dashed-ident>></dfn>
<dd>
Declares the name of a matching named timeline defined by a descendant--
Expand All @@ -1260,6 +1266,8 @@ spec:selectors-4; type:dfn; text:selector
(<a href="https://www.w3.org/TR/2023/WD-scroll-animations-1-20230428/">28 April 2023</a>)
Working Draft include:

* Allow ''all'' as a value for 'timeline-scope'.
(<a href="https://github.com/w3c/csswg-drafts/issues/9158">Issue 9158</a>)
* Removed <css>scroll-timeline-attachment</css> and <css>view-timeline-attachment</css> in favor of 'timeline-scope'.
(<a href="https://github.com/w3c/csswg-drafts/issues/7759">Issue 7759</a>)
* Switched named timelines to use <<dashed-ident>> instead of <<custom-ident>> in order to avoid name clashes with standard CSS keywords.
Expand Down