<?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>17123</bug_id>
          
          <creation_ts>2012-05-20 16:10:30 +0000</creation_ts>
          <short_desc>Percentage values of height are not well-defined</short_desc>
          <delta_ts>2012-12-04 00:52:55 +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>PC</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>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>67932</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-05-20 16:10:30 +0000</bug_when>
    <thetext>Reported by Øyvind Stenhaug

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

  # &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;.

Firstly, the term &quot;specified explicitly&quot; seems nonsensical: on the one hand, /all/ elements have a specified value, and on the other hand, the containing block isn&apos;t an element. So the parentheses actually contain the crucial part here, and readers must figure out for themselves how exactly to determine whether the containing block depends on content height.

Secondly, to what does &quot;the height&quot; refer?
- The so-called tentative used height?
- The used value?
- Something else?

Relevant examples:

a) display: table-cell; height: 0;

Computed value of &apos;height&apos; is not &apos;auto&apos;, but used value of &apos;height&apos; still depends on the content...

b) position: absolute; top: 0; bottom: 0; height: auto;

Computed value of &apos;height&apos; is &apos;auto&apos;, but used value of &apos;height&apos; does not depend on the content.


Conversation begins: http://lists.w3.org/Archives/Public/www-style/2012Jan/1176.html

Bug description:
http://lists.w3.org/Archives/Public/www-style/2012Jan/1228.html
http://lists.w3.org/Archives/Public/www-style/2012Jan/1284.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>