Skip to content

Commit 3d49cb2

Browse files
[css-color-4][css-color-5] Improve visibility of the constraint that shorter is the default he interpolation method w3c/csswg-drafts@510e87e
+ [css-color-4] editorial: Move changes comment to the right place w3c/csswg-drafts@af08cb6 + [css-color-5] 編集( color-mix() 直列化アルゴリズム
1 parent 4e82c29 commit 3d49cb2

2 files changed

Lines changed: 79 additions & 34 deletions

File tree

css-color-ja.html

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@
428428
●●options
429429

430430
spec_title:CSS Color Module Level 4
431-
spec_date:2026-04-10
432-
trans_update:2026-04-11
431+
spec_date:2026-04-13
432+
trans_update:2026-04-15
433433
source_checked:250316
434434
page_state_key:CSS
435435
original_url:https://drafts.csswg.org/css-color-4/
@@ -9606,6 +9606,22 @@ <h3 title="Color Space for Interpolation">12.1. 補間~用の色~空間</h3>
96069606
The keywords in the definitions of &lt;rectangular-color-space&gt; and &lt;polar-color-space&gt; each refer to their corresponding color space, represented in CSS either by the functional syntax with the same name, or (if no such function is present), by the corresponding &lt;ident&gt; in the color() function.
96079607
</p>
96089608

9609+
<p>
9610+
`~host構文$が[
9611+
`補間~色~空間$として何が場を占めるべきか
9612+
]を定義しない場合の既定は、
9613+
`~Oklab$になるとする。
9614+
9615+
If the host syntax does not define what color space interpolation should take place in, it defaults to Oklab.
9616+
</p>
9617+
9618+
<p>
9619+
`polar-color-space$t 用に `hue-interpolation-method$t が指定されなかった場合の既定は、
9620+
`shorter$v になるとする。
9621+
9622+
For a &lt;polar-color-space&gt; if the &lt;hue-interpolation-method&gt; is not specified, it defaults to shorter.
9623+
</p>
9624+
96099625
<p>
96109626
しかしながら,~UAは、[
96119627
旧来の~sRGB色~形式
@@ -16163,6 +16179,25 @@ <h2 title="Changes">変更点</h2>
1616316179
Changes since the Candidate Recommendation Draft of 24 April 2025
1616416180
</dt>
1616516181
<dd>
16182+
`§ 色~補間@#interpolation$
16183+
において,[
16184+
色相~補間~methodが指定されなかった場合の既定が `shorter^v になること
16185+
]を明確化した
16186+
(これは、
16187+
`§ 色相の補間@#hue-interpolation$
16188+
においては,すでに指定されていた)。
16189+
( `13788$issue )
16190+
16191+
Clarified in the main Color interpolation section that, if the hue interpolaton method is not specified, shorter is the default. (This was already specified in the Hue Interpolation section). (Issue 13788)
16192+
</dd>
16193+
<dd>
16194+
`none$v から `0^v への変換を最小限にするため、
16195+
`相似的な成分$に加えて`相似的な集合$の概念も定義した。
16196+
( `10210$issue )
16197+
16198+
Expanded the concept of analogous components to analogous sets of components, to minimize none → 0 conversions (Issue 10210)
16199+
</dd>
16200+
<dd>
1616616201
色~変換を 2 段階を経るよう分割した。
1616716202
( `10211$issue )
1616816203
@@ -16290,13 +16325,6 @@ <h2 title="Changes">変更点</h2>
1629016325
Changes since the Candidate Recommendation Draft of 13 Feb 2024
1629116326
</dt>
1629216327
<dd>
16293-
`none$v から `0^v への変換を最小限にするため、
16294-
`相似的な成分$に加えて`相似的な集合$の概念も定義した。
16295-
( `10210$issue )
16296-
16297-
Expanded the concept of analogous components to analogous sets of components, to minimize none → 0 conversions (Issue 10210)
16298-
</dd>
16299-
<dd>
1630016328
【 `currentcolor$v ~keywordの】
1630116329
使用~値は、
1630216330
`color$p ~propの内側では,

css-color5-ja.html

Lines changed: 42 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@
174174
●●options
175175

176176
spec_title:CSS Color Module Level 5
177-
spec_date:2026-04-10
178-
trans_update:2026-04-11
177+
spec_date:2026-04-13
178+
trans_update:2026-04-15
179179
source_checked:250423
180180
page_state_key:CSS
181181
original_url:https://drafts.csswg.org/css-color-5/
@@ -496,6 +496,7 @@
496496
線型~gradient:~CSSIMAGE#linear-gradients
497497

498498
●用語(外部
499+
~list:~INFRA#list
499500
~size:~INFRA#list-size
500501
付加する:~INFRA#list-append
501502
連結する:~INFRA#string-concatenate
@@ -920,7 +921,7 @@
920921
%直列化された百分率~:-
921922
%直列化された百分率:-
922923
%省略された百分率を算出するか:-
923-
%百分率をすべて直列化するか:-
924+
%結果の百分率をすべて省略するか:-
924925
%結果~list:-
925926
%i
926927

@@ -1064,6 +1065,7 @@
10641065
優先-:wins
10651066
へ戻る~link:backlink
10661067
~~遺物:leftover
1068+
戻る~link:backlink
10671069

10681070
●未分類
10691071
component::::コンポーネント
@@ -6210,11 +6212,11 @@ <h2 title="Color Interpolation">9. 色~補間</h2>
62106212
<h3 title="Color Space for Interpolation">9.1. 補間~用の色~空間</h3>
62116213

62126214
<p>
6213-
`color-interpolation-method$t は、
6214-
次のように,
6215-
`~custom色~空間$の利用を許容するよう拡張される:
6215+
`~level 4$ の `§ 補間~用の色~空間@~CSSCOLOR#interpolation-space$
6216+
にて定義される `color-interpolation-method$t は、
6217+
次のとおり,`~custom色~空間$の利用を許容するよう拡張される:
62166218
6217-
The &lt;color-interpolation-method&gt; is extended to allow use of the custom color spaces:
6219+
The &lt;color-interpolation-method&gt;, as defined in CSS Color 4 § 12.1 Color Space for Interpolation, is extended to allow use of the custom color spaces:
62186220
</p>
62196221

62206222
<pre class="prod">
@@ -6526,7 +6528,7 @@ <h3 title="Serializing color-mix()">11.1. `color-mix^f の直列化-法</h3>
65266528
`色~引数~群を直列化する@
65276529
~algoは、
65286530
所与の
6529-
( %引数~群 )
6531+
( `~list$ %引数~群 )
65306532
に対し:
65316533
</p>
65326534
<ol>
@@ -6537,7 +6539,7 @@ <h3 title="Serializing color-mix()">11.1. `color-mix^f の直列化-法</h3>
65376539
%百分率~群 ~LET « »
65386540
</li>
65396541
<li>
6540-
%百分率の総和 ~LET 0
6542+
%百分率の総和 ~LET 0%
65416543
</li>
65426544
<li>
65436545
%百分率が省略された個数 ~LET 0
@@ -6546,7 +6548,7 @@ <h3 title="Serializing color-mix()">11.1. `color-mix^f の直列化-法</h3>
65466548
%省略された百分率を算出するか ~LET ~T
65476549
</li>
65486550
<li>
6549-
%百分率をすべて直列化するか ~LET ~F
6551+
%結果の百分率をすべて省略するか ~LET ~T
65506552
</li>
65516553
<li>
65526554
<p>
@@ -6619,7 +6621,8 @@ <h3 title="Serializing color-mix()">11.1. `color-mix^f の直列化-法</h3>
66196621
%百分率の総和 が 100% を超える場合、
66206622
負になる
66216623
— これは、
6622-
本当に意図された挙動なのか?
6624+
`color-mix$f 用の百分率として妥当な範囲に入らない構文を生産するので,
6625+
正しい挙動とは思えない。
66236626
</p>
66246627

