Skip to content

Commit 7575714

Browse files
dbaronsvgeesus
authored andcommitted
Simplify source by promoting dfn-type to dl (with no change to generated output).
1 parent 292d06c commit 7575714

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

css-masking-1/Overview.src.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ <h3 id="the-clip-path">Clipping Shape: the 'clip-path' property</h3>
177177
<pre class=prod><dfn>&lt;clip-source></dfn> = <<url>></pre>
178178
<pre class=prod><dfn>&lt;geometry-box></dfn> = <<shape-box>> | fill-box | stroke-box | view-box</pre>
179179

180-
<dl dfn-for="clip-path">
180+
<dl dfn-type="value" dfn-for="clip-path">
181181
<dt><<basic-shape>></dt>
182182
<dd>
183183
A basic shape function as defined in the CSS Shapes module [[!CSS-SHAPES]]. A basic shape makes use of the specified reference box to size and position the basic shape. If no reference box is specified, the <a value for=mask-clip>border-box</a> will be used as reference box.
@@ -187,15 +187,15 @@ <h3 id="the-clip-path">Clipping Shape: the 'clip-path' property</h3>
187187
<p>If specified in combination with a <<basic-shape>> it provides the reference box for the <<basic-shape>>.</p>
188188
<p>If specified by itself, uses the edges of the specified box, including any corner shaping (e.g. defined by 'border-radius' [[!CSS3BG]]), as clipping path. See also <a href="https://www.w3.org/TR/css-shapes/#shapes-from-box-values">“Shapes from box values”</a> [[!CSS-SHAPES]].</p>
189189
</dd>
190-
<dt><dfn dfn-type=value>fill-box</dfn></dt>
190+
<dt><dfn>fill-box</dfn></dt>
191191
<dd>
192192
Uses the <a>object bounding box</a> as reference box.
193193
</dd>
194-
<dt><dfn dfn-type=value>stroke-box</dfn></dt>
194+
<dt><dfn>stroke-box</dfn></dt>
195195
<dd>
196196
Uses the <i>stroke bounding box</i> as reference box.
197197
</dd>
198-
<dt><dfn dfn-type=value>view-box</dfn></dt>
198+
<dt><dfn>view-box</dfn></dt>
199199
<dd>
200200
<p>Uses the nearest <a href="https://www.w3.org/TR/SVG11/intro.html#TermSVGViewport">SVG viewport</a> as reference box.</p>
201201
<p>If a <a>'viewBox'</a> attribute is specified for the <a href="https://www.w3.org/TR/SVG11/intro.html#TermSVGViewport">SVG viewport</a> creating element:
@@ -305,10 +305,10 @@ <h3 id="the-clip-rule">Winding Rules: the 'clip-rule' property</h3>
305305

306306
The 'clip-rule' property indicates the algorithm which is to be used to determine whether a given point is inside a shape for a <i>clipping region</i> created with a <a>graphics element</a>. The definition of the algorithms and the 'clip-rule' values follows the definition of the 'fill-rule' property. See section <a href="https://www.w3.org/TR/2011/REC-SVG11-20110816/painting.html#FillProperties">“Fill Properties”</a> in SVG 1.1 [[!SVG11]].
307307

308-
<dl dfn-for=clip-rule>
309-
<dt><dfn dfn-type=value>nonzero</dfn></dt>
308+
<dl dfn-type=value dfn-for=clip-rule>
309+
<dt><dfn>nonzero</dfn></dt>
310310
<dd>See description of 'fill-rule' property [[!SVG11]].</dd>
311-
<dt><dfn dfn-type=value>evenodd</dfn></dt>
311+
<dt><dfn>evenodd</dfn></dt>
312312
<dd>See description of 'fill-rule' property [[!SVG11]].</dd>
313313
</dl>
314314

0 commit comments

Comments
 (0)