Skip to content

Commit 8f166f8

Browse files
dirkschulzesvgeesus
authored andcommitted
Address Cameron's feedback - part 2
1 parent f6e6cfc commit 8f166f8

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

css-masking-1/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ <h2 id="clipping-paths">Clipping Paths</h2>
131131

132132
If the clipping region exceeds the bounds of the UA's document window, content may be clipped to that window by the native operating environment.
133133

134-
A clipping path affects the rendering of an element. It does not affects the element's inherent geometry. The boundaries of a clipped element (i.e. an element which references a <a element>clipPath</a> element via a 'clip-path' property, or a child of the referencing element) must remain the same as if it were not clipped.
134+
A clipping path affects the rendering of an element. It does not affect the element's inherent geometry. The geometry of a clipped element (i.e. an element which references a <a element>clipPath</a> element via a 'clip-path' property, or a child of the referencing element) must remain the same as if it were not clipped.
135135

136136
<div class=example>
137137
<p>Consider a shape that is clipped by a clipping path applied to an ancestor:</p>
@@ -156,7 +156,7 @@ <h3 id="the-clip-path">Clipping Shape: the 'clip-path' property</h3>
156156
Percentages: as specified
157157
Computed value: as specified, but with <<url>> values made absolute
158158
Media: visual
159-
Animatable: See 'shape-outside' [[!CSS-SHAPES]]
159+
Animatable: as specified for <<basic-shape>> [[!CSS-SHAPES]], otherwise no
160160
</pre>
161161

162162
Specifies a basic shape or references a <a element>clipPath</a> element to create a <i>clipping path</i>.
@@ -204,7 +204,7 @@ <h3 id="the-clip-path">Clipping Shape: the 'clip-path' property</h3>
204204

205205

206206

207-
A computed value of other than ''none'' results in the creation of a <a spec="css21">stacking context</a> [[!CSS21]] the same way that CSS 'opacity' [[CSS3COLOR]] does.
207+
A computed value of other than ''none'' results in the creation of a <a spec="css21">stacking context</a> [[!CSS21]] the same way that CSS 'opacity' [[CSS3COLOR]] does for values other than ''1''.
208208

