mirror of
https://github.com/servo/servo.git
synced 2025-08-17 19:35:33 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>Border radius clipping</title>
|
||||
<link href="mailto:liz@oupeng.com" rel="author" title="zhouli">
|
||||
<link href="http://www.w3.org/TR/css3-background/#corner-clipping" rel="help">
|
||||
<link href="reference/border-radius-clipping-ref.htm" rel="match">
|
||||
<meta content="When set with 'overflow: hidden', outer container should clip background of an element insides at the corners. " name="assert">
|
||||
<style>
|
||||
#parent{
|
||||
border-radius: 15px;
|
||||
border: 1px solid blue;
|
||||
overflow: hidden;
|
||||
width: 300px;
|
||||
height: 30px;
|
||||
}
|
||||
#son{
|
||||
background-color: green;
|
||||
width: 300px;
|
||||
height: 30px;
|
||||
}
|
||||
#dummy {
|
||||
border-radius: 5000em;
|
||||
height: 10000em;
|
||||
overflow: hidden;
|
||||
width: 10000em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="parent">
|
||||
<div id="son"></div>
|
||||
</div>
|
||||
<div id="dummy">
|
||||
This should not appear if browser supports border-radius
|
||||
</div>
|
||||
<script>
|
||||
</script>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue