Skip to content

Commit e3538f9

Browse files
[css-forms-1] 各種更新
Change gap to 0.5em w3c/csswg-drafts@4febf27 Reset text-transform, text-align, and text-indent to initial w3c/csswg-drafts@82e7bf6 Use calc-size in min sizes w3c/csswg-drafts@e4d5841
1 parent f876598 commit e3538f9

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

css-forms-ja.html

+16-7
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:2025-04-14
163-
trans_update:2025-04-15
162+
spec_date:2025-04-30
163+
trans_update:2025-05-03
164164
source_checked:
165165
page_state_key:CSS
166166
original_url:https://drafts.csswg.org/css-forms-1/
@@ -250,6 +250,9 @@
250250
p.padding:~CSSBOX#propdef-padding
251251
p.position-try-fallbacks:~CSSANCHOR#propdef-position-try-fallbacks
252252
p.position-try-order:~CSSANCHOR#propdef-position-try-order
253+
p.text-align:~CSSTEXT#propdef-text-align
254+
p.text-indent:~CSSTEXT#propdef-text-indent
255+
p.text-transform:~CSSTEXT#propdef-text-transform
253256
p.user-select:~CSSUI#propdef-user-select
254257
p.visibility:~CSSDISP#propdef-visibility
255258
p.white-space:~CSSTEXT#propdef-white-space
@@ -595,6 +598,8 @@
595598
https://github.com/w3c/csswg-drafts/labels/css-forms-1
596599
編集
597600
<a href="mailto:[email protected]">Tim Nguyen</a> (Apple Inc.)
601+
<a href="https://lukewarlow.dev">Luke Warlow</a> (Igalia)
602+
598603
Suggest an Edit for this Spec
599604
<a href="https://github.com/w3c/csswg-drafts/blob/main/css-forms-1/Overview.bs">GitHub Editor</a>
600605
commit 履歴
@@ -2689,17 +2694,17 @@ <h3 title="Selects &amp; buttons">`select^e と~button</h3>
26892694
これらの最小-~size規則は、
26902695
`~WCAG規則@https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html$
26912696
に従うことにより,~accessibilityを確保する。
2692-
`1lh^v【!`1.2em^v】 は、
2697+
`1lh^v は、
26932698
`option$e が~textを伴わない場合でも,
26942699
`button$e の塊~sizeを変更しないことを~~確保するためにある。
26952700
26962701
These min-size rules ensure accessibility by following WCAG rules:
26972702
* https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html
2698-
* The 1.2em is there to make sure that options without text don't change
2703+
* The 1lh is there to make sure that options without text don't change
26992704
* the block size of the button.
27002705
</span> */
2701-
`min-block-size$p: max(24px, 1lh);
2702-
`min-inline-size$p: 24px;
2706+
`min-block-size$p: calc-size(auto, max(size, 24px, 1lh));
2707+
`min-inline-size$p: calc-size(auto, max(size, 24px));
27032708

27042709
/* <span class="comment">
27052710
`box-sizing^p は、
@@ -2719,9 +2724,13 @@ <h3 title="Selects &amp; buttons">`select^e と~button</h3>
27192724
* in between it and the text.
27202725
</span> */
27212726
`display$p: inline-flex;
2722-
`gap$p: 1em;
2727+
`gap$p: 0.5em;
27232728

27242729
`user-select$p: none;
2730+
2731+
`text-transform$p: initial;
2732+
`text-align$p: initial;
2733+
`text-indent$p: initial;
27252734
}
27262735
:is(button, select, input:is([type="color"], [type="button"], [type="reset"], [type="submit"])):enabled:hover,
27272736
:enabled::file-selector-button:hover {

0 commit comments

Comments
 (0)