Bug 51848 - position relative kills image clipping by parent div
Summary: position relative kills image clipping by parent div
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh Intel OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/chLBR/4/
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-03 13:23 PST by drew
Modified: 2011-06-14 08:26 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description drew 2011-01-03 13:23:49 PST
When using border radius on a parent element, I believe the assumption is it should clip all child items, especially if it's set as overflow: hidden;

For some reason this does in fact work until the parent element is set to position: relative;

I don't believe this is intended behavior, correct me if I'm wrong.
Comment 1 drew 2011-01-03 13:24:23 PST
testcase is in the URL field.
Comment 2 Jon Leighton 2011-06-14 08:26:56 PDT
I can confirm this. Tested with 13.0.782.20 dev. Firefox renders it correctly (if the -webkit prefix is removed).