<?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>29510</bug_id>
          
          <creation_ts>2016-03-02 00:34:56 +0000</creation_ts>
          <short_desc>Containing block for sticky positioning should skip anonymous containing blocks.</short_desc>
          <delta_ts>2016-03-02 01:22:56 +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>Positioned Layout</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Robert Flack">flackr</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>dbaron</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125316</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Flack">flackr</who>
    <bug_when>2016-03-02 00:34:56 +0000</bug_when>
    <thetext>https://www.w3.org/TR/css3-positioning/#sticky-pos states that the sticky-constraint rectangle is computed based on the containing block of the sticky positioned element, however, since a sticky position element can be inline the containing block can be an anonymous block. I believe constraining to the anonymous block would be unintuitive to a site author as it doesn&apos;t correspond to an actual element on their site. 

Firefox and safari&apos;s sticky implementations both seem to skip anonymous containing blocks when computing the sticky constraining rectangle as can be seen on http://flackr.github.io/compositor-worker/sticky/sticky.html. I think the spec should clarify that anonymous containing blocks are skipped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125317</commentid>
    <comment_count>1</comment_count>
    <who name="L. David Baron (Mozilla)">dbaron</who>
    <bug_when>2016-03-02 01:22:56 +0000</bug_when>
    <thetext>Should such anonymous boxes count as containing blocks at all?  It&apos;s not clear to me that they should; it might be worth testing the other things that should depend on whether they count as containing blocks.  (The spec specifically excludes percentages in the last paragraph of https://drafts.csswg.org/css2/visuren.html#anonymous-block-level , but it&apos;s not clear to me why it excludes only those and not other things.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>