Skip to content

Commit c9ddc66

Browse files
committed
[css-text-decor-3] Clarify that text decorations are all ink overflow. #3272
1 parent ec4a3c6 commit c9ddc66

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

css-text-decor-3/Overview.bs

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ Text Shadows: the 'text-shadow' property</h2>
945945
<p>Unlike 'box-shadow', text shadows are not clipped to the shadowed
946946
shape and may show through if the text is partially-transparent.
947947
Like 'box-shadow', text shadows do not influence layout, and do not
948-
trigger scrolling or increase the size of the scrollable area.
948+
trigger scrolling or increase the size of the <a>scrollable overflow region</a>.
949949

950950
<p class="note">The painting order of shadows defined here is the opposite
951951
of that defined in the 1998
@@ -955,8 +955,11 @@ Text Shadows: the 'text-shadow' property</h2>
955955
<code>::first-line</code> and <code>::first-letter</code>
956956
pseudo-elements.</p>
957957

958-
<h2 id="painting-order">
959-
Painting Order of Text Decorations</h2>
958+
<h2 id="painting">
959+
Painting Text Decorations</h2>
960+
961+
<h3 id="painting-order">
962+
Painting Order of Text Decorations</h3>
960963

961964
<p>
962965
As in [[!CSS2]], text decorations are drawn immediately over/under the text they decorate,
@@ -975,6 +978,15 @@ Painting Order of Text Decorations</h2>
975978
they are drawn over non-positioned content and just below any positioned descendants
976979
(immediately below layer #8 in CSS2.1 Appendix E).
977980

981+
<h3 id="overflow">
982+
Overflow of Text Decorations</h3>
983+
984+
<p>
985+
Text decorations that leak outside a <a>box</a>
986+
are considered <a>ink overflow</a>:
987+
they do not extend the <a>scrollable overflow region</a>.
988+
[[css-overflow-3]]
989+
978990
<h2 class="no-num" id="acknowledgements">
979991
Appendix A: Acknowledgements</h2>
980992

@@ -1061,6 +1073,15 @@ Appendix B: Default UA Stylesheet</h2>
10611073
<h2 class="no-num" id="changes">Appendix C:
10621074
Changes</h2>
10631075

1076+
<h3 class="no-num" id="recent-changes">
1077+
Changes since the <a href="https://www.w3.org/TR/2018/CR-css-text-decor-3-20180703/">July 2018 Candidate Recommendation</a></h3>
1078+
1079+
<p>Significant changes include:</p>
1080+
<ul>
1081+
<li>Clarified that text decoration overflow is <a>ink overflow</a>.
1082+
(<a href="https://github.com/w3c/csswg-drafts/issues/3272">Issue 3272</a>)
1083+
</ul>
1084+
10641085
<h3 class="no-num" id="recent-changes">
10651086
Changes since the <a href="https://www.w3.org/TR/2013/CR-css-text-decor-3-20130801/">August 2013 Candidate Recommendation</a></h3>
10661087

0 commit comments

Comments
 (0)