Skip to content

Commit 8235c07

Browse files
andruudfantasai
authored andcommitted
[scroll-animations-1] Rename physical axes to x/y
#8666
1 parent 8f6dda2 commit 8235c07

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

scroll-animations-1/Overview.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ spec: cssom-view-1; type: dfn;
168168

169169
<pre class="prod">
170170
<<scroll()>> = scroll( [ <<scroller>> || <<axis>> ]? )
171-
<dfn noexport><<axis>></dfn> = block | inline | vertical | horizontal
171+
<dfn noexport><<axis>></dfn> = block | inline | x | y
172172
<dfn noexport><<scroller>></dfn> = root | nearest | self
173173
</pre>
174174

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

191-
<dt><dfn>vertical</dfn>
191+
<dt><dfn>x</dfn>
192192
<dd>
193193
Specifies to use the measure of progress along the
194-
[=vertical axis=] of the [=scroll container=].
194+
[=horizontal axis=] of the [=scroll container=].
195195

196-
<dt><dfn>horizontal</dfn>
196+
<dt><dfn>y</dfn>
197197
<dd>
198198
Specifies to use the measure of progress along the
199-
[=horizontal axis=] of the [=scroll container=].
199+
[=vertical axis=] of the [=scroll container=].
200200

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

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

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

239239
dictionary ScrollTimelineOptions {
@@ -369,7 +369,7 @@ spec: cssom-view-1; type: dfn;
369369

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

777777
<pre class='propdef'>
778778
Name: view-timeline-axis
779-
Value: [ block | inline | vertical | horizontal ]#
779+
Value: [ block | inline | x | y ]#
780780
Initial: block
781781
Applies to: all elements
782782
Inherited: no

0 commit comments

Comments
 (0)