Skip to content

[scroll-animations-1] Rename physical axes to x/y #8774

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

Merged
merged 1 commit into from
Jun 1, 2023
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
20 changes: 10 additions & 10 deletions scroll-animations-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ spec: cssom-view-1; type: dfn;

<pre class="prod">
<<scroll()>> = scroll( [ <<scroller>> || <<axis>> ]? )
<dfn noexport><<axis>></dfn> = block | inline | vertical | horizontal
<dfn noexport><<axis>></dfn> = block | inline | x | y
<dfn noexport><<scroller>></dfn> = root | nearest | self
</pre>

Expand All @@ -188,15 +188,15 @@ spec: cssom-view-1; type: dfn;
Specifies to use the measure of progress along the
[=inline axis=] of the [=scroll container=].

<dt><dfn>vertical</dfn>
<dt><dfn>x</dfn>
<dd>
Specifies to use the measure of progress along the
[=vertical axis=] of the [=scroll container=].
[=horizontal axis=] of the [=scroll container=].

<dt><dfn>horizontal</dfn>
<dt><dfn>y</dfn>
<dd>
Specifies to use the measure of progress along the
[=horizontal axis=] of the [=scroll container=].
[=vertical axis=] of the [=scroll container=].

<dt><dfn>nearest</dfn>
<dd>
Expand All @@ -216,7 +216,7 @@ spec: cssom-view-1; type: dfn;

Note: Progress is in reference to the [=scroll origin=],
which can flip depending on [=writing mode=],
even when ''scroll-timeline-axis/horizontal'' or ''scroll-timeline-axis/vertical'' is specified.
even when ''scroll-timeline-axis/x'' or ''scroll-timeline-axis/y'' is specified.

References to the [=root element=] propagate to the document viewport
(which functions as its [=scroll container=]).
Expand All @@ -232,8 +232,8 @@ spec: cssom-view-1; type: dfn;
enum ScrollAxis {
"block",
"inline",
"horizontal",
"vertical"
"x",
"y"
};

dictionary ScrollTimelineOptions {
Expand Down Expand Up @@ -369,7 +369,7 @@ spec: cssom-view-1; type: dfn;

<pre class='propdef'>
Name: scroll-timeline-axis
Value: [ block | inline | vertical | horizontal ]#
Value: [ block | inline | x | y ]#
Initial: block
Applies to: all elements
Inherited: no
Expand Down Expand Up @@ -776,7 +776,7 @@ spec: cssom-view-1; type: dfn;

<pre class='propdef'>
Name: view-timeline-axis
Value: [ block | inline | vertical | horizontal ]#
Value: [ block | inline | x | y ]#
Initial: block
Applies to: all elements
Inherited: no
Expand Down