Bug 52373 - Incorrect containing block used for percentage height with block inside inline
Summary: Incorrect containing block used for percentage height with block inside inline
Status: RESOLVED DUPLICATE of bug 29189
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 08:47 PST by Simon Fraser (smfr)
Modified: 2011-01-13 08:53 PST (History)
3 users (show)

See Also:


Attachments
Testcase (1.18 KB, text/html)
2011-01-13 08:47 PST, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2011-01-13 08:47:23 PST
Created attachment 78815 [details]
Testcase

The attached testcase, which Safari fails, and FF passes, shows an issue where we compute percentage heights incorrectly. The spec says that they should be computed relative to the height of the containing block <http://www.w3.org/TR/CSS21/visudet.html#propdef-height> but maybe we disagree on what the containing block is, because of anonymous blocks (since the parent is inline)?
Comment 1 Simon Fraser (smfr) 2011-01-13 08:50:37 PST
I think the relevant section is
<http://www.w3.org/TR/CSS21/visudet.html#containing-block-details>
Comment 2 Simon Fraser (smfr) 2011-01-13 08:53:08 PST

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