Bug 115873

Summary: [CSS Regions] Transformed content in named flows using 2D transform that overflows region box is clipped
Product: WebKit Reporter: David Alcala <dalcala>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: mibalan, WebkitBugTracker
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 57312    
Attachments:
Description Flags
actual results
none
expected results (no regions)
none
expected results (no transform) none

Description David Alcala 2013-05-09 14:00:09 PDT
Transformed content in named flows using 2D transform that overflows region box is clipped.  I couldn't find anything in the spec that says the source content that is transformed should be clipped.  By default, the overflow content should show.

Reproduction steps:
Open the attached file scaleY-webkit-bug-region-clipping2.html in a browser that supports regions (Chrome Canary or WebKit Nightly) on Windows or Mac.

Actual Results:
You see a 100px x 100px green square.  The bottom half of the green rectangle is getting clipped by the region div. 

Expected Results:
You should see a 100px x 200px green rectangle – the source content that overflows the region is not clipped by the region.  See scaleY-webkit-bug-region-clipping2-no-region.html for how it should look. Or, if you remove the transform (scaleY-webkit-bug-region-clipping2-no-transform.html), you can see that the source content that overflows the region also is not clipped by the region.

Workaround:
None
Comment 1 David Alcala 2013-05-09 14:02:49 PDT
Created attachment 201273 [details]
actual results
Comment 2 David Alcala 2013-05-09 14:03:13 PDT
Created attachment 201274 [details]
expected results (no regions)
Comment 3 David Alcala 2013-05-09 14:03:44 PDT
Created attachment 201275 [details]
expected results (no transform)
Comment 4 Mihai Balan 2013-05-17 07:46:50 PDT

*** This bug has been marked as a duplicate of bug 116242 ***