Bug 19930 - ignores top:<pct> with nested relative positioning
Summary: ignores top:<pct> with nested relative positioning
Status: RESOLVED DUPLICATE of bug 14749
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2008-07-07 11:09 PDT by Mike Hommey
Modified: 2009-03-26 23:26 PDT (History)
1 user (show)

See Also:

testcase (925 bytes, text/html)
2008-07-07 11:10 PDT, Mike Hommey
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hommey 2008-07-07 11:09:48 PDT
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't verified on trunk.

In nested <div>s with relative positioning, with height specified as
a percentage, an inmost top: <percentage> is ignored.

Reference:          Attached HTML file
Observed behavior:  The word "Caption" 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 "top" are changed to
                    pixels, or if the associated "position" is changed
                    to absolute, or if the parent's height is expressed
                    in pixels instead of a percentage.
Comment 1 Mike Hommey 2008-07-07 11:10:22 PDT
Created attachment 22138 [details]
Comment 2 mitz 2008-07-07 11:35:35 PDT
I think this is a duplicate of bug 14749. Mike, do you agree?
Comment 3 Mike Hommey 2008-07-07 11:38:38 PDT
It looks very similar.
Comment 4 Mike Hommey 2009-03-26 23:26:15 PDT
It is also fixed, so I guess this really was a duplicate.

*** This bug has been marked as a duplicate of 14749 ***