Skip to content

Commit fb6c1dc

Browse files
[css-conditional-5] Add env() for use with @supports w3c/csswg-drafts@e4d8802
1 parent 2807934 commit fb6c1dc

1 file changed

Lines changed: 52 additions & 11 deletions

File tree

css-conditional5-ja.html

Lines changed: 52 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137
●●options
138138

139139
spec_title:CSS Conditional Rules Module Level 5
140-
spec_date:2026-03-18
141-
trans_update:2026-03-19
140+
spec_date:2026-03-24
141+
trans_update:2026-03-25
142142
source_checked:240617
143143
page_state_key:CSS
144144
original_url:https://drafts.csswg.org/css-conditional-5/
@@ -316,8 +316,9 @@
316316
t.style-range-value:#typedef-style-range-value
317317
t.style-range:#typedef-style-range
318318
t.supports-at-rule-fn:#typedef-supports-at-rule-fn
319-
t.supports-decl:#typedef-supports-decl
320319
t.supports-condition-name:#typedef-supports-condition-name
320+
t.supports-decl:#typedef-supports-decl
321+
t.supports-env-fn:#funcdef-supports-env
321322
t.supports-feature:#typedef-supports-feature
322323
t.supports-font-format-fn:#typedef-supports-font-format-fn
323324
t.supports-font-tech-fn:#typedef-supports-font-tech-fn
@@ -388,6 +389,7 @@
388389
~font形式を~supportする:#dfn-support-font-format
389390
~at-規則を~supportする:#dfn-support-at-rule
390391
有名~特能を~supportする:#dfn-support-named-feature
392+
環境~変数を~supportする:#dfn-support-env
391393

392394
~query容器:#query-container
393395
~query容器~:#query-container-name
@@ -439,6 +441,8 @@
439441
算出d値:~CASCADE#computed-value
440442
算出-:~CASCADE#computed-value
441443

444+
環境~変数:~CSSENV#css-environment-variable
445+
442446
真偽-文脈:~MQ5#boolean-context
443447
範囲~文脈:~MQ5#range-context
444448
媒体~query:~MQ5#media-query
@@ -775,6 +779,8 @@
775779
Tab Atkins Jr.; Florian Rivoal; Miriam Suzanne. <CSS Containment Module Level 3. 18 August 2022. WD. URL: https://www.w3.org/TR/css-contain-3/
776780
[CSS-DISPLAY-4]
777781
Elika Etemad; Tab Atkins Jr.. <CSS Display Module Level 4. 6 November 2025. WD. URL: https://www.w3.org/TR/css-display-4/
782+
[CSS-ENV-1]
783+
<CSS Environment Variables Module Level 1. 23 September 2025. FPWD. URL: https://www.w3.org/TR/css-env-1/
778784
[CSS-EXTENSIONS-1]
779785
<CSS Extensions Module Level 1. Editor's Draft. URL: https://drafts.csswg.org/css-extensions-1/
780786
[CSS-FONTS-4]
@@ -1024,6 +1030,7 @@ <h2 title="Extensions to the @supports rule">2. `supports$at 規則に対する
10241030
| `supports-font-format-fn$t
10251031
| `supports-at-rule-fn$t
10261032
| `supports-named-feature-fn$t
1033+
| `supports-env-fn$t
10271034
| `supports-decl$t
10281035
`supports-decl@t
10291036
= ( [ `declaration^t | `supports-condition-name$t ] )
@@ -1035,6 +1042,8 @@ <h2 title="Extensions to the @supports rule">2. `supports$at 規則に対する
10351042
= at-rule( `at-keyword-token$t )
10361043
`supports-named-feature-fn@t
10371044
= named-feature( `ident$t )
1045+
`supports-env-fn@t
1046+
= env( `ident$t )
10381047
</pre>
10391048

10401049
<p class="trans-note">
@@ -1048,7 +1057,7 @@ <h2 title="Extensions to the @supports rule">2. `supports$at 規則に対する
10481057
<dl>
10491058
<dt>`supports-condition-name$t</dt>
10501059
<dd>
1051-
~UAが当の`有名~条件を~supportする$ならば `真^i に評価される
1060+
~UAが当の`有名~条件を~supportする$ならば `真^i に評価される。
10521061
当の名前は認識されない場合、
10531062
`偽^i に評価される。
10541063
@@ -1057,36 +1066,45 @@ <h2 title="Extensions to the @supports rule">2. `supports$at 規則に対する
10571066

10581067
<dt>`supports-font-tech-fn$t</dt>
10591068
<dd>
1060-
~UAが引数として供された`~font技術を~supportする$ならば `真^i に評価される
1069+
~UAが引数として供された`~font技術を~supportする$ならば `真^i に評価される。
10611070
10621071
The result is true if the UA supports the font tech provided as an argument to the function.
10631072
</dd>
10641073

10651074
<dt>`supports-font-format-fn$t</dt>
10661075
<dd>
1067-
~UAが引数として供された`~font形式を~supportする$ならば `真^i に評価される
1076+
~UAが引数として供された`~font形式を~supportする$ならば `真^i に評価される。
10681077
10691078
The result is true if the UA supports the font format provided as an argument to the function.
10701079
</dd>
10711080

10721081
<dt>`supports-at-rule-fn$t</dt>
10731082
<dd>
1074-
~UAが引数として供された`~at-規則を~supportする$ならば `真^i に評価される
1083+
~UAが引数として供された`~at-規則を~supportする$ならば `真^i に評価される。
10751084
10761085
The result is true if the UA supports the at-rule provided as an argument to the function.
10771086
</dd>
10781087

10791088
<dt>`supports-named-feature-fn$t</dt>
10801089
<dd>
1081-
~UAが引数として供された`有名~特能を~supportする$ならば `真^i に評価される
1090+
~UAが引数として供された`有名~特能を~supportする$ならば `真^i に評価される。
10821091
10831092
The result is true if the UA supports the named feature provided as an argument to the function.
1093+
</dd>
1094+
1095+
<dt>`supports-env-fn$t</dt>
1096+
<dd>
1097+
~UAが引数として供された`環境~変数を~supportする$ならば `真^i に評価される。
1098+
1099+
The result is true if the UA supports the environment variable provided as an argument to the function.
10841100
</dd>
10851101
</dl>
10861102

1087-
<p class="trans-note">【†
1088-
他の場合は `偽^i に評価される。
1089-
`supports$at 規則~用の条件は、
1103+
<p class="trans-note">
1104+
これらはいずれも、
1105+
`真^i に評価されない場合には,
1106+
`偽^i に評価される
1107+
— `supports$at 規則~用の条件は、
10901108
`未知^i には評価され得ないので。
10911109
</p>
10921110

@@ -1206,6 +1224,22 @@ <h4 title="Named conditions">2.1.4. 有名~条件</h4>
12061224
それに関係する`有名~supports条件$は `真^i に評価される
12071225
12081226
A CSS processor is considered to support a named condition when the related named supports condition returns true.
1227+
</p>
1228+
1229+
</section>
1230+
<section id="support-definition-env">
1231+
<h4 title="Environment variables">2.1.5. 環境~変数</h4>
1232+
1233+
<p>
1234+
~CSS処理器は、
1235+
次を満たすとき,所与の
1236+
`環境~変数を~supportする@
1237+
ものと見なされる
1238+
1239+
当の `ident$t は、
1240+
~supportされる`環境~変数$【の名前】である。
1241+
1242+
A CSS processor is considered to support an environment variable if the &lt;ident&gt; is a supported environment variable.
12091243
</p>
12101244

12111245
</section>
@@ -4192,6 +4226,13 @@ <h2 title="Changes">変更点</h2>
41924226
Changes since the Working Draft of 5 November 2024
41934227
</dt>
41944228
<dd>
4229+
`~supports~query$を拡張した
4230+
— `環境~変数$の能力を `supports-env-fn$t を介して表出するよう。
4231+
( `3576$issue )
4232+
4233+
Extended supports queries to express environment variable capabilities via env(). (#3576)
4234+
</dd>
4235+
<dd>
41954236
文書~順序で最後の `supports-condition$at が優先されることを明確化した。
41964237
( `12973$issue )
41974238

0 commit comments

Comments
 (0)