<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>19930</bug_id>
          
          <creation_ts>2008-07-07 11:09:48 -0700</creation_ts>
          <short_desc>ignores top:&lt;pct&gt; with nested relative positioning</short_desc>
          <delta_ts>2009-03-26 23:26:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14749</dup_id>
          
          <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>0</everconfirmed>
          <reporter name="Mike Hommey">mh+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85362</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Hommey">mh+webkit</who>
    <bug_when>2008-07-07 11:09:48 -0700</bug_when>
    <thetext>This has been reported on Debian as bug #489767 ( http://bugs.debian.org/489767 ), against the Gtk+ port, version 1.0.1 (which is pretty much revision 34575). I haven&apos;t verified on trunk.

In nested &lt;div&gt;s with relative positioning, with height specified as
a percentage, an inmost top: &lt;percentage&gt; is ignored.

Reference:          Attached HTML file
Observed behavior:  The word &quot;Caption&quot; appears at the top.
Desired behavior:   It should appear near the bottom, just above the
                    dashed border.
CSS workaround:     It works if the units of &quot;top&quot; are changed to
                    pixels, or if the associated &quot;position&quot; is changed
                    to absolute, or if the parent&apos;s height is expressed
                    in pixels instead of a percentage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85363</commentid>
    <comment_count>1</comment_count>
      <attachid>22138</attachid>
    <who name="Mike Hommey">mh+webkit</who>
    <bug_when>2008-07-07 11:10:22 -0700</bug_when>
    <thetext>Created attachment 22138
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85368</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-07-07 11:35:35 -0700</bug_when>
    <thetext>I think this is a duplicate of bug 14749. Mike, do you agree?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85369</commentid>
    <comment_count>3</comment_count>
    <who name="Mike Hommey">mh+webkit</who>
    <bug_when>2008-07-07 11:38:38 -0700</bug_when>
    <thetext>It looks very similar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115500</commentid>
    <comment_count>4</comment_count>
    <who name="Mike Hommey">mh+webkit</who>
    <bug_when>2009-03-26 23:26:15 -0700</bug_when>
    <thetext>It is also fixed, so I guess this really was a duplicate.

*** This bug has been marked as a duplicate of 14749 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>22138</attachid>
            <date>2008-07-07 11:10:22 -0700</date>
            <delta_ts>2008-07-07 11:10:22 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>bugdemo.html</filename>
            <type>text/html</type>
            <size>925</size>
            <attacher name="Mike Hommey">mh+webkit</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgU3RyaWN0Ly9FTiIg
CiAgICJodHRwOi8vd3d3LnczLm9yZy9UUi94aHRtbDEvRFREL3hodG1sMS1zdHJpY3QuZHRkIj4K
PGh0bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTk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