Skip to content

Commit 3217513

Browse files
[css-text-4][css-inline-3][css-text-decor-4] Introduce text-fit property w3c/csswg-drafts@537f46d
1 parent 507786e commit 3217513

3 files changed

Lines changed: 444 additions & 44 deletions

File tree

css-inline-ja.html

Lines changed: 36 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@
160160
●●options
161161

162162
spec_title:CSS Inline Layout Module Level 3
163-
spec_date:2026-02-05
164-
trans_update:2025-02-22
163+
spec_date:2026-04-20
164+
trans_update:2026-05-10
165165
source_checked:251202
166166
page_state_key:CSS
167167
original_url:https://drafts.csswg.org/css-inline-3/
@@ -3339,7 +3339,7 @@ <h3 title="Line Spacing: the line-height property">5.1. 行lの間隔法: `lin
33393339
◎初 `normal^v
33403340
◎適 `置換され$ない`行内~box$/~SVG`~text内容~要素$
33413341
◎継 される
3342-
◎百 `1em^v に相対的に算出される
3342+
◎百 以下を見よ
33433343
◎算
33443344
指定された~keyword/
33453345
実数/
@@ -3353,7 +3353,7 @@ <h3 title="Line Spacing: the line-height property">5.1. 行lの間隔法: `lin
33533353
Initial: normal
33543354
Applies to: non-replaced inline boxes and SVG text content elements
33553355
Inherited: yes
3356-
Percentages: computed relative to 1em
3356+
Percentages: see below
33573357
Computed value: the specified keyword, a number, or a computed &lt;length&gt; value
33583358
Canonical order: per grammar
33593359
Animation type: by computed value type
@@ -3391,39 +3391,59 @@ <h3 title="Line Spacing: the line-height property">5.1. 行lの間隔法: `lin
33913391
<dt>`normal@v</dt>
33923392
<dd>
33933393
`選好される行高さ$は、
3394-
~font計量に基づいて自動的に決定される
3394+
使用~fontの計量に基づいて自動的に決定される
33953395
3396-
Determine the preferred line height automatically based on font metrics.
3396+
Determine the preferred line height automatically based on the metrics of the used font.
33973397
</dd>
33983398

33993399
<dt id="valdef-line-height-length">`length[0,∞]$t</dt>
34003400
<dd>
34013401
指定された長さが,`選好される行高さ$として利用される。
3402+
3403+
The specified length is used as the preferred line height.\
3404+
</dd>
3405+
<dd>
34023406
負な値は違法。
34033407
3404-
The specified length is used as the preferred line height. Negative values are illegal.
3408+
Negative values are illegal.
34053409
</dd>
34063410

34073411
<dt id="valdef-line-height-number">`number[0,∞]$t</dt>
34083412
<dd>
34093413
`選好される行高さ$は、
3410-
要素の `font-size$p の`算出d値$に この実数を乗算した結果になる。
3411-
~propの`算出d値$は`指定d値$と同じになる。
3414+
当の要素の `font-size$p の`使用~値$に この実数を乗算した結果になる。
3415+
3416+
The preferred line height is this number multiplied by the element’s used font-size.\
3417+
</dd>
3418+
<dd>
34123419
負な値は違法。
34133420
3414-
The preferred line height is this number multiplied by the element’s computed font-size. Negative values are illegal. The computed value is the same as the specified value.
3421+
Negative values are illegal.\
3422+
</dd>
3423+
<dd>
3424+
~propの`算出d値$は`指定d値$と同じになる。
3425+
3426+
The computed value is the same as the specified value.
34153427
</dd>
34163428

34173429
<dt id="valdef-line-height-percentage">`percentage[0,∞]$t</dt>
34183430
<dd>
3419-
3420-
`選好される行高さ$/
3421-
~propの`算出d値$
3422-
]は、
3423-
要素の `font-size$p の`算出d値$に対し,この百分率が成す分になる。
3431+
`選好される行高さ$は、
3432+
当の要素の `font-size$p の`使用~値$に対し,この百分率が成す分になる。
3433+
3434+
The preferred line height is this percentage of the element’s used font-size.\
3435+
</dd>
3436+
<dd>
3437+
~propの`算出d値$は、
3438+
当の要素の `font-size$p の`算出d値$に対し,この百分率が成す分になる。
3439+
3440+
The computed value of the property is this percentage of the element’s computed font-size.
3441+
3442+
</dd>
3443+
<dd>
34243444
負な値は違法。
34253445
3426-
The preferred line height and computed value of the property is this percentage of the element’s computed font-size. Negative values are illegal.
3446+
Negative values are illegal.
34273447
</dd>
34283448
</dl>
34293449

css-text-decor-ja.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@
222222
●●options
223223

224224
spec_title:CSS Text Decoration Module Level 4
225-
spec_date:2026-03-04
226-
trans_update:2026-03-06
225+
spec_date:2026-04-20
226+
trans_update:2026-05-10
227227
source_checked:251111
228228
page_state_key:CSS
229229
original_url:https://drafts.csswg.org/css-text-decor-4/
@@ -561,6 +561,7 @@
561561
自動で隠される:~CSSRUBY#auto-hidden
562562

563563
算出d値:~CASCADE#computed-value
564+
使用~値:~CASCADE#used-value
564565
実際の値:~CASCADE#actual-value
565566
下位prop:~CASCADE#longhand
566567
略式~prop:~CASCADE#shorthand-property
@@ -2125,9 +2126,9 @@ <h3 title="Text Decoration Line Thickness: the text-decoration-thickness propert
21252126
</dd>
21262127
<dd>
21272128
百分率~値は、
2128-
~text装飾~線の太さを `1em^v の百分率として指定する
2129+
~text装飾~線の太さを `font-size$p の`使用~値$に対する百分率として指定する
21292130
2130-
A percentage value specifies the thickness of text decoration lines as a percentage of 1em.
2131+
A percentage value specifies the thickness of text decoration lines as a percentage of the used font-size.
21312132
</dd>
21322133
<dd class="note">注記:
21332134
百分率は,相対~値として継承されるので、
@@ -2466,7 +2467,7 @@ <h3 title="Text Underline Position: the text-underline-position property">2.7. ~
24662467
◎適 すべての要素
24672468
◎継 される
24682469
◎百 受容しない
2469-
◎算 `算出d色$
2470+
◎算 指定された~keyword(たち)
24702471
◎順 文法に従う
24712472
◎ア 離散的
24722473
◎表終
@@ -2771,7 +2772,7 @@ <h3 title="Text Underline Offset: the text-underline-offset property">2.8. ~text
27712772
次に該当する場合は 0 にするモノトスル
27722773
27732774
2774-
`text-underline-position$p の算出d値は `from-font$v1
2775+
`text-underline-position$p の`算出d値$は `from-font$v1
27752776
]~AND[
27762777
~UAは,利用する適切な計量を~fontから抽出-可能である
27772778
@@ -2794,9 +2795,9 @@ <h3 title="Text Underline Offset: the text-underline-offset property">2.8. ~text
27942795
</dd>
27952796
<dd>
27962797
百分率~値は、
2797-
下線の~offsetを `1em^v の百分率として指定する
2798+
下線の~offsetを `font-size$p の`使用~値$に対する百分率として指定する
27982799
2799-
A percentage value specifies the offset of underlines as a percentage of 1em.
2800+
A percentage value specifies the offset of underlines as a percentage of the used font-size.
28002801
</dd>
28012802
<dd class="note">注記:
28022803
百分率は,相対~値として継承されるので、

0 commit comments

Comments
 (0)