Skip to content

Commit c7a24c1

Browse files
committed
More pictures! Add illustration for text-decoration-skip: ink and make pictures match colors.
--HG-- extra : rebase_source : c076085927b9e31fd7bb7d720726e5036637dc8f
1 parent 615d644 commit c7a24c1

14 files changed

+25
-7
lines changed

css-counter-styles-3/Overview.html

100755100644
File mode changed.

css-counter-styles-3/Overview.src.html

100755100644
File mode changed.

css-counter-styles-3/images/black.svg

100755100644
File mode changed.

css-counter-styles-3/images/white.svg

100755100644
File mode changed.

css-text-decor-3/Overview.html

+12-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
rel=dcterms.rights>
1111
<meta content="CSS Text Decoration Module Level 3" name=dcterms.title>
1212
<meta content=text name=dcterms.type>
13-
<meta content=2013-02-22 name=dcterms.issued>
13+
<meta content=2013-03-01 name=dcterms.issued>
1414
<meta content="Elika J. Etemad" name=dcterms.creator>
1515
<meta content="Koji Ishii" name=dcterms.creator>
1616
<meta content=W3C name=dcterms.publisher>
@@ -29,13 +29,12 @@
2929

3030
<h1>CSS Text Decoration Module Level 3</h1>
3131

32-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 22 February
33-
2013</h2>
32+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 1 March 2013</h2>
3433

3534
<dl>
3635
<dt>This version:</dt>
3736
<!--
38-
<dd><a href="http://www.w3.org/TR/2013/WD-css-text-decor-3-20130222/">http://www.w3.org/TR/2013/WD-css-text-decor-3-20130222/</a></dd>
37+
<dd><a href="http://www.w3.org/TR/2013/WD-css-text-decor-3-20130301/">http://www.w3.org/TR/2013/WD-css-text-decor-3-20130301/</a></dd>
3938
-->
4039

4140
<dd><a
@@ -805,6 +804,13 @@ <h3 id=text-decoration-skip-property><span class=secno>2.5. </span> Text
805804
text show through where the text decoration would otherwise cross over a
806805
glyph. The UA may also skip a small distance to either side of the glyph
807806
outline.
807+
<div class=figure>
808+
<p><img
809+
alt="An alphabetic underline through Myanmar text skips around descenders and the vertical strokes of combining characters that drop below the alphabetic baseline."
810+
src=decoration-skip-ink.png title="text-decoration-skip: ink">
811+
812+
<p class=caption><code class=css>text-decoration-skip: ink</code>
813+
</div>
808814

809815
<dt><dfn id=edges title="text-decoration-skip:edges"><code
810816
class=css>edges</code></dfn>
@@ -820,7 +826,8 @@ <h3 id=text-decoration-skip-property><span class=secno>2.5. </span> Text
820826
class=css>box-decoration</code></dfn>
821827

822828
<dd> Skip over the box's margin, border, and padding areas. Note that this
823-
only has an effect on decorations imposed by an ancestor.
829+
only has an effect on decorations imposed by an ancestor; a <i>decorating
830+
element</i> never draws over its own box decoration.
824831
</dl>
825832

826833
<p class=note>Note that this property inherits and that descendant elements

css-text-decor-3/Overview.src.html

+10-2
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,14 @@ <h3 id="text-decoration-skip-property">
495495
<dd>Skip over where glyphs are drawn: interrupt the decoration
496496
line to let text show through where the text decoration would
497497
otherwise cross over a glyph. The UA may also skip a small
498-
distance to either side of the glyph outline.</dd>
498+
distance to either side of the glyph outline.
499+
<div class="figure">
500+
<p><img title="text-decoration-skip: ink"
501+
alt="An alphabetic underline through Myanmar text skips around descenders and the vertical strokes of combining characters that drop below the alphabetic baseline."
502+
src="decoration-skip-ink.png"
503+
>
504+
<p class="caption">''text-decoration-skip: ink''</p>
505+
</div>
499506
<dt><dfn title="text-decoration-skip:edges">''edges''</dfn></dt>
500507
<dd>The UA should place the start and end of the line inwards from
501508
the content edge of the <i>decorating element</i> so that, e.g. two
@@ -505,7 +512,8 @@ <h3 id="text-decoration-skip-property">
505512
<dt><dfn title="text-decoration-skip:box-decoration">''box-decoration''</dfn>
506513
<dd>
507514
Skip over the box's margin, border, and padding areas.
508-
Note that this only has an effect on decorations imposed by an ancestor.
515+
Note that this only has an effect on decorations imposed by an ancestor;
516+
a <i>decorating element</i> never draws over its own box decoration.
509517
</dl>
510518

511519
<p class="note">Note that this property inherits and that descendant
4.95 KB
Loading
0 Bytes
Loading
9 Bytes
Loading
-228 Bytes
Loading
-318 Bytes
Loading
-310 Bytes
Loading
-575 Bytes
Loading

default.css

+3
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ div.figure pre, div.sidefigure pre, figure pre {
230230
display: table;
231231
margin: 1em auto;
232232
}
233+
.figure table, figure table {
234+
margin: auto;
235+
}
233236
div.sidefigure, figure.sidefigure {
234237
float: right;
235238
width: 50%;

0 commit comments

Comments
 (0)