Move border_radius_clip_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-10-20 14:39:39 +02:00
parent ecc90eb6dd
commit 027609a2bf
4 changed files with 26 additions and 2 deletions

View file

@ -683,6 +683,18 @@
"url": "/_mozilla/css/border_radius_asymmetric_sizes_a.html"
}
],
"css/border_radius_clip_a.html": [
{
"path": "css/border_radius_clip_a.html",
"references": [
[
"/_mozilla/css/border_radius_clip_ref.html",
"=="
]
],
"url": "/_mozilla/css/border_radius_clip_a.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@ -4428,6 +4440,18 @@
"url": "/_mozilla/css/border_radius_asymmetric_sizes_a.html"
}
],
"css/border_radius_clip_a.html": [
{
"path": "css/border_radius_clip_a.html",
"references": [
[
"/_mozilla/css/border_radius_clip_ref.html",
"=="
]
],
"url": "/_mozilla/css/border_radius_clip_a.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@ -6930,4 +6954,4 @@
"rev": null,
"url_base": "/_mozilla/",
"version": 2
}
}

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `border-radius` causes the background to be clipped around the corners. -->
<link rel=match href=border_radius_clip_ref.html>
<style>
main {
display: block;
width: 16px;
height: 16px;
background: green;
overflow: hidden;
}
section {
display: block;
width: 256px;
height: 256px;
background: red;
border-radius: 50%;
}
</style>
</head>
<body>
<main><section></section></main>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `border-radius` causes the background to be clipped around the corners. -->
<style>
main {
display: block;
width: 16px;
height: 16px;
background: green;
}
</style>
</head>
<body>
<main></main>
</body>
</html>