<?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>16044</bug_id>
          
          <creation_ts>2012-02-20 20:30:34 +0000</creation_ts>
          <short_desc>Correct issues (or at least document them) for auto-placement when grid-flow is not none</short_desc>
          <delta_ts>2015-03-03 00:59:03 +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>Grid Layout</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://dev.w3.org/csswg/css3-grid-align/</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="Phil Cupp">pcupp</reporter>
          <assigned_to name="Phil Cupp">pcupp</assigned_to>
          <cc>fantasai.bugs</cc>
    
    <cc>matspal</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64327</commentid>
    <comment_count>0</comment_count>
    <who name="Phil Cupp">pcupp</who>
    <bug_when>2012-02-20 20:30:34 +0000</bug_when>
    <thetext>The algorithm as written is meant to be two pass:

1. first grid items that are constrained such that only one dimension is auto should be placed
2. after that all grid items having both dimensions as auto can be placed

The spec text makes it sound like steps 1 and 2 are in a single step though.

Also it isn&apos;t clear with the current algorithm whether the &quot;base grid&quot; onto which items are placed is updated after step one is performed for the purposes of wrapping grid items to new rows/columns.

Additionally, this algorithm may not be the optimal auto-placement algorithm.  Maybe it should be a one pass algorithm that finds the first free spot for an item beginning at 1,1, or maybe this should just be removed altogether.

Refer to this thread for some discussion on this topic:
http://lists.w3.org/Archives/Public/www-style/2012Feb/0991.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64333</commentid>
    <comment_count>1</comment_count>
    <who name="Phil Cupp">pcupp</who>
    <bug_when>2012-02-20 20:52:57 +0000</bug_when>
    <thetext>Reassigning all grid bugs to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64515</commentid>
    <comment_count>2</comment_count>
    <who name="Phil Cupp">pcupp</who>
    <bug_when>2012-02-24 00:34:52 +0000</bug_when>
    <thetext>Here&apos;s a new thread relevant to auto placement.  If updating the algorithm, test against the use cases presented here:

http://lists.w3.org/Archives/Public/www-style/2012Feb/1225.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118238</commentid>
    <comment_count>3</comment_count>
    <who name="Mats Palmgren">matspal</who>
    <bug_when>2015-03-03 00:59:03 +0000</bug_when>
    <thetext>There used to be an ISSUE note &quot;Review this wrt concerns in bug 16044.&quot;
in the spec but it&apos;s no longer there in the current version:
http://dev.w3.org/csswg/css-grid/#auto-placement-algo

Does that mean this bug can be closed?  Or was the ISSUE note
in the spec lost accidentally?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>