Skip to content

Commit 18a113d

Browse files
[css-animations-2] Fix bikeshed errors w3c/csswg-drafts@1a689cd
1 parent 4b5b513 commit 18a113d

File tree

1 file changed

+41
-35
lines changed

1 file changed

+41
-35
lines changed

css-animations2-ja.html

Lines changed: 41 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@
133133
●●options
134134

135135
spec_title:CSS Animations Level 2
136-
spec_date:2025-05-26
137-
trans_update:2025-05-27
136+
spec_date:2025-06-05
137+
trans_update:2025-06-08
138138
source_checked:230422
139139
page_state_key:CSS
140140
original_url:https://drafts.csswg.org/css-animations-2/
@@ -255,7 +255,7 @@
255255
`~offset$kF:keyframe offset
256256
`計時~関数$kF:keyframe timing function
257257
`組成法$kF:keyframe-composite
258-
`~$kF:keyframe values
258+
`~map$kF:keyframe values
259259
同じ`~offset$kFを伴う:duplicate
260260
%~animation:-
261261
%~keyframe効果:-
@@ -276,10 +276,10 @@
276276
%~block群:-
277277
%最後に宣言された計時~関数:-
278278
%最後に宣言された組成法:-
279-
%値~:-
279+
%値~map:-
280280
%~keyframe:-
281281
%初期または最終-~keyframe:-
282-
%~prop:-
282+
%~prop名:-
283283
%前回の現-反復:previous current iteration
284284
%反復~境界:iteration boundary
285285
@@ -313,6 +313,7 @@
313313
協調-:coordinate:~
314314
宣言d:declared::宣言
315315
書字:writing::~
316+
cascaded::::カスケード
316317
317318
下位prop:longhand/:subproperties/
318319
~~末端の下位prop:longhand subproperties
@@ -538,7 +539,7 @@
538539
kF.~offset:#_keyframe-offset
539540
kF.計時~関数:#_keyframe-timing-function
540541
kF.組成法:#_keyframe-composite
541-
kF.~:#_keyframe-values
542+
kF.~map:#_keyframe-values
542543

543544

544545
●用語(CSSANIM/WANIM
@@ -611,6 +612,7 @@
611612
指定d値:~CASCADE#specified-value
612613
宣言d値:~CASCADE#declared-value
613614
使用~:~CASCADE#used-value
615+
~cascaded値:~CASCADE#cascaded-value
614616
~animation出自:~CASCADE#cascade-origin-animation
615617
遷移~出自:~CASCADE#cascade-origin-transition
616618
出自:~CASCADE#origin
@@ -619,6 +621,7 @@
619621
設定し直すのみ:~CASCADE#reset-only-sub-property
620622

621623
解決d値:~CSSOM1#resolved-value
624+
~prop名:~CSSOM1#css-declaration-property-name
622625

623626
出自の要素:~SELECTORS4#originating-element
624627

@@ -871,7 +874,7 @@ <h2 title="Animations">2. ~animation</h2>
871874
872875
`reverse()$m が成功裡に~callされた / `startTime$m が成功裡に設定された
873876
]結果として、
874-
%~animation の`再生-状態$が,他から`静止中$iに, またはその逆に変化した
877+
%~animation の`再生-状態$が,他から `静止中$i へ, またはその逆へ変化した
875878
876879
After a successful call to reverse() on a CSSAnimation or after successfully setting the startTime on a CSSAnimation, if, as a result of that call the play state of the CSSAnimation changes to or from the paused play state, any subsequent change to the animation-play-state will no longer cause the CSSAnimation to be played or paused as defined in § 4.5 The animation-play-state property.
877880
</p>
@@ -884,7 +887,7 @@ <h2 title="Animations">2. ~animation</h2>
884887
`reverse()$m を~callしても, `startTime$m を設定しても,
885888
%~animation は `animation-play-state$p における変化を観測し続ける
886889
887-
The requirement for a change to or from the paused play state ensures that even after calling reverse() or setting the startTime on a running animation, the animation continues to observe changes in animation-play-state.
890+
The requirement for a change to or from the paused state ensures that even after calling reverse() or setting the startTime on a running animation, the animation continues to observe changes in animation-play-state.
888891
</p>
889892
</li>
890893
</ul>
@@ -1284,17 +1287,16 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
12841287
</li>
12851288
<li>
12861289
<p>
1287-
`値~@kF
1290+
`値~map@kF
12881291
1289-
この~keyframeにより~animateされる各(非~略式)~propの名前を値に対応付ける`~map$
1292+
この~keyframeにより~animateされる各(非~略式)`~prop名$を値へ対応付ける`~map$
12901293
</p>
12911294

