Summary: | Incorrect containing block for blocks that have an inline parent | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Boris Zbarsky <bzbarsky> | ||||||
Component: | Layout and Rendering | Assignee: | 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: |
|
Created attachment 39444 [details]
Testcase showing margin issue
*** Bug 52373 has been marked as a duplicate of this bug. *** These both pass now. Do we need to land a test case? |
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.