Skip to content

Commit c8928a3

Browse files
[css-values-4] 編集
1 parent 4c9e209 commit c8928a3

1 file changed

Lines changed: 35 additions & 31 deletions

File tree

css-values-ja.html

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,6 @@
954954
解き明かす:figure out
955955
~~確保する:make sure
956956
課す:imposeする
957-
しようと:try
958957
真意が見え:obscure
959958
その誰か:reader
960959
dependent
@@ -1026,7 +1025,7 @@
10261025
しないよう:avoiding
10271026
〜でも:in terms of
10281027
の下で:in terms of
1029-
子を持たない:leaf
1028+
子を有さない:leaf
10301029
優先される:favoring
10311030
優先度の高い:stronger
10321031
~~結合度が高い:bind tighter than
@@ -7625,13 +7624,15 @@ <h3 title="Comparison Functions: min(), max(), and clamp()">10.2. 比較~関数
76257624
</p>
76267625

76277626
<p>
7628-
これらの比較~関数は,いずれも、
7627+
これらの比較~関数は、
7628+
いずれも
7629+
76297630
引数にとる各`計算式$は[
76307631
`number$t,
76317632
`dimension$t,
76327633
`percentage$t
76337634
]いずれにも解決され得るが、
7634-
`一貫した型を有して$いなければナラナイ
7635+
それらは`一貫した型を有して$いなければナラナイ
76357636
— さもなければ、
76367637
当の関数は無効になる。
76377638
当の関数の`型$は、
@@ -7655,8 +7656,10 @@ <h3 title="Comparison Functions: min(), max(), and clamp()">10.2. 比較~関数
76557656
<pre class="lang-css">
76567657
.type {
76577658
/* <span class="comment">
7658-
`font-size^p を表示域の縦幅と横幅の平均の 10/100 倍に設定するが、
7659-
`12px^v は~~下回らないようにする。
7659+
`font-size^p を表示域の[
7660+
縦幅, 横幅
7661+
]の平均の 10% に設定するが、
7662+
`12px^v を~~下回らないようにする。
76607663
76617664
Set font-size to 10x the average of vw and vh, but don’t let it go below 12px.
76627665
</span> */
@@ -7712,7 +7715,7 @@ <h3 title="Comparison Functions: min(), max(), and clamp()">10.2. 比較~関数
77127715
<pre class="lang-css">
77137716
.type {
77147717
/* <span class="comment">
7715-
`font-size^p `12px^v 以上になるよう強制する。
7718+
`font-size^p `12px^v 以上になるよう強制する。
77167719
77177720
Force the font-size to be at least 12px
77187721
</span> */
@@ -7724,10 +7727,11 @@ <h3 title="Comparison Functions: min(), max(), and clamp()">10.2. 比較~関数
77247727
<div class="note">
77257728

77267729
<p>注記:
7727-
`clamp$f の最小~値は最大~値に
7730+
`clamp$f の最小~値は、
7731+
最大~値に
77287732
— その 2 つの “順序が間違っている” ときでも —
77297733
“勝つ” ことに注意
7730-
他の部分は
7734+
順序~以外は
77317735
~CSS規約に合致しているとする)。
77327736
すなわち、
77337737
`clamp(100px, ..., 50px)^v は `100px^v に解決されることになる
@@ -7821,7 +7825,7 @@ <h3 title="Stepped Value Functions: round(), mod(), and rem()">10.3. 丸ng関数
78217825
`dimension$t,
78227826
`percentage$t
78237827
]いずれにも解決され得るが、
7824-
`一貫した型を有して$いなければナラナイ
7828+
それらは`一貫した型を有して$いなければナラナイ
78257829
— さもなければ、
78267830
当の関数は無効になる。
78277831
当の関数の`型$は、
@@ -7994,7 +7998,7 @@ <h3 title="Stepped Value Functions: round(), mod(), and rem()">10.3. 丸ng関数
79947998
`dimension$t,
79957999
`percentage$t
79968000
]いずれにも解決され得るが、
7997-
`一貫した型を有して$いなければナラナイ
8001+
それらは`一貫した型を有して$いなければナラナイ
79988002
【!must have the same type(おそらく更新漏れ)】
79998003
— さもなければ、
80008004
当の関数は無効になる。
@@ -8417,7 +8421,7 @@ <h3 title="Trigonometric Functions: sin(), cos(), tan(), asin(), acos(), atan(),
84178421
— その`型$は、
84188422
次の結果になる
84198423
8420-
`型を入力と一貫させる$( `型を作成する$( `number^l ) , ~vA の`型$ )
8424+
`型を入力と一貫させる$( `型を作成する$( `number^l ), ~vA の`型$ )
84218425
84228426
They all represent a &lt;number&gt;, with the return type made consistent with the input calculation’s type.\
84238427
</li>
@@ -8507,7 +8511,7 @@ <h3 title="Trigonometric Functions: sin(), cos(), tan(), asin(), acos(), atan(),
85078511
`dimension$t,
85088512
`percentage$t
85098513
]いずれにも解決され得るが、
8510-
`一貫した型を有して$いなければナラナイ
8514+
それらは`一貫した型を有して$いなければナラナイ
85118515
— さもなければ、
85128516
当の関数は無効になる。
85138517
@@ -8911,7 +8915,7 @@ <h3 title="Exponential Functions: pow(), sqrt(), hypot(), log(), exp()">10.5.
89118915
`dimension$t,
89128916
`percentage$t
89138917
]いずれにも解決され得るが、
8914-
`一貫した型を有して$いなければナラナイ
8918+
それらは`一貫した型を有して$いなければナラナイ
89158919
— さもなければ、
89168920
当の関数は無効になる。
89178921
当の関数の`型$は、
@@ -9099,7 +9103,7 @@ <h3 title="Exponential Functions: pow(), sqrt(), hypot(), log(), exp()">10.5.
90999103
<p class="trans-note">【†
91009104
~vA, ~vB どちらを指すか指定されていない。
91019105
ここは、
9102-
`pow(~vA, ~vB)$f と同様に記されるべきに思われる
9106+
`pow(~vA, ~vB)$f と同様に定義されるべきと思われる
91039107
</p>
91049108
91059109
with the return type made consistent with the input calculation’s type.
@@ -9365,7 +9369,7 @@ <h4 title="Argument Ranges">10.5.1. 引数の範囲</h4>
93659369
<p>
93669370
`hypot(…)$f においては
93679371
9368-
入力のいずれかがが ±∞ ならば,結果は +∞ になる
9372+
入力を成すいずれかが ±∞ ならば,結果は +∞ になる
93699373
93709374
In hypot(A, …), if any of the inputs are infinite, the result is +∞.
93719375
</p>
@@ -9504,7 +9508,7 @@ <h3 title="Sign-Related Functions: abs(), sign()">10.6. 正負に関係する関
95049508
正負に関係する関数
95059509
— `abs$f, `sign$f —
95069510
は、
9507-
引数の正負に関係する関数を算出する
9511+
引数の正負に関係する値【!関数】を算出する
95089512
95099513
The sign-related functions—abs() and sign()—compute various functions related to the sign of their argument.
95109514
</p>
@@ -10216,8 +10220,8 @@ <h3 title="Type Checking">10.9. 型の検査-法</h3>
1021610220

1021710221
<div class="algo">
1021810222
<p>
10219-
`~math関数$自身も
10220-
関数に応じて,それが包含する`計算式$に則って決定される`型$を持つ
10223+
`~math関数$
10224+
それが包含する`計算式$たちに則って決定される`型$を有する
1022110225
1022210226
Math functions themselves have types, according to their contained calculations:
1022310227
</p>
@@ -10239,7 +10243,7 @@ <h3 title="Type Checking">10.9. 型の検査-法</h3>
1023910243
<dt>`mod$f</dt>
1024010244
<dt>`rem$f</dt>
1024110245
<dd>
10242-
`型を加算する$( ~commaで分離された各`計算式$からなる~list )
10246+
`型を加算する$( ~commaで分離された`計算式$たちが成す~list )
1024310247
1024410248
The result of adding the types of its comma-separated calculations.
1024510249
</dd>
@@ -10300,7 +10304,7 @@ <h3 title="Type Checking">10.9. 型の検査-法</h3>
1030010304
1030110305
`calc(0 * 5px + 10s)^v
1030210306
は、
10303-
いずれも長さと時間を加算しようと試みるので,無効になる。
10307+
いずれも長さと時間を加算するよう試みるので,無効になる。
1030410308
1030510309
Note: Algebraic simplifications do not affect the validity of a math function or its resolved type. For example, calc(5px - 5px + 10s) and calc(0 * 5px + 10s) are both invalid due to the attempt to add a length and a time.
1030610310
</p>
@@ -10335,7 +10339,7 @@ <h3 title="Type Checking">10.9. 型の検査-法</h3>
1033510339
すなわち、
1033610340
`width:0^p や `width:5px^p は妥当であっても,
1033710341
`width:calc(0 + 5px)^p は妥当でない
10338-
— `number$t と `length$t を加算しようと試行するので
10342+
— `number$t と `length$t を加算するよう試行するので
1033910343
1034010344
Note: Because &lt;number-token&gt;s are always interpreted as &lt;number&gt;s or &lt;integer&gt;s, "unitless 0" &lt;length&gt;s aren’t supported in math functions. That is, width: calc(0 + 5px); is invalid, because it’s trying to add a &lt;number&gt; to a &lt;length&gt;, even though both width: 0; and width: 5px; are valid.
1034110345
</p>
@@ -10437,7 +10441,7 @@ <h4 title="Infinities, NaN, and Signed Zero">10.9.2. 無限大, ~NaN, 有符号
1043710441
負な 0,
1043810442
正な無限大,
1043910443
負な無限大,
10440-
~NaN( `not a number^en )
10444+
~NaN( `not a number^en )
1044110445
1044210446
Math functions follow IEEE-754 semantics, which means they recognize the concepts of positive and negative zero, positive and negative infinity, and NaN (not a number).
1044310447
</p>
@@ -10743,7 +10747,7 @@ <h3 title="Internal Representation">10.10. 内部~表現</h3>
1074310747
<ul>
1074410748
<li>
1074510749
<p>
10746-
枝分かれ~node(子がある~node)は、
10750+
枝分かれ~node(子を有する~node)は、
1074710751
次に挙げるいずれかに対応する
1074810752
`演算子~node@
1074910753
である:
@@ -10952,7 +10956,7 @@ <h3 title="Internal Representation">10.10. 内部~表現</h3>
1095210956
~ELSE
1095310957
1095410958
%子~list に[
10955-
%子~list を成す各~itemを子として持つ `Product^i ~node
10959+
%子~list を成す各~itemを子として有する `Product^i ~node
1095610960
]を付加する
1095710961
</li>
1095810962
<li>
@@ -10975,7 +10979,7 @@ <h3 title="Internal Representation">10.10. 内部~表現</h3>
1097510979
• For each "-" operator item in values, replace its right-hand value item rhs with a Negate node containing rhs as its child.
1097610980
</li>
1097710981
<li>
10978-
%根 ~LET %子~list を成す各~itemを子として持つ `Sum^i ~node
10982+
%根 ~LET %子~list を成す各~itemを子として有する `Sum^i ~node
1097910983
1098010984
</li>
1098110985
<li>
@@ -10995,19 +10999,19 @@ <h3 title="Internal Representation">10.10. 内部~表現</h3>
1099510999
</li>
1099611000
<li>
1099711001
~Assert:
10998-
%根 を根とする~treeを成す~nodeのうち,子を持つ~nodeは
11002+
%根 を根とする~treeを成す~nodeのうち子を有するものは
1099911003
`Sum^i /
11000-
`Product^i/
11001-
`Negate^i/
11004+
`Product^i
11005+
`Negate^i
1100211006
`Invert^i
11003-
]~nodeであって,他の~node(葉~node)は そうでない。
11007+
]~nodeであり,他の~node(葉~node)は そうでない。
1100411008
1100511009
At this point values is a tree of Sum, Product, Negate, and Invert nodes, with other types of values at the leaf nodes. Process the leaf nodes.
1100611010
</li>
1100711011
<li>
1100811012
<p>
1100911013
%根 を成す
11010-
~EACH( 子を持たない~node %葉 )
11014+
~EACH( 子を有さない~node %葉 )
1101111015
に対し:
1101211016
1101311017
For every leaf node leaf in values:

0 commit comments

Comments
 (0)