12921295
<p class="trans-note">
12931296
これは,原文では値たちが成す集合として記されているが、
12941297
実質的には~prop名も含まれるので,`~map$に改める
12951298
(順序は有意でない)。
12961299
</p>
1297-
12981300
</li>
12991301
</ul>
13001302

@@ -1310,9 +1312,7 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
13101312
Let keyframes be an empty sequence of keyframe objects, each possessing a keyframe offset, keyframe timing function, keyframe composite, and keyframe values.
13111313
</li>
13121314
<li>
1313-
%~animateされる~prop群 ~LET 空な集合
1314-
(この集合は、
1315-
~CSS~prop名たちからなる。)
1315+
%~animateされる~prop群 ~LET (`~prop名$たちが成す)空な集合
13161316
13171317
Let animated properties be an empty set of CSS property names.
13181318
</li>
@@ -1441,7 +1441,7 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
14411441
(少なくとも,この~algoの目的においては)。
14421442
</p>
14431443
1444-
Group together all keyframe blocks that share the same specified &lt;keyframe-selector&gt; (treating from as 0% and to as 100%),\
1444+
Group together all &lt;keyframe-block&gt; declarations that share the same specified &lt;keyframe-selector&gt; (treating from as 0% and to as 100%),\
14451445
</li>
14461446
<li>
14471447
<p class="trans-note">
@@ -1506,7 +1506,7 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
15061506
</ol>
15071507
</li>
15081508
<li>
1509-
%値~ ~LET 新たな`~map$
1509+
%値~map ~LET 新たな`~map$
15101510
</li>
15111511
<li>
15121512
<p>
@@ -1520,16 +1520,26 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
15201520
</p>
15211521

