summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-radius/corner-joins-1-ref.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/border-radius/corner-joins-1-ref.xhtml
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/border-radius/corner-joins-1-ref.xhtml')
-rw-r--r--layout/reftests/border-radius/corner-joins-1-ref.xhtml89
1 files changed, 89 insertions, 0 deletions
diff --git a/layout/reftests/border-radius/corner-joins-1-ref.xhtml b/layout/reftests/border-radius/corner-joins-1-ref.xhtml
new file mode 100644
index 0000000000..1b0ba24a6b
--- /dev/null
+++ b/layout/reftests/border-radius/corner-joins-1-ref.xhtml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:svg="http://www.w3.org/2000/svg">
+<head>
+<title>border</title>
+<style type="text/css">
+@namespace url("http://www.w3.org/1999/xhtml");
+@namespace svg url("http://www.w3.org/2000/svg");
+
+div.wrapper {
+ float: left;
+ margin-left: 20px;
+ margin-top: 10px;
+}
+
+div.cover, div.cover2 {
+ position: absolute;
+ border: 4px solid white; /* cover areas that may differ */
+ width: 140px;
+ height: 118px;
+ border-radius: 63px;
+ margin-left: -2px;
+ margin-top: -2px;
+}
+div.cover2 {
+ height: 82px;
+ margin-top: 16px;
+ border-radius: 63px / 45px;
+}
+
+svg|svg {
+ display: block;
+ width: 146px;
+ height: 122px;
+ margin-right: -2px;
+ margin-bottom: 20px;
+}
+
+</style>
+</head>
+<body>
+<div class="wrapper">
+<div class="cover"></div>
+<div class="cover2"></div>
+<svg:svg>
+ <svg:rect x="0" y="0" width="144px" height="122px" rx="61px" ry="61px"
+ fill="blue"/>
+ <svg:rect x="0" y="18px" width="144px" height="86px" rx="61px" ry="43px"
+ fill="red"/>
+</svg:svg>
+<div class="cover"></div>
+<div class="cover2"></div>
+<svg:svg>
+ <svg:clipPath id="topclip">
+ <svg:rect x="0" y="0" width="144px" height="61px"/>
+ </svg:clipPath>
+ <svg:clipPath id="botclip">
+ <svg:rect x="0" y="61px" width="144px" height="61px"/>
+ </svg:clipPath>
+ <svg:rect x="0" y="0" width="144px" height="122px" rx="61px" ry="61px"
+ fill="black" clip-path="url(#topclip)"/>
+ <svg:rect x="0" y="0" width="144px" height="122px" rx="61px" ry="61px"
+ fill="blue" clip-path="url(#botclip)"/>
+ <svg:rect x="0" y="18px" width="144px" height="86px" rx="61px" ry="43px"
+ fill="red"/>
+</svg:svg>
+</div>
+<div class="wrapper">
+<div class="cover" style="width: 142px"></div>
+<div class="cover2" style="margin-left: -1px; border-radius: 61px / 45px"></div>
+<svg:svg>
+ <svg:rect x="0" y="0" width="146px" height="122px" rx="61px" ry="61px"
+ fill="blue"/>
+ <svg:rect x="0" y="18px" width="146px" height="86px" rx="61px" ry="43px"
+ fill="red"/>
+</svg:svg>
+<div class="cover"></div>
+<div class="cover2"></div>
+<svg:svg>
+ <svg:rect x="0" y="0" width="144px" height="122px" rx="61px" ry="61px"
+ fill="black" clip-path="url(#topclip)"/>
+ <svg:rect x="0" y="0" width="144px" height="122px" rx="61px" ry="61px"
+ fill="blue" clip-path="url(#botclip)"/>
+ <svg:rect x="0" y="18px" width="144px" height="86px" rx="61px" ry="43px"
+ fill="red"/>
+</svg:svg>
+</div>
+</body>
+</html>