[Webkit-unassigned] [Bug 14749] New: percentage height on html and body elements not calculated if child is position:relative
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 24 08:37:54 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14749
Summary: percentage height on html and body elements not
calculated if child is position:relative
Product: WebKit
Version: 522+ (nightly)
Platform: PC
URL: http://xhva.net/index.html
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: xhva.net at gmail.com
Percentage heights on the html and body elements calculate correctly as
demonstrated on PPK's old demo page:
http://www.xs4all.nl/~ppk/css2tests/height/heightdocbodyhtml.html
However, when a child is given position:relative, both percentages seem to be
ignored.
I'm using relative positioning and negative margins to achieve vertical
centering at the provided URL.
Tested on build 522.13.1 -- reduced testcase to follow.
I also tried min-height on html and body as a workaround to at least show the
entire div at the top of the viewport, but min-height has no effect unless a
pixel value is supplied for height. Should I file a separate bug for that?
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list