15221522
<p>
1523-
その結果を成す
1523+
その結果【すなわち,各~propの`~cascaded値$たち】を成す
15241524
~EACH( `宣言d値$ %値 )
1525-
に対し
1526-
1527-
%値~群[ %値 を与えた~CSS~propの名前 ] ~SET %値
1525+
に対し:
15281526
</p>
1527+
<ol>
1528+
<li>
1529+
%~prop名 ~LET %値 を与えた宣言の`~prop名$
1530+
【!property name that was added to its cssRules】
1531+
</li>
1532+
<li>
1533+
%値~map[ %~prop名 ] ~SET %値
1534+
</li>
1535+
<li>
1536+
%~animateされる~prop群 に %~prop名 を追加する
1537+
</li>
1538+
</ol>
15291539

15301540
<p class="note">注記:
15311541
`~cascade$は、[
1532-
各`略式~prop$を その`下位prop$に展開する
1542+
各`略式~prop$を その`下位prop$たちに展開する
15331543
]ことに加え[
15341544
%要素 の【!`算出d$】`書字~mode$に則って,
15351545
各`論理-~prop~group$内の対応する~prop~pairを一緒に対応付ける
@@ -1542,13 +1552,10 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
15421552
`~offset$kF ~SET %~offset,
15431553
`計時~関数$kF ~SET %最後に宣言された計時~関数,
15441554
`組成法$kF ~SET %最後に宣言された組成法,
1545-
`値~$kF ~SET %値~
1555+
`値~map$kF ~SET %値~map
15461556
</li>
15471557
<li>
15481558
%~keyframe群 に %~keyframe を`付加する$
1549-
</li>
1550-
<li>
1551-
%~animateされる~prop群 に %値~群 を成す各~propの名前を追加する
15521559
</li>
15531560
<li>
15541561
~IF[
@@ -1565,19 +1572,18 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
15651572
%最終-~keyframe ~SET %~keyframe
15661573
</li>
15671574
</ol>
1568-
15691575
15701576
last declared animation-timing-function computed value (defaulting to default timing function if there is no such declaration), and last declared animation-composition computed value (defaulting to default composite if there is no such declaration).
15711577
1572-
For each such group of matching keyframe blocks, ordered by their earliest keyframe block in the sorted order:
1578+
For each such group of matching &lt;keyframe-block&gt; declarations, ordered by their earliest &lt;keyframe-block&gt; in the sorted order:
15731579
1574-
Cascade together all of its declaration blocks such that for each CSS property (except those that are “not animatable”, which must be ignored) the last declaration among all its keyframe blocks takes precedence. [CSS-CASCADE-4]
1580+
Cascade together all of its declaration blocks such that for each CSS property (except those that are “not animatable”, which must be ignored) the last declaration among all its &lt;keyframe-block&gt; declarations takes precedence. [CSS-CASCADE-4]
15751581
15761582
Note: The cascade will expand shorthand properties into their sub-properties and map together corresponding property pairs in each logical property group according to the element’s computed writing mode.
15771583
1578-
Append to keyframes a new empty keyframe keyframe with the group’s keyframe offset, keyframe timing function, and keyframe composite. Give its keyframe values the set of declared values resulting from this cascade.
1584+
Append to keyframes a new empty keyframe with the group’s keyframe offset, keyframe timing function, and keyframe composite. Give its keyframe values the set of declared values resulting from this cascade.
15791585
1580-
Add each property name that was added to its keyframe properties to animated properties.
1586+
Add each property name that was added to its cssRules to animated properties.
15811587
</li>
15821588
<li>
15831589
<p>
@@ -1595,13 +1601,13 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
15951601
<li>
15961602
<p>
15971603
%~animateされる~prop群 を成す
1598-
~EACH( %~prop )
1604+
~EACH( %~prop名 )
15991605
に対し:
16001606
</p>
16011607
<ol>
16021608
<li>
16031609
~IF[
1604-
%初期または最終-~keyframe の`値~$kF[ %~prop ] ~NEQ ε
1610+
%初期または最終-~keyframe の`値~map$kF[ %~prop名 ] ~NEQ ε
16051611
16061612
16071613
~CONTINUE
@@ -1616,7 +1622,7 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
16161622
<ol>
16171623
<li>
16181624
~IF[
1619-
%~keyframe の`値~$kF[ %~prop ] ~EQ ε
1625+
%~keyframe の`値~map$kF[ %~prop名 ] ~EQ ε
16201626
16211627
16221628
~CONTINUE
@@ -1648,7 +1654,7 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
16481654
<p>
16491655
…ならば
16501656
1651-
%初期または最終-~keyframe の`値~$kF[ %~prop ] ~SET %要素 上での %~prop の`算出d値$
1657+
%初期または最終-~keyframe の`値~map$kF[ %~prop名 ] ~SET %要素 上での %~prop名 ~propの`算出d値$
16521658
</p>
16531659
</li>
16541660
</ol>
@@ -1657,7 +1663,7 @@ <h3 title="Processing Keyframes">3.2. ~keyframeの処理-法</h3>
16571663
</li>
16581664
<li>
16591665
~IF[
1660-
%初期または最終-~keyframe の`値~$kFは空である
1666+
%初期または最終-~keyframe の`値~map$kFは空である
16611667
16621668
16631669
%~keyframe群 から %初期または最終-~keyframe を除去する

0 commit comments

Comments
 (0)