Skip to content

Commit 0e81dfb

Browse files
[css-forms-1] Update structure and styles for temporal input w3c/csswg-drafts@0173504
1 parent cd37f69 commit 0e81dfb

1 file changed

Lines changed: 48 additions & 29 deletions

File tree

css-forms-ja.html

Lines changed: 48 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@
159159
●●options
160160

161161
spec_title:CSS Gap Decorations Module Level 1
162-
spec_date:2026-03-05
163-
trans_update:2026-03-06
162+
spec_date:2026-03-09
163+
trans_update:2026-03-12
164164
source_checked:
165165
page_state_key:CSS
166166
original_url:https://drafts.csswg.org/css-forms-1/
@@ -1201,15 +1201,15 @@ <h2 title="Pseudo-Elements">4. 疑似要素</h2>
12011201
<td>`file-selector-button$pe
12021202

12031203
<tr><td>`input type=date@~HEinput#date-state-(type=date)$e
1204-
<td rowspan="5">
1205-
<p>
1206-
次に挙げるもの(正確な構造は~localeに依存する):
1207-
</p>
1208-
<ul>
1209-
<li>`field-component$pe</li>
1210-
<li>`field-separator$pe</li>
1211-
<li>`picker-icon$pe</li>
1212-
</ul>
1204+
<td rowspan="5" style="vertical-align:top;">
1205+
<div class="_box-tree">
1206+
<ol><li>`field-text$pe
1207+
<ol><li>`field-component$pe
1208+
<li>`field-separator$pe
1209+
</ol>
1210+
<li>`picker-icon$pe
1211+
</ol>
1212+
</div>
12131213
<p>
12141214
`§ 日時~入力~field用の各部の~style法@#date-time-pseudos$ を見よ。
12151215
</p>
@@ -1270,11 +1270,10 @@ <h2 title="Pseudo-Elements">4. 疑似要素</h2>
12701270
&lt;input type=file&gt;|::file-selector-button
12711271
&lt;input type=date&gt;|
12721272

1273-
::field-component
1274-
1275-
::field-separator
1276-
1277-
::picker-icon
1273+
├─ ''::field-text''
1274+
│ ├─ ''::field-component''
1275+
│ └─ ''::field-separator''
1276+
└─ ''::picker-icon''
12781277

12791278
See § 4.8 Styling Parts for Date/Time Input Fields: the ::field-component and ::field-separator pseudo-elements
12801279
&lt;input type=datetime-local&gt;|↑
@@ -1951,13 +1950,14 @@ <h3 title="Styling Parts for Date/Time Input Fields: the ::field-component and :
19511950

19521951
<p>
19531952
これらの疑似要素は、
1954-
互いに同胞である。
1953+
互いに同胞であり,
1954+
`field-text$pe 疑似要素の中に包含される。
19551955
当の~controlを成す正確な構造は、[
19561956
国際-化, ~host言語
19571957
]により決定されるが,
19581958
各~UAにまたがって一貫するモノトスル。
19591959
1960-
Those pseudo-elements are siblings. The exact structure of the control is determined by internationalization and by the host language, but must be consistent across user-agents.
1960+
Those pseudo-elements are siblings. The exact structure of the control is determined by internationalization and by the host language, but must be consistent across user-agents. ::field-component and ::field-separator pseudo-elements are all contained within a ::field-text pseudo-element.
19611961
</p>
19621962

19631963
<div class="example" id="date-input-pseudo-element-structure">
@@ -1998,20 +1998,24 @@ <h3 title="Styling Parts for Date/Time Input Fields: the ::field-component and :
19981998

19991999
<div class="_box-tree">
20002000
`input type="date"^e
2001-
<ol><li>`field-component^pe (08)
2002-
<li>`field-separator^pe (/)
2003-
<li>`field-component^pe (22)
2004-
<li>`field-separator^pe (/)
2005-
<li>`field-component^pe (2024)
2001+
<ol><li>`field-text^pe
2002+
<ol><li>`field-component^pe (08)
2003+
<li>`field-separator^pe (/)
2004+
<li>`field-component^pe (22)
2005+
<li>`field-separator^pe (/)
2006+
<li>`field-component^pe (2024)
2007+
</ol>
2008+
<li>`picker-icon^pe
20062009
</ol>
20072010
20082011
&lt;input type="date"&gt;
2009-
├─ ::field-component (08)
2010-
├─ ::field-separator (/)
2011-
├─ ::field-component (22)
2012-
├─ ::field-separator (/)
2013-
├─ ::field-component (2024)
2014-
└─ ::picker-icon
2012+
├─ ::field-text
2013+
│ ├─ ::field-component (08)
2014+
│ ├─ ::field-separator (/)
2015+
│ ├─ ::field-component (22)
2016+
│ ├─ ::field-separator (/)
2017+
│ └─ ::field-component (2024)
2018+
└─ ::picker-icon
20152019
</div>
20162020
</div>
20172021

@@ -3106,6 +3110,21 @@ <h4 title="List box selects">~list~box `select^e</h4>
31063110
}
31073111
</pre>
31083112
</section>
3113+
<section id="stylesheet-text-inputs">
3114+
<h4 title="Text inputs">~text入力</h4>
3115+
3116+
<pre class="lang-css">
3117+
input::field-text {
3118+
display: flow !important;
3119+
}
3120+
3121+
input::field-component,
3122+
input::field-separator {
3123+
position: static !important;
3124+
}
3125+
</pre>
3126+
3127+
</section>
31093128
</section>
31103129
</section>
31113130
<section id="changes">

0 commit comments

Comments
 (0)