summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-radius/clipping-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/border-radius/clipping-2.html')
-rw-r--r--layout/reftests/border-radius/clipping-2.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/border-radius/clipping-2.html b/layout/reftests/border-radius/clipping-2.html
new file mode 100644
index 000000000..b0630a7fb
--- /dev/null
+++ b/layout/reftests/border-radius/clipping-2.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<html><head>
+<title>Border clipping</title>
+<style>
+.div1 { width: 50px; height: 50px;
+ border: 4px dotted black;
+ border-radius: 10px;
+ position: fixed;
+ background: red;
+ left: 50px;
+ top: 50px;
+ background-clip: padding-box;
+}
+
+.div2 { width: 50px; height: 50px;
+ border: 4px dotted black;
+ border-radius: 10px;
+ position: fixed;
+ background: red;
+ left: 50px;
+ top: 140px;
+ background-clip: border-box;
+}
+
+</style>
+</head>
+<body>
+ <div class="div1"/>
+ <div class="div2"/>
+</body></html>