209209
If the URI reference is not valid (e.g it points to an object that doesn't exist or the object is not a <a element>clipPath</a> element), no clipping is applied.
210210

css-masking-1/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</p>
2525
<h1 class="p-name no-ref" id=title>CSS Masking Module Level 1</h1>
2626
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
27-
<span class=dt-updated><span class=value-title title=20140325>25 March 2014</span></span></span></h2>
27+
<span class=dt-updated><span class=value-title title=20140410>10 April 2014</span></span></span></h2>
2828
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/fxtf/css-masking-1/>http://dev.w3.org/fxtf/css-masking-1/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-masking-1/>http://www.w3.org/TR/css-masking-1/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/fxtf/css-masking-1/>http://dev.w3.org/fxtf/css-masking-1/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2013/WD-css-masking-20130620/ rel=previous>http://www.w3.org/TR/2013/WD-css-masking-20130620/</a><dd><a href=http://www.w3.org/TR/2012/WD-css-masking-20121115/ rel=previous>http://www.w3.org/TR/2012/WD-css-masking-20121115/</a>
2929
<dt>Feedback:</dt>
3030
<dd><a href="mailto:public-fx@w3.org?subject=%5Bcss-masking%5D%20feedback">public-fx@w3.org</a>
@@ -195,7 +195,7 @@ <h2 class="heading settled heading" data-level=5 id=clipping-paths><span class=s
195195

196196
<p>If the clipping region exceeds the bounds of the UA’s document window, content may be clipped to that window by the native operating environment.
197197

198-
<p>A clipping path affects the rendering of an element. It does not affects the element’s inherent geometry. The boundaries of a clipped element (i.e. an element which references a <a data-link-type=element href=#elementdef-clippath title=clippath>clipPath</a> element via a <a class=property data-link-type=propdesc href=#propdef-clip-path title=clip-path>clip-path</a> property, or a child of the referencing element) must remain the same as if it were not clipped.
198+
<p>A clipping path affects the rendering of an element. It does not affect the element’s inherent geometry. The geometry of a clipped element (i.e. an element which references a <a data-link-type=element href=#elementdef-clippath title=clippath>clipPath</a> element via a <a class=property data-link-type=propdesc href=#propdef-clip-path title=clip-path>clip-path</a> property, or a child of the referencing element) must remain the same as if it were not clipped.
199199

200200
<div class=example>
201201
<p>Consider a shape that is clipped by a clipping path applied to an ancestor:</p>
@@ -209,7 +209,7 @@ <h2 class="heading settled heading" data-level=5 id=clipping-paths><span class=s
209209

210210
<h3 class="heading settled heading" data-level=5.1 id=the-clip-path><span class=secno>5.1 </span><span class=content>Clipping Shape: the <a class=property data-link-type=propdesc href=#propdef-clip-path title=clip-path>clip-path</a> property</span><a class=self-link href=#the-clip-path></a></h3>
211211

212-
<table class="definition propdef"><tr><th>Name:<td><dfn class=css-code data-dfn-type=property data-export="" id=propdef-clip-path>clip-path<a class=self-link href=#propdef-clip-path></a></dfn><tr><th>Value:<td class=prod><a class="production css-code" data-link-type=type href=#typedef-clip-source title="<clip-source>">&lt;clip-source&gt;</a> | [ <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-shapes-2/#ltbasic-shapegt title="<basic-shape>">&lt;basic-shape&gt;</a> || <a class="production css-code" data-link-type=type href=#typedef-geometry-box title="<geometry-box>">&lt;geometry-box&gt;</a> ] | none<tr><th>Initial:<td>none<tr><th>Applies to:<td>All elements. In SVG, it applies to <a href=http://www.w3.org/TR/2011/REC-SVG11-20110816/intro.html#TermContainerElement>container elements</a> excluding the <a href=http://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#DefsElement><code class=element-name>&lt;defs&gt;</code></a> element and all <a href=http://www.w3.org/TR/2011/REC-SVG11-20110816/intro.html#TermGraphicsElement>graphics elements</a><tr><th>Inherited:<td>no<tr><th>Media:<td>visual<tr><th>Computed value:<td>as specified, but with <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#url-value title="<url>">&lt;url&gt;</a> values made absolute<tr><th>Percentages:<td>as specified<tr><th>Animatable:<td>See <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-shapes-1/#propdef-shape-outside title=shape-outside>shape-outside</a> <a data-biblio-type=normative data-link-type=biblio href=#css-shapes title=css-shapes>[CSS-SHAPES]</a></table>
212+
<table class="definition propdef"><tr><th>Name:<td><dfn class=css-code data-dfn-type=property data-export="" id=propdef-clip-path>clip-path<a class=self-link href=#propdef-clip-path></a></dfn><tr><th>Value:<td class=prod><a class="production css-code" data-link-type=type href=#typedef-clip-source title="<clip-source>">&lt;clip-source&gt;</a> | [ <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-shapes-2/#ltbasic-shapegt title="<basic-shape>">&lt;basic-shape&gt;</a> || <a class="production css-code" data-link-type=type href=#typedef-geometry-box title="<geometry-box>">&lt;geometry-box&gt;</a> ] | none<tr><th>Initial:<td>none<tr><th>Applies to:<td>All elements. In SVG, it applies to <a href=http://www.w3.org/TR/2011/REC-SVG11-20110816/intro.html#TermContainerElement>container elements</a> excluding the <a href=http://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#DefsElement><code class=element-name>&lt;defs&gt;</code></a> element and all <a href=http://www.w3.org/TR/2011/REC-SVG11-20110816/intro.html#TermGraphicsElement>graphics elements</a><tr><th>Inherited:<td>no<tr><th>Media:<td>visual<tr><th>Computed value:<td>as specified, but with <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#url-value title="<url>">&lt;url&gt;</a> values made absolute<tr><th>Percentages:<td>as specified<tr><th>Animatable:<td>as specified for <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-shapes-2/#ltbasic-shapegt title="<basic-shape>">&lt;basic-shape&gt;</a> <a data-biblio-type=normative data-link-type=biblio href=#css-shapes title=css-shapes>[CSS-SHAPES]</a>, otherwise no</table>
213213
<p>Specifies a basic shape or references a <a data-link-type=element href=#elementdef-clippath title=clippath>clipPath</a> element to create a <a data-link-type=dfn href=#clipping-path title="clipping path">clipping path</a>.
214214

215215
<pre class=prod><dfn class=css-code data-dfn-type=type data-export="" id=typedef-clip-source>&lt;clip-source&gt;<a class=self-link href=#typedef-clip-source></a></dfn> = <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#url-value title="<url>">&lt;url&gt;</a></pre><pre class=prod><dfn class=css-code data-dfn-type=type data-export="" id=typedef-geometry-box>&lt;geometry-box&gt;<a class=self-link href=#typedef-geometry-box></a></dfn> = <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-shapes-1/#typedef-shape-box title="<shape-box>">&lt;shape-box&gt;</a> | fill-box | stroke-box | view-box</pre>
@@ -253,7 +253,7 @@ <h3 class="heading settled heading" data-level=5.1 id=the-clip-path><span class=
253253

254254

255255

256-
<p>A computed value of other than <span class=css data-link-type=maybe title=none>none</span> results in the creation of a <a data-link-spec=css21 data-link-type=dfn href=http://www.w3.org/TR/CSS21/visuren.html#x43 title="stacking context">stacking context</a> <a data-biblio-type=normative data-link-type=biblio href=#css21 title=css21>[CSS21]</a> the same way that CSS <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-color-3/#opacity title=opacity>opacity</a> <a data-biblio-type=informative data-link-type=biblio href=#css3color title=css3color>[CSS3COLOR]</a> does.
256+
<p>A computed value of other than <span class=css data-link-type=maybe title=none>none</span> results in the creation of a <a data-link-spec=css21 data-link-type=dfn href=http://www.w3.org/TR/CSS21/visuren.html#x43 title="stacking context">stacking context</a> <a data-biblio-type=normative data-link-type=biblio href=#css21 title=css21>[CSS21]</a> the same way that CSS <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-color-3/#opacity title=opacity>opacity</a> <a data-biblio-type=informative data-link-type=biblio href=#css3color title=css3color>[CSS3COLOR]</a> does for values other than <span class=css data-link-type=maybe title=1>1</span>.
257257

258258
<p>If the URI reference is not valid (e.g it points to an object that doesn’t exist or the object is not a <a data-link-type=element href=#elementdef-clippath title=clippath>clipPath</a> element), no clipping is applied.
259259

@@ -1340,7 +1340,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
13401340
<h2 class="no-num no-ref heading settled heading" id=property-index><span class=content>
13411341
Property index</span><a class=self-link href=#property-index></a></h2>
13421342
<div data-fill-with=property-index><table class="proptable data"><thead><tr><th scope=col>Name<th scope=col>Value<th scope=col>Initial<th scope=col>Applies to<th scope=col>Inh.<th scope=col>%ages<th scope=col>Media<th scope=col>Animatable<th scope=col>Computed value<tbody>
1343-
<tr><th scope=row><a data-property="">clip-path</a><td>&lt;clip-source&gt; | [ &lt;basic-shape&gt; || &lt;geometry-box&gt; ] | none<td>none<td>All elements. In SVG, it applies to container elements excluding the &lt;defs&gt; element and all graphics elements<td>no<td>as specified<td>visual<td>See shape-outside [CSS-SHAPES]<td>as specified, but with &lt;url&gt; values made absolute
1343+
<tr><th scope=row><a data-property="">clip-path</a><td>&lt;clip-source&gt; | [ &lt;basic-shape&gt; || &lt;geometry-box&gt; ] | none<td>none<td>All elements. In SVG, it applies to container elements excluding the &lt;defs&gt; element and all graphics elements<td>no<td>as specified<td>visual<td>as specified for &lt;basic-shape&gt; [CSS-SHAPES], otherwise no<td>as specified, but with &lt;url&gt; values made absolute
13441344
<tr><th scope=row><a data-property="">clip-rule</a><td>nonzero | evenodd<td>nonzero<td>Applies to SVG graphics elements<td>yes<td>n/a<td>visual<td>no<td>as specified
13451345
<tr><th scope=row><a data-property="">mask-image</a><td>&lt;mask-reference&gt;<td>none<td>All elements. In SVG, it applies to container elements excluding the &lt;defs&gt; element and all graphics elements<td>no<td>n/a<td>visual<td>no<td>as specified, but with URIs made absolute
13461346
<tr><th scope=row><a data-property="">mask-type</a><td>&lt;source-type&gt;<td>auto<td>All elements. In SVG, it applies to container elements excluding the &lt;defs&gt; element and all graphics elements<td>no<td>n/a<td>visual<td>no<td>as specified

0 commit comments

Comments
 (0)