Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply border-radius to img, canvas, iframe #17589

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Added tests

  • Loading branch information
streichgeorg committed Jul 2, 2017
commit ebb7c6d02cc4c11db416960a30e34bba734bcc98
{}
]
],
"css/css-backgrounds-3/image-with-border-radius.html": [
[
"/css/css-backgrounds-3/image-with-border-radius.html",
[
[
"/css/css-backgrounds-3/image-with-border-radius.ref.html",
"=="
]
],
{}
]
],
"css/css-backgrounds-3/scroll-positioned-multiple-background-images.html": [
[
"/css/css-backgrounds-3/scroll-positioned-multiple-background-images.html",
"f8b27b21849c4bda9171a82f463a661610c05a65",
"reftest"
],
"css/css-backgrounds-3/image-with-border-radius.html": [
"01fc5ba08e0190871d1af5af5bf5f8753328b806",
"reftest"
],
"css/css-backgrounds-3/justfortest.html": [
"da39a3ee5e6b4b0d3255bfef95601890afd80709",
"support"
@@ -0,0 +1,13 @@
<!doctype html>
<meta charset="utf-8">
<title>Image with border-radius</title>
<link rel="match" href="reference/image-with-border-radius.ref.html">
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius">

<style>
#image {
border-radius: 15px;
}
</style>

<img src="support/60x60-green.png" id="image"/>
@@ -0,0 +1,12 @@
<!doctype html>
<meta charset="utf-8">

<style>
#green {
width: 60px;
height: 60px;
border-radius: 15px;
}
</style>

<div id="green"><div/>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.