<?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>12858</bug_id>
          
          <creation_ts>2011-06-02 18:27:32 +0000</creation_ts>
          <short_desc>This doesn&apos;t actually define &quot;align descendants&quot;.  It says which descendants are to be aligned, but not what&apos;s supposed to happen to them.  Is it like floating, or something else?</short_desc>
          <delta_ts>2011-09-23 17:59:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#alignment</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49070</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-06-02 18:27:32 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#alignment

Comment:
This doesn&apos;t actually define &quot;align descendants&quot;.  It says which descendants
are to be aligned, but not what&apos;s supposed to happen to them.  Is it like
floating, or something else?

Posted from: 68.175.61.233
User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.1 Safari/535.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49129</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-06-03 05:02:41 +0000</bug_when>
    <thetext>&lt;center&gt; is handled magically by all UAs.  There is no way to really define it more explicitly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49162</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-06-03 16:40:36 +0000</bug_when>
    <thetext>What do you mean, &quot;no way&quot;?  Not fully in terms of CSS, but there&apos;s got to be definable and standardizable behavior.  It would be useful for me to know what browsers actually do here, so that I can make an informed decision on how to spec the justify* editing commands.  (Currently I just use text-align, but align= behaves more usefully in some cases, and I might want to add some extra align=-like features as special cases.  Gecko seems to do this, like adding auto margins to tables.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53576</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:15:19 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55152</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-15 21:59:23 +0000</bug_when>
    <thetext>I assume you are asking for more detail in this sentence:

&quot;When a user agent is to align descendants of a node, the user agent is expected to align only those descendants that have both their &apos;margin-left&apos; and &apos;margin-right&apos; properties computing to a value other than &apos;auto&apos;, that are over-constrained and that have one of those two margins with a used value forced to a greater value, and that do not themselves have an applicable align attribute. When multiple elements are to align a particular descendant, the most deeply nested such element is expected to override the others.&quot;

What kind of detail are you looking for?

Would this be accurate and sufficient?:

&quot;... Aligned elements are expected to be aligned by having the used values of their left and right margins be set accordingly.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55236</commentid>
    <comment_count>5</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-08-16 14:45:45 +0000</bug_when>
    <thetext>I *think* that&apos;s what I&apos;m looking for, yes.  The current spec doesn&apos;t say what you do to those descendants: whether you float them, or set their margins, or what.  Brief testing in WebKit suggests you do just set the appropriate margin(s) to auto, not actually float them.

So I don&apos;t know whether your suggested addition is accurate, but it does seem to say what to do, which is a start.  It also doesn&apos;t blatantly contradict the trivial test case I constructed, so it might be accurate too.  :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56143</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-09-01 00:04:24 +0000</bug_when>
    <thetext>Ok, I&apos;ll use that wording.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57204</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-09-22 23:38:15 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with comment 5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57205</commentid>
    <comment_count>8</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-09-22 23:40:18 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6566.
Check-in comment: add detail
http://html5.org/tools/web-apps-tracker?from=6565&amp;to=6566</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>