<?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>15392</bug_id>
          
          <creation_ts>2012-01-02 17:22:41 +0000</creation_ts>
          <short_desc>% height inside of auto-height container should result in % computed value but used value is determined as if computed value were &apos;auto&apos;</short_desc>
          <delta_ts>2013-05-08 18:24:14 +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>
          <cc>fantasai.bugs</cc>
    
    <cc>info</cc>
    
    <cc>kennyluck</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62210</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-02 17:22:41 +0000</bug_when>
    <thetext>Reported by Peter Moulder, David Baron

10.5 (Content height: the &apos;height&apos; property) [http://www.w3.org/TR/CSS21/visudet.html#propdef-height] says:

  # Computed value: the percentage or &apos;auto&apos; (see prose under
  # &lt;percentage&gt;) or the absolute length 

and

  # &lt;percentage&gt;
  #   [...] If the height of the containing block is not
  #   specified explicitly (i.e., it depends on content height),
  #   and this element is not absolutely positioned, the value
  #   computes to &apos;auto&apos;.

Some implementers want the computed value to remain a percentage and just have the used value be &apos;auto&apos;, since the rule as given constrains implementations to implement the concept of containing block in terms of style data rather than in terms of the rendering tree, which is a significant constraint on implementation modularity.

Conversation begins:
Bug definition:
http://lists.w3.org/Archives/Public/www-style/2011Sep/0008.html
http://lists.w3.org/Archives/Public/www-style/2011Oct/0712.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63880</commentid>
    <comment_count>1</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-02-08 09:55:13 +0000</bug_when>
    <thetext>I described the implementor request incorrectly; the used value would not be &apos;auto&apos; it would be a length.  Hence the request is that % height inside of auto-height container should result in % computed value but used value is determined as if computed value were &apos;auto&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87131</commentid>
    <comment_count>2</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2013-05-01 21:43:07 +0000</bug_when>
    <thetext>Proposed changes:

  In the computed value line, replace
    # (see prose under &lt;percentage&gt;)
  with
    | (as specified)

  In the &lt;percentage&gt; definition, replace
    | the value computes to &apos;auto&apos;
  with
    | the used height is calculated as if &apos;auto&apos; was specified</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87449</commentid>
    <comment_count>3</comment_count>
    <who name="Gérard Talbot">info</who>
    <bug_when>2013-05-08 18:24:14 +0000</bug_when>
    <thetext>Related tests:

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/height-percentage-002.htm

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/top-115.htm

The text assert of such tests would have to be updated if proposed changes are adopted.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>