66256628
</li>
@@ -6629,27 +6632,33 @@ <h3 title="Serializing color-mix()">11.1. `color-mix^f の直列化-法</h3>
66296632
</ol>
66306633
</li>
66316634
<li>
6635+
%直列化された百分率~群 に %直列化された百分率 を`付加する$
6636+
</li>
6637+
<li>
6638+
<p>
66326639
~IF[
6633-
%百分率 は `calc$f 式である
6640+
%百分率 ~EQ ε
66346641
]~OR[
6635-
%百分率 ~NEQ ( 100% ~DIV %N )
6642+
%百分率 は `calc$f 式である
66366643
66376644
6638-
%百分率をすべて直列化するか ~SET ~T
6639-
</li>
6640-
<li>
6641-
%直列化された百分率~群 に %直列化された百分率 を`付加する$
6642-
</li>
6643-
</ol>
6645+
%百分率 ~SET `未知^i
6646+
</p>
6647+
66446648
<p>
66456649
`実効~百分率@
66466650
とは、
6647-
この段の結果の百分率を指す
6648-
— それは、[
6649-
ε / `calc$f 式
6650-
]である場合は,未知になる
6651-
(未知と称される)。
6651+
この段の結果の %百分率 を指す。
66526652
</p>
6653+
</li>
6654+
<li>
6655+
~IF[
6656+
%百分率 ~NEQ ( 100% ~DIV %N )
6657+
6658+
6659+
%結果の百分率をすべて省略するか ~SET ~F
6660+
</li>
6661+
</ol>
66536662
</li>
66546663
<li>
66556664
%結果~list ~LET « »
@@ -6668,7 +6677,7 @@ <h3 title="Serializing color-mix()">11.1. `color-mix^f の直列化-法</h3>
66686677
</li>
66696678
<li>
66706679
~IF[
6671-
%百分率をすべて直列化するか ~EQ ~T
6680+
%結果の百分率をすべて省略するか ~EQ ~F
66726681
66736682
66746683
%直列化された成分 ~SET 次を順に`連結する$
@@ -7802,6 +7811,14 @@ <h2 title="Changes">変更点</h2>
78027811
18.1. Since the Working Draft of 13 January 2026
78037812
</dt>
78047813
<dd>
7814+
この仕様の `§ 補間~用の色~空間@#interpolation-space$から,[
7815+
それを成すほとんどを定義している `~level 4$ の同じ節
7816+
]へ戻る~linkを追加した。
7817+
( `13788$issue )
7818+
7819+
Added a backlink from Color Interpolation in this specification, to the same section in CSS Color 4 where most of this is defined (Issue 13788)
7820+
</dd>
7821+
<dd>
78057822
`light-dark$f 関数~用に
78067823
— 2 個の色をとる形に加えて —
78077824
2 個の画像をとる形を追加した。

0 commit comments

Comments
 (0)