[Webkit-unassigned] [Bug 58006] New: Images with max-height:100% are missing when they are inside blocks inside tables
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 6 19:02:39 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=58006
Summary: Images with max-height:100% are missing when they are
inside blocks inside tables
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Tables
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: adele at apple.com
Created an attachment (id=88557)
--> (https://bugs.webkit.org/attachment.cgi?id=88557&action=review)
test
Images with max-height:100% are missing when they are inside blocks inside tables
See attached test case. It works fine in Firefox and IE.
I think this has something to do with this code in RenderBox::availableLogicalHeightUsing
if (isTableCell() && (h.isAuto() || h.isPercent()))
return overrideSize() - borderAndPaddingLogicalWidth();
In this case, if you check hasOverrideSize() you get false, and overrideSize just returns -1. So I think we need some kind of overrideLogical… method that's like the overrideHeight and overrideWidth methods that will check hasOverrideSize for you.
<rdar://problem/7972529>
--
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