Skip to content

Commit f746fa5

Browse files
committed
[css-ui-4] text-overflow and anonymous blocks
Closes #2595
1 parent 0c1fc38 commit f746fa5

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

css-ui-4/Overview.bs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,17 @@ in the inline progression direction of its block container element ("the block")
727727
that has 'overflow'
728728
other than ''visible''.
729729

730+
Even though this property is not inherited,
731+
annonymous block container boxes generated to
732+
establish the line box's <a>inline formatting context</a> (see [[CSS-DISPLAY-3#block-container]])
733+
are ignored,
734+
and the value of the property that applies is the one
735+
on the non annomymous box.
736+
<span class=note>This can be seen in the “nested paragraph” part of <a href="#example-44082941">example 7</a>:
737+
even though the word “NESTED” is wrapped in an annoymous block container
738+
whose 'text-overflow' property has the intial value,
739+
it is ellipsed.</span>
740+
730741
Text can overflow for example when it is prevented from wrapping
731742
(e.g. due to <code class="lang-css">white-space: nowrap</code>
732743
or a single word is too long to fit).

css-ui-4/issues-fpwd-2015.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ <h1>CSS Basic User Interface Module Level 4 Disposition of Comments for 2015-09-
129129
Comment: <a href='https://github.com/w3c/csswg-drafts/issues/1815'>https://github.com/w3c/csswg-drafts/issues/1815</a>
130130
Response: <a href='https://github.com/w3c/csswg-drafts/issues/1815#issuecomment-329681869'>https://github.com/w3c/csswg-drafts/issues/1815#issuecomment-329681869</a>
131131
Open</pre>
132+
<pre class='a' id='issue-13'>
133+
Issue 13. <a href='#issue-13'>#</a>
134+
Summary: Clarify effect of annonymous block container boxes on text-overflow
135+
From: Oriol Brufau
136+
Comment: <a href='https://github.com/w3c/csswg-drafts/issues/2595'>https://github.com/w3c/csswg-drafts/issues/2595</a>
137+
Response: <a href='https://github.com/w3c/csswg-drafts/issues/2595#issuecomment-386153703'>https://github.com/w3c/csswg-drafts/issues/2595#issuecomment-386153703</a>
138+
Closed: Accepted
139+
Resolved: <a href='https://github.com/w3c/csswg-drafts/issues/2595#issuecomment-386153703'>https://github.com/w3c/csswg-drafts/issues/2595#issuecomment-386153703</a></pre>
132140
<script>
133141
(function () {
134142
var sheet = document.styleSheets[0];

css-ui-4/issues-fpwd-2015.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,11 @@ From: Yoichi Osato
105105
Comment: https://github.com/w3c/csswg-drafts/issues/1815
106106
Response: https://github.com/w3c/csswg-drafts/issues/1815#issuecomment-329681869
107107
Open
108+
----
109+
Issue 13.
110+
Summary: Clarify effect of annonymous block container boxes on text-overflow
111+
From: Oriol Brufau
112+
Comment: https://github.com/w3c/csswg-drafts/issues/2595
113+
Response: https://github.com/w3c/csswg-drafts/issues/2595#issuecomment-386153703
114+
Closed: Accepted
115+
Resolved: https://github.com/w3c/csswg-drafts/issues/2595#issuecomment-386153703

0 commit comments

Comments
 (0)