WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
Bug 95648
Value of overflow not respected when the container has a rounded border
https://bugs.webkit.org/show_bug.cgi?id=95648
Summary
Value of overflow not respected when the container has a rounded border
dzmail90-dev
Reported
2012-09-01 11:37:11 PDT
When a container block has a rounded border with overflow:hidden and the content block has a position value other than static, if the content block is bigger than the container block, the content block is shown outside the container. In other words, the content block is clipped the same way as if the container block doesn't have a rounded border. This is in contrast with respect to the W3C spec: "Other effects that clip to the border or padding edge (such as ‘overflow’ other than ‘visible’) also must clip to the curve." (
http://www.w3.org/TR/css3-background/#the-border-radius
). Test case at:
http://jsfiddle.net/YuXfH/
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2012-09-04 11:39:48 PDT
This works correctly for me in Safari 6. What browser are you testing?
dzmail90-dev
Comment 2
2012-09-04 14:22:42 PDT
I've tested Chrome, both stable and unstable, and Safari 5.1.7. I got wrong info on what version of webkit Chrome has, so I thought Chrome unstable has a bleeding edge version of webkit. I was wrong. I can confirm the latest webkit version solves the problem. Sorry for that.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug