Bug 188242 - image overflows the border when using border-radius
Summary: image overflows the border when using border-radius
Status: REPORTED
Alias: None
Product: konqueror
Classification: Unclassified
Component: khtml (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal with 3 votes (vote)
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 12:10 UTC by Pavol Rusnak
Modified: 2018-11-16 05:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase (16.90 KB, application/bzip2)
2009-03-27 12:10 UTC, Pavol Rusnak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavol Rusnak 2009-03-27 12:10:01 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

The behaviour and the workaround is described here:
http://stick.gk2.sk/blog/2009/03/image-with-rounded-corners-using-css3/

I'm attaching the testcase. Also I'm not sure if the behaviour is a bug or a feature according to CSS 3 specification.
Comment 1 Pavol Rusnak 2009-03-27 12:10:22 UTC
Created attachment 32433 [details]
testcase
Comment 3 Germain Garand 2009-03-27 16:16:57 UTC
hmm, yes this might be a correct issue, though your testcase would need to define overflow:hidden to be correct..

wait, the css3 draft suggests to apply overflow:hidden as default style to replaced elements, precisely because of this - so could stay as is.

anyway, we'd need to handle border-radius on layers, which isn't going to be super straightforward...

errm, what are we supposed to do with overflow:scroll? round-clip the scrollbar ends, maybe making the scroll arrows unaccessible?!
Comment 4 codyregister+kdebugzilla 2009-06-18 05:04:44 UTC
In my testing even the workaround of adding it as a background does not fix the issue. Also overflow: hidden; does not help. My background image still extends past the rounded border. I'm about 95% sure that overflow: hidden; didn't help with the real image either. I'll just throw this idea out here. For the scroll bars they could just be restricted to the inside edge of the curve and therefore remain visible. This testing was all in Konqueror 4.2.4 under Kubuntu's packaging of KDE 4.2.4
Comment 5 Neil Skrypuch 2009-08-23 04:55:14 UTC
4.3.0 doesn't clip the background-color for text inputs either, see bug 204826.
Comment 6 Andrew Crouthamel 2018-11-02 23:03:30 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-11-16 05:23:12 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!