Skip to content

Commit 53cebc2

Browse files
[css-forms-1] Add slider- prefix to slider pseudo-element names 他
Add slider- prefix to slider pseudo-element names w3c/csswg-drafts@9549bb8 Remove inline issue regarding color-swatch name w3c/csswg-drafts@e098776
1 parent 21efcee commit 53cebc2

File tree

1 file changed

+49
-57
lines changed

1 file changed

+49
-57
lines changed

css-forms-ja.html

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

139139
spec_title:CSS Gap Decorations Module Level 1
140-
spec_date:2025-04-01
141-
trans_update:2025-04-08
140+
spec_date:2025-04-10
141+
trans_update:2025-04-11
142142
source_checked:
143143
page_state_key:CSS
144144
original_url:https://drafts.csswg.org/css-forms-1/
@@ -238,15 +238,15 @@
238238
pe.field-separator:#selectordef-field-separator
239239
pe.field-text:#selectordef-field-text
240240
pe.file-selector-button:#selectordef-file-selector-button
241-
pe.fill:#selectordef-fill
242241
pe.picker():#selectordef-picker
243242
pe.picker-icon:#selectordef-picker-icon
244243
pe.placeholder:#selectordef-placeholder
244+
pe.slider-fill:#selectordef-slider-fill
245+
pe.slider-thumb:#selectordef-slider-thumb
246+
pe.slider-track:#selectordef-slider-track
245247
pe.step-control:#selectordef-step-control
246248
pe.step-down:#selectordef-step-down
247249
pe.step-up:#selectordef-step-up
248-
pe.thumb:#selectordef-thumb
249-
pe.track:#selectordef-track
250250
ps.checked:~SELECTORS4#checked-pseudo
251251
ps.high-value:#selectordef-high-value
252252
ps.low-value:#selectordef-low-value
@@ -322,7 +322,6 @@
322322
暗な:darkな:暗い
323323
不定:indeterminate:~
324324
不定~状態にある:indeterminate
325-
不定:undetermined
326325
部位:portion:~
327326
picker:::選択 UI
328327
popup::::
@@ -1074,10 +1073,11 @@ <h2 title="Pseudo-Elements">4. 疑似要素</h2>
10741073
<tr><td>`progress$e
10751074
<td rowspan="4" style="vertical-align:top;">
10761075
<div class="_box-tree">
1077-
<ol><li>`track$pe
1078-
<ol><li>`fill$pe
1076+
<ol><li>`slider-track$pe
1077+
<ol><li>`slider-fill$pe
10791078
</ol>
1080-
<li>`thumb$pe
1079+
<li>`slider-thumb$pe
1080+
</ol>
10811081
</div>
10821082
<p class="trans-note">【†
10831083
`switch^a 属性を伴う~checkboxは、
@@ -1152,9 +1152,9 @@ <h2 title="Pseudo-Elements">4. 疑似要素</h2>
11521152
Control|Pseudo-elements
11531153
&lt;progress&gt;|
11541154

1155-
├─ ''::track''
1156-
│ └─ ''::fill''
1157-
└─ ''::thumb''
1155+
├─ ''::slider-track''
1156+
│ └─ ''::slider-fill''
1157+
└─ ''::slider-thumb''
11581158

11591159
&lt;meter&gt;|↑
11601160
&lt;input type=checkbox switch&gt;|↑
@@ -1404,24 +1404,23 @@ <h3 title="Styling Checkmarks: the ::checkmark pseudo-element">4.3. ~checkmark
14041404

14051405
</section>
14061406
<section id="slider-pseudos">
1407-
<h3 title="Styling Parts of Slider-Like Controls: the ::thumb, ::track and ::fill pseudo-elements">4.4. ~sliderの様な~controlを成す各部の~style法: `thumb^pe, `track^pe, `fill^pe 疑似要素</h3>
1408-
1409-
<p class="issue">
1410-
命名は、
1411-
依然として論の最中にある。
1412-
[`9830$issue]
1413-
1414-
Naming is still under discussion. [Issue #9830]
1415-
</p>
1407+
<h3 title="Styling Parts of Slider-Like Controls: the ::slider-thumb, ::slider-track and ::slider-fill pseudo-elements">4.4. ~sliderの様な~controlを成す各部の~style法: `slider-thumb^pe, `slider-track^pe, `slider-fill^pe 疑似要素</h3>
14161408

14171409
<p>
14181410
`~sliderの様な~control@
14191411
とは、
1420-
利用者が調整-可能な進捗を表現する~form~controlである。
1412+
利用者【または作者†】が調整-可能な進捗を表現する~form~controlである。
14211413
14221414
Slider-like controls are form controls that represent progress. That progress may be adjustable by the user.
14231415
</p>
14241416

1417+
<p class="trans-note">【†
1418+
該当するものとして以下に挙げられる[
1419+
`progress$e, `meter$e
1420+
]要素においては、
1421+
“利用者” とは,作者(~scriptの利用者)を指すであろう。
1422+
</p>
1423+
14251424
<p>
14261425
それを成す各部には、
14271426
次に挙げる疑似要素が供される:
@@ -1430,15 +1429,15 @@ <h3 title="Styling Parts of Slider-Like Controls: the ::thumb, ::track and ::fil
14301429
</p>
14311430

14321431
<dl>
1433-
<dt>`thumb@pe</dt>
1432+
<dt>`slider-thumb@pe</dt>
14341433
<dd>
14351434
この疑似要素は、[
14361435
当の~controlの進捗を調整する
14371436
]ことを[
14381437
利用者に許容する部位
14391438
]を表現する。
14401439
1441-
The ::thumb pseudo-element represents the portion that allows the user to adjust the progress of the control.
1440+
The ::slider-thumb pseudo-element represents the portion that allows the user to adjust the progress of the control.
14421441
</dd>
14431442
<dd class="note">注記:
14441443
ほとんどの~UAにおいては、
@@ -1447,29 +1446,29 @@ <h3 title="Styling Parts of Slider-Like Controls: the ::thumb, ::track and ::fil
14471446
NOTE: It is typically natively rendered as a circle in most user agents.
14481447
</dd>
14491448

1450-
<dt>`track@pe</dt>
1449+
<dt>`slider-track@pe</dt>
14511450
<dd>
14521451
この疑似要素は、
14531452
当の~controlを成す[
14541453
進捗-済みな部位, 進捗-済みでない部位
14551454
]【!を包含している部位】を表現する。
14561455
1457-
The ::track pseudo-element represents the portion containing both the progressed and unprogressed portions of the control.
1456+
The ::slider-track pseudo-element represents the portion containing both the progressed and unprogressed portions of the control.
14581457
</dd>
14591458

1460-
<dt>`fill@pe</dt>
1459+
<dt>`slider-fill@pe</dt>
14611460
<dd>
14621461
この疑似要素は、
14631462
当の~controlを成す進捗-済みな部位【!を包含している部位】を表現する。
14641463
1465-
The ::fill pseudo-element represents the portion containing the progressed portion of the control.
1464+
The ::slider-fill pseudo-element represents the portion containing the progressed portion of the control.
14661465
</dd>
14671466
<dd>
1468-
当の~controlの進捗は不定【!undetermined】である場合
1469-
(例: `value^a 属性が指定されていない `progress$e 要素【!progress indeterminate】)、
1467+
当の~controlの進捗は不定である場合
1468+
(例: `value^a 属性が省略された】 `progress$e 要素)、
14701469
~UAは,この部位の`行内~size$を 0 にするモノトスル。
14711470
1472-
When the progress of control is undetermined (like with &lt;progress indeterminate&gt;), the user agent must give this portion an inline-size of zero.
1471+
When the progress of control is indeterminate (like with &lt;progress&gt;), the user agent must give this portion an inline-size of zero.
14731472
</dd>
14741473
</dl>
14751474

@@ -1483,16 +1482,16 @@ <h3 title="Styling Parts of Slider-Like Controls: the ::thumb, ::track and ::fil
14831482

14841483
<div class="_box-tree">
14851484
`input type="range"^e
1486-
<ol><li>`track^pe
1487-
<ol><li>`fill^pe
1485+
<ol><li>`slider-track^pe
1486+
<ol><li>`slider-fill^pe
14881487
</ol>
1489-
<li>`thumb^pe
1488+
<li>`slider-thumb^pe
14901489
</ol>
14911490
14921491
&lt;input type="range"&gt;
1493-
├─ ::track
1494-
│ └─ ::fill
1495-
└─ ::thumb
1492+
├─ ::slider-track
1493+
│ └─ ::slider-fill
1494+
└─ ::slider-thumb
14961495
</div>
14971496

14981497
<p>
@@ -1878,13 +1877,6 @@ <h3 title="Styling Parts for Date/Time Input Fields: the ::field-component and :
18781877
<section id="color-swatch-pseudo">
18791878
<h3 title="Color Swatch: the ::color-swatch pseudo-element">4.9. 色見本: `color-swatch^pe 疑似要素</h3>
18801879

1881-
<p class="issue">
1882-
名前は `swatch^pe, `color-swatch^pe どちらになるべきか?
1883-
[`11837$issue]
1884-
1885-
Should the name be ::swatch or ::color-swatch? [Issue #11837]
1886-
</p>
1887-
18881880
<p>
18891881
`color-swatch@pe
18901882
疑似要素は、
@@ -2124,33 +2116,33 @@ <h3 title="Changing the Orientation of a Slider-Like Control: slider-orientation
21242116
<dt>`left-to-right@v</dt>
21252117
<dd>
21262118
横方向に具現化され,
2127-
`fill$pe は当の~controlの中で左端へ整列される。
2119+
`slider-fill$pe は当の~controlの中で左端へ整列される。
21282120
2129-
The slider-like control is rendered horizontally and ::fill is left-aligned within the control.
2121+
The slider-like control is rendered horizontally and ::slider-fill is left-aligned within the control.
21302122
</dd>
21312123

21322124
<dt>`right-to-left@v</dt>
21332125
<dd>
21342126
横方向に具現化され,
2135-
`fill$pe は当の~controlの中で右端へ整列される。
2127+
`slider-fill$pe は当の~controlの中で右端へ整列される。
21362128
2137-
The slider-like control is rendered horizontally and ::fill is right-aligned within the control.
2129+
The slider-like control is rendered horizontally and ::slider-fill is right-aligned within the control.
21382130
</dd>
21392131

21402132
<dt>`top-to-bottom@v</dt>
21412133
<dd>
21422134
縦方向に具現化され,
2143-
`fill$pe は当の~controlの中は上端へ整列される。
2135+
`slider-fill$pe は当の~controlの中は上端へ整列される。
21442136
2145-
The slider-like control is rendered vertically and ::fill is top-aligned within the control.
2137+
The slider-like control is rendered vertically and ::slider-fill is top-aligned within the control.
21462138
</dd>
21472139

21482140
<dt>`bottom-to-top@v</dt>
21492141
<dd>
21502142
縦方向に具現化され,
2151-
`fill$pe は当の~controlの中で下端へ整列される。
2143+
`slider-fill$pe は当の~controlの中で下端へ整列される。
21522144
2153-
The slider-like control is rendered vertically and ::fill is bottom-aligned within the control.
2145+
The slider-like control is rendered vertically and ::slider-fill is bottom-aligned within the control.
21542146
</dd>
21552147
</dl>
21562148

@@ -2206,7 +2198,7 @@ <h3 title="Layout">~layout</h3>
22062198
textarea,
22072199
button,
22082200
::file-selector-button,
2209-
::track,
2201+
::slider-track,
22102202
select,
22112203
meter,
22122204
progress {
@@ -2231,16 +2223,16 @@ <h3 title="Sliders">~slider</h3>
22312223
</p>
22322224

22332225
<pre class="lang-css">
2234-
::track {
2226+
::slider-track {
22352227
`height$p: 1em;
22362228
}
22372229

2238-
::fill {
2230+
::slider-fill {
22392231
`height$p: 100%;
22402232
`background-color$p: currentColor;
22412233
}
22422234

2243-
::thumb {
2235+
::slider-thumb {
22442236
`border-radius$p: 0;
22452237
`border$p: none;
22462238
`background-color$p: currentColor;
@@ -2645,5 +2637,5 @@ <h2 title="Acknowledgements">謝辞</h2>
26452637
</p>
26462638

26472639
</section>
2648-
</main>
2640+
</main></div>
26492641

0 commit comments

Comments
 (0)