Skip to content

Commit 3c6a1e0

Browse files
[css-overfow-4] Run white-space proc. phase 2 before ellipsis insertion w3c/csswg-drafts@a630edf
1 parent ab2d88d commit 3c6a1e0

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

css-overflow4-ja.html

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@
209209
●●options
210210

211211
spec_title:CSS Overflow Module Level 4
212-
spec_date:2025-09-23
213-
trans_update:2025-09-28
212+
spec_date:2025-09-28
213+
trans_update:2025-09-30
214214
source_checked:240219
215215
page_state_key:CSS
216216
original_url:https://drafts.csswg.org/css-overflow-4/
@@ -664,6 +664,8 @@
664664
隠した:hideした::~
665665
隠れる:hideする::~
666666
過多:excess:~
667+
削り:trimming:~
668+
667669
配送-:dispatching
668670
委ねられる:up to
669671
高さ(塊~size):height
@@ -776,7 +778,7 @@
776778
直前に:immediately preceding
777779
-:place
778780
たかのように:exactly as if
779-
減らして:reducing
781+
減らし:reducing
780782
一様でない:Varying-
781783
:underneath
782784
頭部にある:lead
@@ -2184,29 +2186,32 @@ <h3 title="Indicating Block-Axis Overflow: the block-ellipsis property">4.2. 塊
21842186
当の`塊~容器$の`根~行内~box$の直な子
21852187
]として配置される
21862188
2187-
— 行l~box内の他の内容に可用な空間は減らした上で。
2188-
%~box は、
2189-
その[
2189+
— それに伴い,当の行l~boxを成す他の内容に可用な空間は減らされる。
2190+
%~box は、[
21902191
`unicode-bidi:plaintext$p,
21912192
`line-height:0$p
2192-
をアテガった上で
2193+
がアテガわれた上で
21932194
行l~box内の`自動折返し機会$( `CSS-TEXT-3$r を見よ)のうち[
21942195
%省略符 全体が当の行lに収まることになるもの
21952196
]のうち[
21962197
最後のもの
2197-
]の直後に配置される。
2198+
]の直後に配置される
2199+
— %省略符 を挿入する前に【したがって,収まるか否か決定するに先立って】
2200+
`CSS-TEXT-4$r `§ 空白~処理~規則@~CSSTEXT#white-space-rules$ を その一部を成す `§ 空白の削りと位置決め@~CSSTEXT#white-space-phase-2$ も含めて適用した上で。
21982201
この目的においては、
2199-
`overflow-wrap$p により追加される`自動折返し機会$は無視される
2202+
`overflow-wrap$p により追加される`自動折返し機会$は,無視される
22002203
— `text-wrap-mode:nowrap$p により妨げられるそれと同じく。
2201-
その結果,当の行l~boxの内容~全体が %省略符 にすり替えられた場合、
2204+
その結果,当の行l~boxを成す内容~全体が %省略符 にすり替えられた場合、
22022205
行l~boxは[
22032206
`CSS2$r に定義される`支柱$【!§ visudet#leading】
2204-
]を包含するものと見なされる。
2205-
配置した後には、
2206-
~textの`整列と両端揃え@~CSSTEXT#justification$が生じ,
2207-
挿入された %省略符 と 行lの残りの内容とを一緒に測定する。
2208-
2209-
When block-ellipsis is neither no-ellipsis nor the empty string, the block overflow ellipsis string is wrapped in an anonymous inline and placed at the end of the line box as a direct child of the block container’s root inline box, reducing the space in the line box available to the other contents of the line. This inline is assigned unicode-bidi: plaintext and line-height: 0 and is placed in the line box after the last soft wrap opportunity (see [CSS-TEXT-3]) that would still allow the entire block overflow ellipsis to fit on the line. For this purpose, soft wrap opportunities added by overflow-wrap are ignored, as are those inhibited by text-wrap-mode: nowrap. If this results in the entire contents of the line box being displaced, the line box is considered to contain a strut, as defined in CSS 2 § 10.8.1 Leading and half-leading. Text alignment and justification occurs after placement, and measures the inserted block overflow ellipsis together with the rest of the line’s content.
2207+
]を包含するものと見なされる
2208+
【言い換えれば、 %~box にアテガわれた `line-height:0^p は無視される】。
2209+
~textの`整列と両端揃え@~CSSTEXT#justification$は、
2210+
%~box が配置された後に生じ,[
2211+
挿入された %省略符, 当の行lを成す残りの内容
2212+
]を一緒に測定する。
2213+
2214+
When block-ellipsis is neither no-ellipsis nor the empty string, the block overflow ellipsis string is wrapped in an anonymous inline and placed at the end of the line box as a direct child of the block container’s root inline box, reducing the space in the line box available to the other contents of the line. This inline is assigned unicode-bidi: plaintext and line-height: 0 and is placed in the line box after the last soft wrap opportunity (see [CSS-TEXT-3]) that would still allow the entire block overflow ellipsis to fit on the line, applying CSS Text 4 § 4.3 The White Space Processing Rules including CSS Text 4 § 4.3.2 Phase II: Trimming and Positioning before inserting the block overflow ellipsis. For this purpose, soft wrap opportunities added by overflow-wrap are ignored, as are those inhibited by text-wrap-mode: nowrap. If this results in the entire contents of the line box being displaced, the line box is considered to contain a strut, as defined in CSS 2 § 10.8.1 Leading and half-leading. Text alignment and justification occurs after placement, and measures the inserted block overflow ellipsis together with the rest of the line’s content.
22102215
</p>
22112216

22122217
<p class="note">注記:

0 commit comments

Comments
 (0)