Bug 29189

Summary: Incorrect containing block for blocks that have an inline parent
Product: WebKit Reporter: Boris Zbarsky <bzbarsky>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: aestes, hyatt, mitz, robert, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase showing height issue
none
Testcase showing margin issue none

Description Boris Zbarsky 2009-09-11 09:28:56 PDT
Created attachment 39443 [details]
Testcase showing height issue

BUILD: Today's webkit nightly

STEPS TO REPRODUCE:  Load attached testcases

EXPECTED RESULTS:
First testcase: Block with black border has height 100px
Second testcase: Block with black border has a left margin of 0 and a right margin of 10px

ACTUAL RESULTS:
First testcase: Block with black border has height 0
Second testcase: Block with black border has a left margin of 10px and a right margin of 0

Both are most likely due to using the wrong thing as the containing block.
Comment 1 Boris Zbarsky 2009-09-11 09:29:17 PDT
Created attachment 39444 [details]
Testcase showing margin issue
Comment 2 Simon Fraser (smfr) 2011-01-13 08:53:08 PST
*** Bug 52373 has been marked as a duplicate of this bug. ***
Comment 3 Robert Hogan 2013-11-18 23:05:27 PST
These both pass now.
Comment 4 Alexey Proskuryakov 2013-11-19 10:21:14 PST
Do we need to land a test case?