gfx: Add elliptical border radius support

This commit is contained in:
Bryan Bell 2015-08-31 19:59:02 -07:00
parent 7474b29510
commit 3e5fb49b6f
9 changed files with 603 additions and 305 deletions

View file

@ -64,6 +64,7 @@ flaky_cpu == append_style_a.html append_style_b.html
== border_radius_asymmetric_sizes_a.html border_radius_asymmetric_sizes_ref.html
== border_radius_clip_a.html border_radius_clip_ref.html
!= border_radius_dashed_a.html border_radius_dashed_ref.html
== border_radius_elliptical_a.html border_radius_elliptical_ref.html
== border_radius_overlapping_a.html border_radius_overlapping_ref.html
== border_spacing_a.html border_spacing_ref.html
== border_spacing_auto_layout_a.html border_spacing_ref.html

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<style type="text/css">
div.box {
background: white;
border-width: 15px 15px 15px 15px;
border-color: yellow red green blue;
border-style: solid;
border-top-left-radius: 100px 100px;
border-top-right-radius: 200px 100px;
border-bottom-right-radius: 100px 200px;
border-bottom-left-radius: 200px 200px;
height: 500px;
width: 500px;
}
</style>
</head>
<body>
<h2>Border Radius - Elliptical</h2>
<div id="box1" class="box top"></div><br>
</body>
</html>

View file

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<style type="text/css">
#box1-top {
background: white;
border-width: 15px 15px 0px 15px;
border-color: yellow red green blue;
border-style: solid;
border-top-left-radius: 100px 100px;
border-top-right-radius: 200px 100px;
height: 240px;
width: 500px;
margin: 0px;
}
#box1-middle {
background: white;
margin: 0px;
border-width: 0px 15px 0px 15px;
border-color: yellow red green blue;
border-style: solid;
height: 20px;
width: 500px;
}
#box1-bottom {
background: white;
border-width: 0px 15px 15px 15px;
border-color: yellow red green blue;
border-style: solid;
border-bottom-right-radius: 100px 200px;
border-bottom-left-radius: 200px 200px;
height: 240px;
width: 500px;
margin: 0px;
}
</style>
</head>
<body>
<h2>Border Radius - Elliptical</h2>
<div id="box1-top"></div>
<div id="box1-middle"></div>
<div id="box1-bottom"></div><br>
</body>
</html>