|
188 | 188 | ●●options |
189 | 189 |
|
190 | 190 | spec_title:CSS Images Module Level 4 |
191 | | -spec_date:2025-11-02 |
192 | | -trans_update:2025-11-04 |
| 191 | +spec_date:2025-11-06 |
| 192 | +trans_update:2025-11-08 |
193 | 193 | source_checked:240719 |
194 | 194 | page_state_key:CSS |
195 | 195 | original_url:https://drafts.csswg.org/css-images-4/ |
|
214 | 214 | e:element |
215 | 215 | a:attr |
216 | 216 | et:event-type |
| 217 | +op:op |
217 | 218 |
|
218 | 219 | ●●tag_map |
219 | 220 | p:code |
|
232 | 233 | I:code |
233 | 234 | m:code |
234 | 235 | et:code |
| 236 | +op:span |
235 | 237 | V:var |
236 | 238 | i:i |
237 | 239 | em:em |
|
473 | 475 | 角括弧付き範囲~記法:~CSSVAL#css-bracketed-range-notation |
474 | 476 | 関数-記法:~CSSVAL#functional-notation |
475 | 477 | ~style資源を~fetchする:~CSSVAL#fetch-a-style-resource |
| 478 | +算出d長さ:~CSSVAL#computed-length |
476 | 479 |
|
477 | 480 | 混合-百分率たちを正規化する:~CSSVAL5#normalize-mix-percentages |
478 | 481 |
|
|
626 | 629 | 確率的:stochastic:~ |
627 | 630 | 収束-:converge:~ |
628 | 631 | 残余:leftover:~ |
| 632 | +公式:formula:~ |
629 | 633 |
|
630 | 634 | 利用元~単位:user coordinate |
631 | 635 | 変換 |
|
634 | 638 | 占める:share |
635 | 639 | N-way Porter-Duff |
636 | 640 | Wikipedia |
| 641 | + %百分率~総和:sum-of-percents |
| 642 | + %固定的~長さ~総和:sum-of-fixed |
| 643 | + %~flex総和:sum-of-flexes |
637 | 644 |
|
638 | 645 | ●gradient |
639 | 646 | gradient: |
|
875 | 882 | 左横書き:LTR:~ |
876 | 883 | 右横書き:RTL:~ |
877 | 884 | 双向性:bidi::~ |
| 885 | +固定的:fixed:~ |
878 | 886 |
|
879 | 887 |
|
880 | 888 | ●構文 |
@@ -5406,91 +5414,95 @@ <h3 title="Interpolating <gradient>">7.3. `gradient$t の補間-法</h3> |
5406 | 5414 | <h3 title="Interpolating stripes()">7.4. `stripes$f の補間-法</h3> |
5407 | 5415 |
|
5408 | 5416 | <p> |
5409 | | -2 個の `stripes$f は、 |
| 5417 | +`stripes$f どうしは、 |
5410 | 5418 | ~gradientと類似に補間でき, |
5411 | 5419 | 一方の画像から他方へ滑らかな~animationを許容する。 |
5412 | 5420 | ただし、 |
5413 | | -`stripes$f どうしの補間が許容されるためには,次に挙げる少数の制約がある: |
5414 | | -◎ |
5415 | | -Similar to gradients, two stripes() can be interpolated, allowing for smooth animations from one image to another. There are only a few restrictions on what stripes() are allowed to be interpolated: |
5416 | | -</p> |
5417 | | -<ul> |
5418 | | - <li> |
| 5421 | +補間が許容されるためには, |
5419 | 5422 | 引数【!Both the starting and ending image】を成す `color-stripe$t の個数は互いに同じでなければナラナイ。 |
| 5423 | +この拘束が満たされない場合、 |
| 5424 | +汎用な画像~用の `cross-fade$f を利用して補間するモノトスル。 |
| 5425 | +満たされる場合、 |
| 5426 | +以下に述べるとおりに補間するモノトスル: |
5420 | 5427 | ◎ |
5421 | | -Both the starting and ending image must have the same number of <color-stripe>s. |
5422 | | -</li> |
5423 | | - <li> |
5424 | | -対応する `color-stripe$t を成す太さの型は互いに同じ |
5425 | | -— すなわち,[ |
5426 | | -どちらも `length-percentage$t / どちらも `flex$t |
5427 | | -] — |
5428 | | -でなければナラナイ。 |
5429 | | -◎ |
5430 | | -Each pair of interpolated thicknesses must be of the same type, i.e. both must either be of type <length-percentage>, or <flex>. |
5431 | | -</li> |
5432 | | -</ul> |
| 5428 | +Similar to gradients, two stripes() can be interpolated, allowing for smooth animations from one image to another. There is only one restriction on what stripes() are allowed to be interpolated.\ |
| 5429 | +Both the starting and ending image must have the same number of <color-stripe>s.\ |
| 5430 | +If the two images satisfy this constraint, they must be interpolated as described below.\ |
| 5431 | +If they fail the constraint, they must be interpolated using cross-fade() as for generic images. |
| 5432 | +</p> |
5433 | 5433 |
|
5434 | | -<p> |
5435 | | -両~画像が: |
5436 | | -◎ |
5437 | | -↓</p> |
5438 | 5434 | <ul> |
5439 | 5435 | <li> |
5440 | | -上の拘束をいずれも満たす場合、 |
5441 | | -以下に述べるとおりに補間するモノトスル。 |
| 5436 | +各~縞( `color-stripe$t )【!component and stripe】どうし |
| 5437 | +— [ |
| 5438 | +開始~画像, 終了~画像 |
| 5439 | +]内の同じ~indexにある縞どうし — |
| 5440 | +を独立に補間する。 |
5442 | 5441 | ◎ |
5443 | | -If the two images satisfy both constraints, they must be interpolated as described below.\ |
5444 | | -</li> |
5445 | | - <li> |
5446 | | -1 個目の拘束しか満たさない場合、 |
5447 | | -50% の所で一足飛びに遷移するモノトスル |
5448 | | -(将来の仕様により他が指定されない限り)。 |
| 5442 | +Interpolate each component and stripe of the images independently. |
5449 | 5443 | ◎ |
5450 | | -If they fail the second one only, they must be abruptly transitioned at 50% (unless otherwise specified by a future specification).\ |
| 5444 | +To interpolate a stripe, first match each stripe in the start image to the corresponding stripe at the same index in the end image.\ |
5451 | 5445 | </li> |
5452 | 5446 | <li> |
5453 | | -他の場合、 |
5454 | | -汎用な画像~用の `cross-fade$f を利用して補間するモノトスル |
5455 | | -◎ |
5456 | | -If they fail the first constraint, they must be interpolated using cross-fade() as for generic images. |
5457 | | -</li> |
5458 | | -</ul> |
5459 | | - |
5460 | | -<p class="note">注記: |
5461 | | -50% の所で一足飛びに遷移させるのは、 |
5462 | | -内容が~cross-fadeに依拠しないようにして,将来に[ |
5463 | | -この事例~用に,もっと賢い補間~規則を追加できるようにする |
5464 | | -]ためである。 |
| 5447 | +<p> |
| 5448 | +縞どうしを補間するときは、 |
| 5449 | +その[ |
| 5450 | +太さ, 色 |
| 5451 | +]を独立に補間する。 |
5465 | 5452 | ◎ |
5466 | | -Note: The abrupt transition at 50% is so that content will not rely on cross-fading, and smarter interpolation rules can be added for this case in the future. |
| 5453 | +Then, for each pair of stripes, interpolate the thickness and color independently.\ |
5467 | 5454 | </p> |
5468 | 5455 |
|
5469 | | -<ol> |
| 5456 | +<p class="trans-note">【 |
| 5457 | +[ |
| 5458 | +太さどうしは`百分率~値と次元~値の組合nの補間@~CSSVAL#combine-mixed$/ |
| 5459 | +色どうしは`色の補間-法@~CSSCOLOR#interpolation$ |
| 5460 | +]に従うであろう。 |
| 5461 | +】</p> |
| 5462 | + </li> |
5470 | 5463 | <li> |
5471 | | -画像を成す各~縞( `color-stripe$t )【!component and stripe】は、 |
5472 | | -独立に補間する。 |
| 5464 | +<p> |
| 5465 | +太さを成す `flex$t 値 %~flex値 は、 |
| 5466 | +次の公式を利用した結果の `length-percentage$t として補間する |
| 5467 | +⇒ |
| 5468 | +`max^op( 0, 100% ~MINUS %百分率~総和 ~MINUS %固定的~長さ~総和 ) ~MUL %~flex値 ~DIV `max^op( 1, %~flex総和 ) |
5473 | 5469 | ◎ |
5474 | | -Interpolate each component and stripe of the images independently. |
| 5470 | +<flex> values are interpolated as <length-percentage>s using the following formula: |
| 5471 | +• max(0, 100% - sum-of-percents - sum-of-fixed) * flex value / max(1, sum-of-flexes) |
| 5472 | +</p> |
| 5473 | + |
| 5474 | +<div> |
| 5475 | +<p> |
| 5476 | +ここで |
| 5477 | +(以下、 |
| 5478 | +“当の関数” は, %~flex値 を包含している `stripes$f 関数を指す): |
| 5479 | +</p> |
| 5480 | + <ul> |
| 5481 | + <li> |
| 5482 | +%百分率~総和 は、 |
| 5483 | +当の関数~内の `percentage$t すべての総和 |
5475 | 5484 | </li> |
5476 | | - <li> |
| 5485 | + <li> |
5477 | 5486 | <p> |
5478 | | -縞を補間するときは、[ |
5479 | | -開始~画像, 終了~画像 |
5480 | | -]内の同じ~indexにある各~縞~pairに対し,その[ |
5481 | | -太さ, 色 |
5482 | | -]を独立に補間する。 |
| 5487 | +%固定的~長さ~総和 は、 |
| 5488 | +当の関数~内の固定的な `length$t すべての総和 |
5483 | 5489 | </p> |
5484 | 5490 |
|
5485 | 5491 | <p class="trans-note">【 |
5486 | | -太さは `length^t 値の`補間-法@~CSSVAL#combine-dimensions$, |
5487 | | -色は`色の補間-法@~CSSCOLOR#interpolation$ |
5488 | | -に従うことになろう。 |
| 5492 | +“固定的( `fixed^en )な `length^t” とは、 |
| 5493 | +絶対~化された `length^t (`算出d長さ$)を意味すると思われる。 |
5489 | 5494 | 】</p> |
5490 | | -◎ |
5491 | | -To interpolate a stripe, first match each stripe in the start image to the corresponding stripe at the same index in the end image. Then, for each pair of stripes, interpolate the thickness and color independently. |
| 5495 | + </li> |
| 5496 | + <li> |
| 5497 | +%~flex総和 は、 |
| 5498 | +当の関数~内の `flex$t 値~すべての総和 |
5492 | 5499 | </li> |
5493 | | -</ol> |
| 5500 | + </ul> |
| 5501 | +◎ |
| 5502 | +where sum-of-percents is the sum of all <percentage>s in the stripes() function, sum-of-fixed is the sum of all fixed <length>s in the function, and sum-of-flexes is the sum of all <flex> values. |
| 5503 | +</div> |
| 5504 | + </li> |
| 5505 | +</ul> |
5494 | 5506 |
|
5495 | 5507 | </section> |
5496 | 5508 | </section> |
|
0 commit comments