Bug 113966

Summary: [CSS Regions] widow/orphan bug combined with shapes
Product: WebKit Reporter: CJ Gammon <gammon>
Component: New BugsAssignee: Mihai Maerean <mmaerean>
Status: RESOLVED FIXED    
Severity: Normal CC: betravis, bjonesbe, mihnea, stearns, WebkitBugTracker, zoltan
Priority: P2 Keywords: AdobeTracked
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 113050    
Attachments:
Description Flags
html and css showing buggy area in red
none
Simplified testcase
none
Screenshot of bug none

Description CJ Gammon 2013-04-04 15:03:48 PDT
Created attachment 196536 [details]
html and css showing buggy area in red

I have attached a situation where there is a gap injected between lines arbitrarily.  This seems to be related to the combination of exclusions/regions/widow/orphans.  Where when removing exclusions from one of the earlier elements or removing or changing the values of widows/orphans seems to effect the outcome.  The split can be often found in the example region in red.  This seems to only occur under specific circumstances and can be tricky to recreate, however it does cause a very obvious issue where there appears to be a random break within content.
Comment 1 Mihai Maerean 2013-04-05 06:10:07 PDT
This doesn't seem to happen when only the Regions feature is enabled (and Exclusions/Shapes are disabled).
Comment 2 Bear Travis 2013-04-05 09:48:08 PDT
Linking to parent bugs to track
Comment 3 Bear Travis 2013-04-05 11:41:14 PDT
Created attachment 196657 [details]
Simplified testcase

The bug repros for me on Chrome Canary. It does not require exclusions.
The problem combines regions, widows/orphans, and soft hyphens (charset must be utf-8).
Comment 4 Bear Travis 2013-04-05 11:42:41 PDT
Created attachment 196658 [details]
Screenshot of bug

Screenshot. Notice the linebox pushed into the center region (red) is too short, and the line spacing is off.
Comment 5 Michelangelo De Simone 2013-06-13 11:05:48 PDT
Still repros on today's nightly (r151543)
Comment 6 Zoltan Horvath 2014-03-27 09:19:37 PDT
Removing CSS Shapes from the blocker list, since the bug (if it still valid?) is not shapes related.
Comment 7 Bear Travis 2014-05-28 12:49:34 PDT
This bug no longer reproduces for me in the nightlies.