Skip to content

Commit 9d4f860

Browse files
committed
[css3-color] Don't use SVG-specific terminology in the definition of opacity.
This is already reflected in http://www.w3.org/Style/2011/REC-css3-color-20110607-errata.html and was resolved in http://lists.w3.org/Archives/Public/www-style/2011Jul/0094.html
1 parent dee5598 commit 9d4f860

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

css3-color/Overview.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,11 @@ <h3 id=transparency><span class=secno>3.2. </span>Transparency: the ‘<a
527527
<dd>Syntactically a &lt;number&gt;. The uniform opacity setting to be
528528
applied across an entire object. Any values outside the range 0.0 (fully
529529
transparent) to 1.0 (fully opaque) will be clamped to this range. If the
530-
object is a container element, then the effect is as if the contents of
531-
the container element were blended against the current background using a
532-
mask where the value of each pixel of the mask is &lt;alphavalue&gt;.
530+
object has children, then the effect is as if the children were blended
531+
against the current background using a mask where the value of each pixel
532+
of the mask is &lt;alphavalue&gt;. For SVG, ‘has children’ is
533+
equivalent to being a container element <a href="#SVG11"
534+
rel=biblioentry>[SVG11]<!--{{SVG11}}--></a>.
533535
</dl>
534536

535537
<p>Since an element with opacity less than 1 is composited from a single

css3-color/Overview.src.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,13 @@ <h3 id="transparency">Transparency: the 'opacity' property</h3>
331331
<dd>Syntactically a &lt;number&gt;. The uniform opacity setting to be applied across an entire object.
332332
Any values outside the range 0.0 (fully transparent) to 1.0 (fully
333333
opaque) will be clamped to this range.
334-
If the object is a container element,
335-
then the effect is as if the contents of the container element
334+
If the object has children,
335+
then the effect is as if the children
336336
were blended against the current background using a mask where the
337-
value of each pixel of the mask is &lt;alphavalue&gt;.</dd>
337+
value of each pixel of the mask is &lt;alphavalue&gt;.
338+
For SVG, &lsquo;has children&rsquo; is equivalent to being a
339+
container element [[SVG11]].
340+
</dd>
338341

339342
</dl>
340343

0 commit comments

Comments
 (0)