Skip to content

Commit ed30123

Browse files
committed
[css-overflow-3] Add more description to definition of ink overflow. I don't think we should fully define it here; I think individual effects should say what kind of overflow they create if it's not obvious.
1 parent c87d03c commit ed30123

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

css-overflow-3/Overview.bs

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Types of overflow</h2>
9292
''transform-style: preserve-3d'' must also be examined.
9393

9494
There are three different types of overflow,
95-
which are handled differently by the CSS UA:
95+
which are used for different purposes by the UA:
9696

9797
<ul>
9898
<li><a>ink overflow</a>
@@ -106,15 +106,23 @@ Types of overflow</h2>
106106
is the part of that box and its contents that
107107
creates a visual effect outside of
108108
the box's border box.
109+
Ink overflow is the overflow of painting effects defined to not affect layout
110+
or otherwise extend the <a>scrollable overflow region</a>,
111+
such as <a href="http://www.w3.org/TR/css-backgrounds/#box-shadow">box shadows</a>,
112+
<a href="">border images</a>,
113+
<a href="https://www.w3.org/TR/css-text-decor-3/">text decoration</a>,
114+
overhanging glyphs (with negative side bearings,
115+
or with ascenders/descenders extending outside the em box),
116+
<a href="https://www.w3.org/TR/CSS2/ui.html#dynamic-outlines">outlines</a>,
117+
etc.
118+
119+
Issue: What about 'hanging-punctuation'?
109120

110121
Since some effects in CSS (for example, the blurs in
111122
'text-shadow' [[CSS3TEXT]] and 'box-shadow' [[CSS3BG]])
112123
do not define what visual extent they cover, the extent
113124
of the <a>ink overflow</a> is undefined.
114125

115-
<p class="issue">
116-
Should we try to define it at all and just leave pieces undefined?
117-
118126
The <dfn>ink overflow region</dfn> is the non-rectangular area
119127
occupied by the <a>ink overflow</a>, and the
120128
<dfn>ink overflow rectangle</dfn> is

0 commit comments

Comments
 (0)