mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Move border_radius_clip_a.html to wpt reftests.
This commit is contained in:
parent
ecc90eb6dd
commit
027609a2bf
4 changed files with 26 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
27
tests/wpt/mozilla/tests/css/border_radius_clip_a.html
Normal file
27
tests/wpt/mozilla/tests/css/border_radius_clip_a.html
Normal 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>
|
||||
|
18
tests/wpt/mozilla/tests/css/border_radius_clip_ref.html
Normal file
18
tests/wpt/mozilla/tests/css/border_radius_clip_ref.html
Normal 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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue