Skip to content

Commit

Permalink
fix #591 (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus authored Jan 9, 2019
1 parent 9562c11 commit 52c81cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 108 deletions.
1 change: 1 addition & 0 deletions master/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ <h2 id="status">Status of This Document</h2>
<li><a>'unknown'</a> elements and the <a>SVGUnknownElement</a> interface.</li>
<li><a>'vector-effect'</a> options other than <span class="prop-value">non-scaling-stroke</span></li>
<li><a>'stroke-linejoin'</a> options <span class="prop-value">miter-clip</span> and <span class="prop-value">arcs</span></li>
<li>the <a>'shape-inside'</a> and <a>'shape-subtract'</a> properties</li>
</ul>

<!--
Expand Down
1 change: 1 addition & 0 deletions master/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ <h3 id="types">Basic Data Types and Interfaces chapter</h3>
<ul>
<li>Clarify possible UA behavior on getTotalLength, getPointAtLength, getBBox, getCTM, getScreenCTM, isPointInFill
and isPointInStroke if the current element is a <a>non-rendered element</a>.</li>
<li>Removed the text-decoration-fill and text-decoration-stroke properties.</li>
</ul>
</div>

Expand Down
112 changes: 4 additions & 108 deletions master/text.html
Original file line number Diff line number Diff line change
Expand Up @@ -5963,21 +5963,12 @@ <h2 id="TextDecorationProperties">Text decoration</h2>
<a href="https://www.w3.org/TR/css-text-decor-3/">CSS Text
Decoration Module Level 3</a>
[(<a href="refs.html#ref-css-text-decor-3">css-text-decor-3</a>)]
specification. The fill and stroke of the decoration are given by
the <a>'text-decoration-fill'</a> and
<a>'text-decoration-stroke'</a> properties. If a color value is
specified either by the <a>'text-decoration-color'</a> property or
by the <a>'text-decoration'</a> shorthand, and no
<a>'text-decoration-fill'</a> property is specified, it is
interpreted as if the <a>'text-decoration-fill'</a> property were
specified with that color value.
specification.
</p>

<p>
If the fill or stroke of the text decoration are not explicitly
specified (via <a>'text-decoration'</a>, <a>'text-decoration-color'</a>,
<a>'text-decoration-fill'</a>, or <a>'text-decoration-stroke'</a>),
they are given by the fill and stroke of the text at the point
The fill and stroke of the text decoration are
given by the fill and stroke of the text at the point
where the text decoration is declared (see example below).
</p>

Expand All @@ -5986,10 +5977,7 @@ <h2 id="TextDecorationProperties">Text decoration</h2>
<a>'text-decoration-style'</a> properties are new in SVG 2. The
SVG 1.1/CSS 2.1 <a>'text-decoration'</a> property is transformed
in a backwards compatible way to a short hand for these
properties. <a>'text-decoration-fill'</a> and
<a>'text-decoration-stroke'</a> are SVG specific properties which
may be added to a future level of the CSS Text Decoration
specification.
properties.
</p>

<p>
Expand Down Expand Up @@ -6030,98 +6018,6 @@ <h2 id="TextDecorationProperties">Text decoration</h2>

<edit:example href='images/text/textdecoration01.svg' name='textdecoration01' description="behavior of 'text-decoration' property" image='yes' link='yes'/>

<h3 id="TextDecorationFillStroke">The <span class="property">'text-decoration-fill'</span>
and <span class="property">'text-decoration-stroke'</span> properties</h3>

<p class="annotation">
The CSS working group agreed to the SVG specification of the
'text-decoration-fill' and 'text-decoration-stroke' properties at
the joint CSS/SVG 2014 TPAC meeting. They again endorsed the use
of these properties at the joint 2015 Sydney meeting. They
expressed their intention to extend CSS text decoration to include
these properties at the same time they allow 'fill' and 'stroke'
properties on text.
</p>

<table class="propdef def">
<tr>
<th>Name:</th>
<td><dfn id="TextDecorationFillProperty" data-dfn-type="property" data-export="">text-decoration-fill</dfn></td>
</tr>
<tr>
<th>Value:</th>
<td><a>&lt;paint&gt;</a></td>
</tr>
<tr>
<th>Initial:</th>
<td>See prose.</td>
</tr>
<tr>
<th>Applies to:</th>
<td><a>text content elements</a></td>
</tr>
<tr>
<th>Inherited:</th>
<td>See prose.</td>
</tr>
<tr>
<th>Percentages:</th>
<td>N/A</td>
</tr>
<tr>
<th>Media:</th>
<td>visual</td>
</tr>
<tr>
<th>Computed value:</th>
<td>as specified, but with <a>&lt;color&gt;</a> values computed and
<a>&lt;url&gt;</a> values made absolute.</td>
</tr>
<tr>
<th><a>Animation type</a>:</th>
<td>by computed value</td>
</tr>
</table>

<table class="propdef def">
<tr>
<th>Name:</th>
<td><dfn id="TextDecorationStrokeProperty" data-dfn-type="property" data-export="">text-decoration-stroke</dfn></td>
</tr>
<tr>
<th>Value:</th>
<td><a>&lt;paint&gt;</a></td>
</tr>
<tr>
<th>Initial:</th>
<td>See prose.</td>
</tr>
<tr>
<th>Applies to:</th>
<td><a>text content elements</a></td>
</tr>
<tr>
<th>Inherited:</th>
<td>See prose.</td>
</tr>
<tr>
<th>Percentages:</th>
<td>N/A</td>
</tr>
<tr>
<th>Media:</th>
<td>visual</td>
</tr>
<tr>
<th>Computed value:</th>
<td>as specified, but with <a>&lt;color&gt;</a> values computed and
<a>&lt;url&gt;</a> values made absolute.</td>
</tr>
<tr>
<th><a>Animation type</a>:</th>
<td>by computed value</td>
</tr>
</table>

<h2 id="TextSelection">Text selection and clipboard operations</h2>

Expand Down

0 comments on commit 52c81cc

Please sign in to comment.