Skip to content

Commit 0c2e2ce

Browse files
[SVG2] added from by behavior for mismatched commands 他
added from by behavior for mismatched commands w3c/svgwg@16bf6d4 Clarify path d animation mismatch handling for from/by and additive animations w3c/svgwg@c6cc21c
1 parent f3a4f58 commit 0c2e2ce

1 file changed

Lines changed: 48 additions & 19 deletions

File tree

svg-paths-ja.html

Lines changed: 48 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
●●options
3535
spec_title:SVG 2 Path
36-
spec_date:2025-09-14
37-
trans_update:2025-10-28
36+
spec_date:2026-03-12
37+
trans_update:2026-03-20
3838
source_checked:180820
3939
abbr_url:SVGpaths
4040
page_state_key:SVG
@@ -110,15 +110,16 @@
110110
対称点:#ReflectedControlPoints
111111

112112
●用語(外部
113-
実数として補間され:~CSSVAL#combine-numbers
114-
~WANIM#real-number-animation-type
115-
補間され:~CSSVAL#interpolation
116-
~WANIM#animation-interpolation
117113
離散的:~WANIM#discrete
118-
~WANIM#discrete-animation-type-section
119114
~animation型:~WANIM#animation-type
120115
~motion~animation:~SVGanim#AnimateMotionElement
121116

117+
@~CSSVAL#combine-numbers
118+
@~CSSVAL#interpolation
119+
~WANIM#real-number-animation-type
120+
~WANIM#animation-interpolation
121+
~WANIM#discrete-animation-type-section
122+
122123
●他
123124
:#PathElementImplementationNotes
124125
`stroke-linecap$p:~SVGpainting#LineCaps
@@ -318,6 +319,9 @@
318319
broken up
319320
絵:picture:絵図
320321
極力抑えて:minimalにして:~
322+
加法的:additive::~
323+
組成n:composition::組成
324+
総:total:~
321325

322326
とられる:taken
323327
大きく:big
@@ -327,10 +331,6 @@
327331
戻るよう:back
328332
始ま:begin
329333
引きずる:drag
330-
331-
332-
●指示語
333-
総:total:~
334334
まで:no longer
335335
右下:lower right
336336
からなる:made up of
@@ -772,19 +772,48 @@ <h3 title="Specifying path data: the ‘d’ property">9.3.2. ~path~dataの指
772772

773773
<p>
774774
~animationにおいて 2 つの `d$p ~prop値を滑らかに補間できるのは、
775-
~path~data文字列が包含する構造が同じになる場合に限られる
776-
(すなわち、~path~data~commandは正確に同じ個数,同じ順序, 同じ型からなる)。
777-
~animationが指定されていて,~path~data~commandの~listが成す構造が同じでない場合、
778-
互いの値は`離散的$な`~animation型$を利用して`補間され$るモノトスル。
775+
~path~data文字列が包含する構造が同じである
776+
(すなわち、
777+
互いの~path~data~commandたちは,正確に同じ個数,同じ順序, 同じ型からなる)
778+
場合に限られる。
779+
~animationが指定されていて,互いの~path~data~commandたちが成す~listが同じ構造を有していない場合、
780+
互いの値は`離散的$な`~animation型$を利用して`補間する@~CSSVAL#interpolation$モノトスル。
779781
780782
For animation, two d property values can only be interpolated smoothly when the path data strings contain have the same structure, (i.e. exactly the same number and types of path data commands which are in the same order). If an animation is specified and the lists of path data commands do not have the same structure, then the values must be interpolated using the discrete animation type.
781783
</p>
782784

783785
<p>
784-
~path~data~commandの~listが成す構造が同じ場合、
785-
各~path~data~commandに対する各~parameterは,別々に`実数として補間され$るモノトスル。
786-
%large-arc-flag, %sweep-flag は、
787-
0 〜 1 の合間の小数として補間して,その結果の 0 以外の値は 1 と見なすモノトスル。
786+
787+
`from@~SVGanim#FromAttribute$a /
788+
`by@~SVGanim#ByAttribute$a /
789+
`additive@~SVGanim#AdditiveAttribute$a
790+
]~animationにおいては、
791+
指定された~animation値が互換でない場合
792+
(すなわち,互いの~path~data~commandたちが成す~listが同じ構造を有していない)、
793+
当の~animationは効果~値を生産しないモノトスル。
794+
当の要素は、
795+
当の~animationの間, その終了~後においては,
796+
基底~値を利用して描画するモノトスル。
797+
特に, `fill^a 属性に `freeze^v が指定されたときは、
798+
凍結d値は基底~値になるモノトスル。
799+
800+
For from/by animations or additive animations, if the specified animation values are incompatible (i.e. the path data command lists do not have the same structure), then the animation must not produce an effect value. The element must render using the base value for the duration of the animation and after the animation ends. In particular, when ‘fill’='freeze' is specified, the frozen value must be the base value.
801+
</p>
802+
803+
<p class="note">注記:
804+
`by^a ~animationは,定義により加法的なので、
805+
`base^en 値の~path~data~command~listが `by^a 値と互換でないときの加法的な組成nは未定義である
806+
— `smil-animation$r § `How from, to and by attributes affect additive behavior@~TR/smil-animation/#FromToByAndAdditive$en 【`和訳@~SVG11/smil-animation.html#FromToByAndAdditive$】
807+
を見よ。
808+
809+
A by animation is additive by definition, so when the base value's path data command list is incompatible with the by value, additive composition is undefined; see SMIL Animation: from, to, by and additive behavior.
810+
</p>
811+
812+
<p>
813+
互いの~path~data~commandたちが成す~listが同じ構造を有している場合、
814+
各~path~data~commandを成す各~parameterどうしを,別々に`実数として補間する@~CSSVAL#combine-numbers$モノトスル。
815+
%large-arc-flag, %sweep-flag に対しては、
816+
0 と 1 の合間の小数として補間して,その結果の 0 以外の値は 1 と見なすモノトスル。
788817
789818
If the list of path data commands have the same structure, then each parameter to each path data command must be interpolated separately as real numbers. Flags and booleans must be interpolated as fractions between zero and one, with any non-zero value considered to be a value of one/true.
790819
</p>

0 commit comments

Comments
 (0)