Bug 19930

Summary: ignores top:<pct> with nested relative positioning
Product: WebKit Reporter: Mike Hommey <mh+webkit>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
testcase none

Mike Hommey
Reported 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.
Attachments
testcase (925 bytes, text/html)
2008-07-07 11:10 PDT, Mike Hommey
no flags
Mike Hommey
Comment 1 2008-07-07 11:10:22 PDT
Created attachment 22138 [details] testcase
mitz
Comment 2 2008-07-07 11:35:35 PDT
I think this is a duplicate of bug 14749. Mike, do you agree?
Mike Hommey
Comment 3 2008-07-07 11:38:38 PDT
It looks very similar.
Mike Hommey
Comment 4 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 ***
Note You need to log in before you can comment on or make changes to this bug.