[Webkit-unassigned] [Bug 76860] New: Sub-elements with a percentage height ignore max-height on the parent element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 23 14:13:42 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=76860
Summary: Sub-elements with a percentage height ignore
max-height on the parent element
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: brilliand+bugzilla at gmail.com
Created an attachment (id=123617)
--> (https://bugs.webkit.org/attachment.cgi?id=123617&action=review)
Testcase for styles on html and body
Safari version: 5.1.2
When an element has both a height and a max-height set and a child element has its height set to 100%, the child element's height becomes equal to the value set for the parent element's height, without respecting the parent element's max-height. However, the parent element's size still respects its max-height, resulting in the parent element and the child element being different sizes.
This bug behaves differently for the html and body elements than for divs, but is present in either case. Other browsers (Firefox 8 and IE9) handle the html/body case correctly, but behave exactly as Webkit for the div case.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list