|
428 | 428 | ●●options |
429 | 429 |
|
430 | 430 | spec_title:CSS Color Module Level 4 |
431 | | -spec_date:2025-05-20 |
432 | | -trans_update:2025-05-21 |
| 431 | +spec_date:2025-06-04 |
| 432 | +trans_update:2025-06-05 |
433 | 433 | source_checked:250316 |
434 | 434 | page_state_key:CSS |
435 | 435 | original_url:https://drafts.csswg.org/css-color-4/ |
|
1746 | 1746 | 突き合わせて:against |
1747 | 1747 | 選べる:opt-in |
1748 | 1748 | 選べること:opt-in |
| 1749 | + 選べる:choose to opt-in |
1749 | 1750 | きちんと:well |
1750 | 1751 | ヨイ:optionally |
1751 | 1752 | ものとする:shall be |
|
2132 | 2133 | 短い方:shorter |
2133 | 2134 | 旧い:older |
2134 | 2135 | より旧い:older |
2135 | | - 旧-:old |
2136 | 2136 | 転換-:turn |
2137 | 2137 | 目立って:noticeably |
2138 | 2138 | 目立った:noticeable |
@@ -9264,32 +9264,43 @@ <h3 title="Color Space for Interpolation">12.1. 補間~用の色~空間</h3> |
9264 | 9264 | </p> |
9265 | 9265 |
|
9266 | 9266 | <p> |
9267 | | -`~host構文$が既定の`補間~色~空間$を定義しない場合、 |
9268 | | -~Oklabが既定になる。 |
| 9267 | +しかしながら,~UAは、[ |
| 9268 | +旧来の~sRGB色~形式 |
| 9269 | +( `~hex色$, `有名~色$, `rgb$f, `hsl$f, `hwb$f, あるいは, |
| 9270 | +これらに等価な~alphaを含んでいる形) |
| 9271 | +どうしの補間 |
| 9272 | +]を[ |
| 9273 | +~gamma符号化された~sRGB空間 |
| 9274 | +]内で取扱う`モノトスル^em。 |
| 9275 | +これは、 |
| 9276 | +~Web互換性を供するためである |
| 9277 | +— 旧来の~sRGB内容は、 |
| 9278 | +既定では~sRGB空間~内で補間される。 |
9269 | 9279 | ◎ |
9270 | | -If the host syntax does not define what color space interpolation should take place in, it defaults to Oklab. |
| 9280 | +However, user agents must handle interpolation between legacy sRGB color formats (hex colors, named colors, rgb(), hsl() or hwb() and the equivalent alpha-including forms) in gamma-encoded sRGB space. This provides Web compatibility; legacy sRGB content interpolates in the sRGB space by default. |
9271 | 9281 | </p> |
9272 | 9282 |
|
9273 | 9283 | <p> |
9274 | | -作者は、 |
9275 | | -特定0の~instanceにおいて,~sRGB内での補間を選好する場合には |
9276 | | -— 例えば、 |
9277 | | -特定0の~gradientに対し,そのような結果が欲される所では — |
9278 | | -`補間~色~空間$として~sRGBを明示的に指定することにより, |
9279 | | -旧-挙動を選べる。 |
| 9284 | +このことは、 |
| 9285 | +作者は,~sRGB色どうしでも[ |
| 9286 | +次のいずれかにより,より良い補間を選べる |
| 9287 | +]ことを意味する |
| 9288 | +⇒# |
| 9289 | +どちらかの色に旧来でない `color(srgb r g b)^v 形を利用する/ |
| 9290 | +`補間~色~空間$を明示的に指定する |
9280 | 9291 | ◎ |
9281 | | -Authors that prefer interpolation in sRGB in a particular instance can opt-in to the old behavior by explicitly specifying sRGB as the interpolation color space, for example on a particular gradient where that result is desired. |
| 9292 | +This also means that authors can choose to opt-in to better interpolation, even between sRGB colors, by using the non-legacy color(srgb r g b) form for at least one of their colors, or by explicitly specifying an interpolation color space. |
9282 | 9293 | </p> |
9283 | 9294 |
|
9284 | 9295 | <p> |
9285 | | -色が`補間~色~空間$の色域の外側に補間されることになる場合、 |
| 9296 | +補間される色が`補間~色~空間$の色域の外側にある場合、 |
9286 | 9297 | その空間へ変換した結果は,範囲~外の値を包含することになる。 |
9287 | 9298 | そのような値は、 |
9288 | | -~clipされずに,そのまま補間される。 |
| 9299 | +~clipすることなく,そのまま補間するモノトスル。 |
9289 | 9300 | ◎ |
9290 | 9301 | If the colors to be interpolated are outside the gamut of the interpolation color space , then once converted to that space, they will contain out of range values. |
9291 | 9302 | ◎ |
9292 | | -These are not clipped, but the values are interpolated as-is. |
| 9303 | +These are not clipped; the values must be interpolated as-is. |
9293 | 9304 | </p> |
9294 | 9305 |
|
9295 | 9306 | </section> |
|
0 commit comments