<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16033</bug_id>
          
          <creation_ts>2012-02-20 16:08:59 +0000</creation_ts>
          <short_desc>Stacking contexts: incorrect edit made to 9.9.1</short_desc>
          <delta_ts>2012-12-04 00:54:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSS Level 2</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton P">antonsforums</reporter>
          <assigned_to name="Bert Bos">bert</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64305</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-02-20 16:08:59 +0000</bug_when>
    <thetext>As part of the edits made in the move from WD (http://www.w3.org/TR/2010/WD-CSS2-20101207/visuren.html#z-index) to PR (http://www.w3.org/TR/2011/PR-CSS2-20110412/visuren.html#z-index), an error was introduced in 9.9.1.

The following WD text:

  # Positioned elements with &apos;z-index: auto&apos; (in layer 6), floats
  # (layer 4), inline blocks (layer 5), and inline tables (layer 5),
  # are painted as if those elements generated new stacking contexts,
  # except that their positioned descendants and any child stacking
  # contexts take part in the current stacking context.

was changed in the PR to:

  # &lt;ins&gt;Within each stacking context,&lt;/ins&gt; positioned elements with
  # stack level 0 (in layer 6), non-positioned floats (layer 4),
  # inline blocks (layer 5), and inline tables (layer 5), are painted
  # as if those elements &lt;ins&gt;themselves&lt;/ins&gt; generated new stacking
  # contexts, except that their positioned descendants and any
  # &lt;ins&gt;would-be&lt;/ins&gt; child stacking contexts take part in the
  # current stacking context.

Note that, apart from the three indicated edits that were discussed on the mailing list [http://lists.w3.org/Archives/Public/www-style/2011Mar/0108.html], there was also a change from &quot;positioned elements with &apos;z-index: auto&apos;&quot; to &quot;positioned elements with stack level 0&quot;.

This change was not discussed, to my knowledge.  Unfortunately it is incorrect, since positioned elements with stack level 0 include positioned elements with &apos;z-index: 0&apos;, and these latter elements /don&apos;t/ have the described &quot;almost stacking context&quot; behaviour.  (Rather, they have full stacking context behaviour.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64306</commentid>
    <comment_count>1</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-02-20 16:11:08 +0000</bug_when>
    <thetext>Proposal:

Replace:

  # Within each stacking context, positioned elements with stack
  # level 0 (in layer 6), [...]

with:

  | Within each stacking context, positioned elements with
  | &apos;z-index: auto&apos; (in layer 6), [...]</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>