Skip to content

Commit 759fb7e

Browse files
[css-env-1] Specify argument grammar for env() function w3c/csswg-drafts@a16b853
1 parent 870155c commit 759fb7e

1 file changed

Lines changed: 35 additions & 6 deletions

File tree

css-env-ja.html

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@
106106
●●options
107107

108108
spec_title:CSS Environment Variables Module Level 1
109-
spec_date:2026-01-15
110-
trans_update:2026-01-17
109+
spec_date:2026-03-12
110+
trans_update:2026-03-14
111111
source_checked:250429
112112
page_state_key:CSS
113113
original_url:https://drafts.csswg.org/css-env-1/
@@ -157,6 +157,7 @@
157157
I.FontFace:~CSSFONTLOADING#fontface
158158

159159
●css
160+
t.env-args:#typedef-env-args
160161
t.declaration-value:~CSSSYN#typedef-declaration-value
161162
t.custom-property-name:~CSSVAR#typedef-custom-property-name
162163
t.length:~CSSVAL#length-value
@@ -192,16 +193,22 @@
192193
●用語
193194
環境~変数:#css-environment-variable
194195
次元~数:#_number-of-dimensions
196+
代入-:#substitute-an-env
197+
195198
●用語(CSS
199+
大きい表示域~size:~CSSVAL#large-viewport-size
200+
動的な表示域~size:~CSSVAL#dynamic-viewport-size
201+
202+
算出d値の時点で無効:~CSSVAL5#invalid-at-computed-value-time
203+
引数~文法:~CSSVAL5#argument-grammar
196204

197205
~custom~prop:~CSSVAR#custom-property
206+
198207
~at-規則:~CSSSYN#at-rule
199-
代入-:#substitute-an-env
200-
算出d値の時点で無効:#invalid-at-computed-value-time
208+
201209
略式~prop:~CASCADE#shorthand-property
210+
202211
~layout表示域:~CSSOMVIEW#layout-viewport
203-
大きい表示域~size:~CSSVAL#large-viewport-size
204-
動的な表示域~size:~CSSVAL#dynamic-viewport-size
205212

206213
●用語(他
207214
I.Document:~DOM4#document
@@ -305,6 +312,7 @@
305312
~segmentたち:panes of content
306313
媒体~query:MQ
307314
-:possibilities
315+
何も後続しない:bare with nothing following it
308316

309317
●●images
310318

@@ -320,6 +328,8 @@
320328
Tab Atkins Jr.; Simon Sapin. <CSS Syntax Module Level 3. URL: https://drafts.csswg.org/css-syntax/
321329
[CSS-VALUES-4]
322330
Tab Atkins Jr.; Elika Etemad. <CSS Values and Units Module Level 4. URL: https://drafts.csswg.org/css-values-4/
331+
[CSS-VALUES-5]
332+
Tab Atkins Jr.; Elika Etemad; Miriam Suzanne. <CSS Values and Units Module Level 5. URL: https://drafts.csswg.org/css-values-5/
323333
[CSS-VARIABLES-1]
324334
Tab Atkins Jr.. <CSS Custom Properties for Cascading Variables Module Level 1. URL: https://drafts.csswg.org/css-variables/
325335
[CSS-VARIABLES-2]
@@ -918,6 +928,25 @@ <h2 title="Using Environment Variables: the env() notation">3. 環境~変数の
918928
= env( `custom-ident$t `integer$t*, `declaration-value$t? )
919929
</pre>
920930

931+
<p>
932+
`env$f 関数の`引数~文法$は:
933+
934+
The env() function’s argument grammar is:
935+
</p>
936+
937+
<pre class="prod">
938+
`env-args@t
939+
= env( `declaration-value$t, `declaration-value$t? )
940+
</pre>
941+
942+
<p>
943+
`var$f 同様に,何も後続しない~commaを利用できる
944+
— それは、
945+
2 個目の `declaration-value$t として空な連列が渡されたことを指示する。
946+
947+
Like var(), a bare comma can be used with nothing following it, indicating that the second &lt;declaration-value&gt; was passed, just as an empty sequence.
948+
</p>
949+
921950
<p>
922951
`env$f 関数は、[
923952
どの要素のどの~propの値/

0 commit comments

Comments
 (0)