Bug 81213 - [CSS Regions][CSS fragmentation] Replaced elements are split across regions boundaries
Summary: [CSS Regions][CSS fragmentation] Replaced elements are split across regions b...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 113050
  Show dependency treegraph
 
Reported: 2012-03-15 06:16 PDT by Mihai Balan
Modified: 2014-04-07 06:24 PDT (History)
6 users (show)

See Also:


Attachments
Reduced testcase (1.51 KB, text/html)
2012-03-15 06:17 PDT, Mihai Balan
no flags Details
Reduced testcase (1.23 KB, text/html)
2012-03-15 06:20 PDT, Mihai Balan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Balan 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.
Comment 1 Mihai Balan 2012-03-15 06:17:32 PDT
Created attachment 132031 [details]
Reduced testcase
Comment 2 Mihai Balan 2012-03-15 06:20:21 PDT
Created attachment 132032 [details]
Reduced testcase

Cleaned up the test-case.
Comment 3 Michelangelo De Simone 2013-06-13 20:47:01 PDT
Still repros on today's nightly (r151543)
Comment 4 Mihai Balan 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)
Comment 5 Andrei Bucur 2014-04-07 06:24:40 PDT
Fixed with the overflow implementation. Closing.