Skip to content

Commit 4491d39

Browse files
committed
Add proposed resolution for issue 26.
1 parent e51c8cb commit 4491d39

2 files changed

Lines changed: 59 additions & 5 deletions

File tree

css3-color/Overview.html

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,18 @@
6464

6565
<h1 id=css-color>CSS Color Module</h1>
6666

67-
<h2 class="no-num no-toc" id=editors>Editor's Draft 13 May 2008</h2>
67+
<h2 class="no-num no-toc" id=editors>Editor's Draft 14 May 2008</h2>
6868

6969
<dl>
7070
<dt>This version:
7171

7272
<dd><a
73-
href="http://www.w3.org/TR/2008/ED-css3-color-20080513">http://www.w3.org/TR/2008/ED-css3-color-20080513</a>
73+
href="http://www.w3.org/TR/2008/ED-cvs-member-20080514">http://www.w3.org/TR/2008/ED-cvs-member-20080514</a>
7474

7575
<dt>Latest version:
7676

7777
<dd><a
78-
href="http://www.w3.org/TR/css3-color">http://www.w3.org/TR/css3-color</a>
78+
href="http://www.w3.org/TR/cvs-member">http://www.w3.org/TR/cvs-member</a>
7979

8080
<dt>Previous version:
8181

@@ -159,8 +159,8 @@ <h2 class="no-num no-toc" id=status>Status of This Document</h2>
159159
mailing list <a href="mailto:www-style@w3.org">www-style@w3.org</a> (see
160160
<a href="http://www.w3.org/Mail/Request">instructions</a>) is preferred
161161
for discussion of this specification. When sending e-mail, please put the
162-
text &#8220;css3-color&#8221; in the subject, preferably like this:
163-
&#8220;[<!---->css3-color<!---->] <em>&hellip;summary of
162+
text &#8220;cvs-member&#8221; in the subject, preferably like this:
163+
&#8220;[<!---->cvs-member<!---->] <em>&hellip;summary of
164164
comment&hellip;</em>&#8221;
165165

166166
<p>This document was produced by the <a href="/Style/CSS/members">CSS
@@ -628,6 +628,28 @@ <h3 id=transparency><span class=secno>3.2 </span>Transparency: the <span
628628
mask where the value of each pixel of the mask is &lt;alphavalue&gt;.
629629
</dl>
630630

631+
<p>Since an element with opacity less than 1 is composited from a single
632+
offscreen image, content outside of it cannot be layered in z-order
633+
between pieces of content inside of it. For the same reason,
634+
implementations must create a new stacking context for any element with
635+
opacity less than 1. If an element with opacity less than 1 is not
636+
positioned, implementations must paint the layer it creates, within its
637+
parent stacking context, at the same stacking order that would be used if
638+
it were a positioned element with &lsquo;<code class=css>z-index:
639+
0</code>&rsquo; and &lsquo;<code class=css>opacity: 1</code>&rsquo;. If an
640+
element with opacity less than 1 is positioned, the &lsquo;<span
641+
class=property>z-index</span>&rsquo; property applies as described in <a
642+
href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>, except that
643+
&lsquo;<span class=property>auto</span>&rsquo; is treated as &lsquo;<code
644+
class=css>0</code>&rsquo; since a new stacking context is always created.
645+
See <a href="http://www.w3.org/TR/CSS21/visuren.html#layers">section
646+
9.9</a> and <a href="http://www.w3.org/TR/CSS21/zindex.html">Appendix
647+
E</a> of <a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> for
648+
more information on stacking contexts. The rules in this paragraph do not
649+
apply to SVG elements, since SVG has its own <a
650+
href="http://www.w3.org/TR/SVG11/render.html">rendering model</a> <a
651+
href="#SVG11" rel=biblioentry>[SVG11]<!--{{!SVG11}}--></a>.
652+
631653
<h2 id=colorunits><span class=secno>4. </span>Color units</h2>
632654

633655
<p>A <span class="index-def value-def-color" id=valuea-def-color
@@ -4861,6 +4883,16 @@ <h3 id=normative><span class=secno>11.1 </span>Normative</h3>
48614883
</dd>
48624884
<!---->
48634885

4886+
<dt id=CSS21>[CSS21]
4887+
4888+
<dd>Bert Bos; et al. <a
4889+
href="http://www.w3.org/TR/2007/CR-CSS21-20070719"><cite>Cascading Style
4890+
Sheets, level 2 revision 1.</cite></a> 19 July 2007. W3C Candidate
4891+
Recommendation. (Work in progress.) URL: <a
4892+
href="http://www.w3.org/TR/2007/CR-CSS21-20070719">http://www.w3.org/TR/2007/CR-CSS21-20070719</a>
4893+
</dd>
4894+
<!---->
4895+
48644896
<dt id=ICC42>[ICC42]
48654897

48664898
<dd><a href="http://color.org/ICC1v42_2006-05.pdf"><cite>Image technology

css3-color/Overview.src.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,28 @@ <h3 id="transparency">Transparency: the <span class="property">'opacity'</span>
425425

426426
</dl>
427427

428+
<p>Since an element with opacity less than 1 is composited from a
429+
single offscreen image, content outside of it cannot be layered
430+
in z-order between pieces of content inside of it. For the same
431+
reason, implementations must create a new stacking context for
432+
any element with opacity less than 1. If an element with
433+
opacity less than 1 is not positioned, implementations must
434+
paint the layer it creates, within its parent stacking context,
435+
at the same stacking order that would be used if it were a
436+
positioned element with 'z-index: 0' and 'opacity: 1'. If an
437+
element with opacity less than 1 is positioned, the 'z-index'
438+
property applies as described in [[!CSS21]], except that 'auto'
439+
is treated as '0' since a new stacking context is always
440+
created. See <a
441+
href="http://www.w3.org/TR/CSS21/visuren.html#layers">section
442+
9.9</a> and <a
443+
href="http://www.w3.org/TR/CSS21/zindex.html">Appendix E</a> of
444+
[[!CSS21]] for more information on stacking contexts. The rules
445+
in this paragraph do not apply to SVG elements, since SVG has
446+
its own <a
447+
href="http://www.w3.org/TR/SVG11/render.html">rendering
448+
model</a> [[!SVG11]].</p>
449+
428450
<h2 id="colorunits">Color units</h2>
429451

430452
<p>A

0 commit comments

Comments
 (0)