<?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>18500</bug_id>
          
          <creation_ts>2012-08-08 10:51:14 +0000</creation_ts>
          <short_desc>Language about establishing containing blocks is incorrect</short_desc>
          <delta_ts>2012-10-18 22:48:38 +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>Transforms</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>16328</dup_id>
          
          <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="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Edward O&apos;Connor">eoconnor</assigned_to>
          <cc>ayg</cc>
    
    <cc>cmarrin</cc>
    
    <cc>dino</cc>
    
    <cc>dschulze</cc>
    
    <cc>eoconnor</cc>
    
    <cc>roc</cc>
    
    <cc>smfr</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71929</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-08-08 10:51:14 +0000</bug_when>
    <thetext>roc reported that our wording about transforms establishing containing blocks is incorrect:

http://lists.w3.org/Archives/Public/www-style/2012Aug/0248.html

Øyvind agreed, and further pointed out that a &quot;containing block&quot; is a box, not an element:

http://lists.w3.org/Archives/Public/www-style/2012Aug/0264.html

He suggested that we define precisely how we&apos;re modifying the CSS 2.1 requirements, rather than using undefined terms like &quot;establishes a containing block for positioned descendants&quot;.  I suggest wording like the following:

&quot;&quot;&quot;
Any value other than ‘none’ for the transform results in the creation of a stacking context.

The containing block of an element with &apos;position: fixed&apos; is the padding edge of its nearest ancestor with a &apos;transform&apos; other than &apos;none&apos;.  If there is no such ancestor, its containing block is as specified in CSS 2.1.

The containing block of an element with &apos;position: absolute&apos; is determined as specified in CSS 2.1, except that an ancestor element with &apos;transform&apos; other than &apos;none&apos; is treated the same as one with a &apos;position&apos; of &apos;absolute&apos;, &apos;fixed&apos;, or &apos;relative&apos;.
&quot;&quot;&quot;

With suitable links to the relevant sections of CSS 2.1.  I think the &quot;is treated the same as&quot; wording is the best available here, because it&apos;s quite clear but doesn&apos;t require duplicating the different handling for inline vs. block ancestors.


Also, Øyvind points out that we currently have two places where this requirement is stated, slightly contradictory:

&quot;&quot;&quot;
In the HTML namespace, any value other than ‘none’ for the transform results in the creation of both a stacking context and a containing block. The object acts as a containing block for fixed positioned descendants.
&quot;&quot;&quot;

&quot;&quot;&quot;
Any value other than ‘none’ for the transform results in the creation of both a stacking context and a containing block. The object acts as a containing block for fixed positioned descendants.
&quot;&quot;&quot;

Is is only in the HTML namespace, or not?  I suggest removing the second entirely, and replacing the first with text like what I give above.


Any objections to my proposed change?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71939</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-08-08 16:00:23 +0000</bug_when>
    <thetext>Seems fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72348</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-08-17 12:01:44 +0000</bug_when>
    <thetext>I don&apos;t think I&apos;ll have time to do this.  Someone else should feel free -- it should be simple.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76635</commentid>
    <comment_count>3</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-18 22:48:38 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 16328 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>