Bug 81213

Summary: [CSS Regions][CSS fragmentation] Replaced elements are split across regions boundaries
Product: WebKit Reporter: Mihai Balan <mibalan>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abucur, donggwan.kim, mihnea, rcaliman, shanestephens, WebkitBugTracker
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 113050    
Attachments:
Description Flags
Reduced testcase
none
Reduced testcase none

Mihai Balan
Reported 2012-03-15 06:16:52 PDT
When a flow contains an image and there is a region chain consuming the flow, if the image does not fit in a region and overflows in another, the image element is visually split between the two regions (see attached file in WebKit nightly build). This also affects other inline blocks (e.g. a <div> with display: inline;) but not text.
Attachments
Reduced testcase (1.51 KB, text/html)
2012-03-15 06:17 PDT, Mihai Balan
no flags
Reduced testcase (1.23 KB, text/html)
2012-03-15 06:20 PDT, Mihai Balan
no flags
Mihai Balan
Comment 1 2012-03-15 06:17:32 PDT
Created attachment 132031 [details] Reduced testcase
Mihai Balan
Comment 2 2012-03-15 06:20:21 PDT
Created attachment 132032 [details] Reduced testcase Cleaned up the test-case.
Michelangelo De Simone
Comment 3 2013-06-13 20:47:01 PDT
Still repros on today's nightly (r151543)
Mihai Balan
Comment 4 2013-06-14 01:50:27 PDT
This doesn't seem to be limited to images only, but to all replaced elements (images, videos, iframes, canvases)
Andrei Bucur
Comment 5 2014-04-07 06:24:40 PDT
Fixed with the overflow implementation. Closing.
Note You need to log in before you can comment on or make changes to this bug.