Bug 103684

Summary: [CSS Regions] border-radius on a region causes overflow to be hidden
Product: WebKit Reporter: Rebecca Hauck <rhauck>
Component: Layout and RenderingAssignee: Mihnea Ovidenie <mihnea>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, mibalan, mihnea, ojan.autocc, tony, WebkitBugTracker, webkit.review.bot
Priority: P2 Keywords: AdobeTracked
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 57312    
Attachments:
Description Flags
test case to reproduce bug
none
Patch
none
Patch
none
Patch for landing none

Description Rebecca Hauck 2012-11-29 16:17:05 PST
Found in Version 25.0.1335.0 canary

1. Open the attached file in a browser

Result: 

The overflow text is hidden but should be visible as it should inherit the default value of overflow-x and overflow-y. The computedStyle shows as visible.

Comment out the border-radius on region-3 and the overflow text will again be visible.

Just as a control, I tested this scenario without regions with just a div + border-radius and the default overflow behavior is correct in that scenario
Comment 1 Rebecca Hauck 2012-11-29 16:17:28 PST
Created attachment 176845 [details]
test case to reproduce bug
Comment 2 Mihnea Ovidenie 2013-01-24 07:55:44 PST
Created attachment 184494 [details]
Patch
Comment 3 Alexandru Chiculita 2013-01-24 09:45:36 PST
Comment on attachment 184494 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=184494&action=review

> Source/WebCore/rendering/RenderReplaced.cpp:146
>              completelyClippedOut = true;

How does this work with the overflow of the RenderRegion? It looks like it will just not paint the overflow at all.
Comment 4 Mihnea Ovidenie 2013-02-18 12:22:27 PST
Created attachment 188929 [details]
Patch

The fix for https://bugs.webkit.org/show_bug.cgi?id=74132 also fixed this bug. I still think it deserves a test.
Comment 5 Mihnea Ovidenie 2013-02-21 08:50:26 PST
Created attachment 189539 [details]
Patch for landing
Comment 6 WebKit Review Bot 2013-02-21 09:11:14 PST
Comment on attachment 189539 [details]
Patch for landing

Clearing flags on attachment: 189539

Committed r143613: <http://trac.webkit.org/changeset/143613>
Comment 7 WebKit Review Bot 2013-02-21 09:11:17 PST
All reviewed patches have been landed.  Closing bug.