summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/svg-integration/box-decoration-break-01.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/svg/svg-integration/box-decoration-break-01.xhtml
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/svg/svg-integration/box-decoration-break-01.xhtml')
-rw-r--r--layout/reftests/svg/svg-integration/box-decoration-break-01.xhtml41
1 files changed, 41 insertions, 0 deletions
diff --git a/layout/reftests/svg/svg-integration/box-decoration-break-01.xhtml b/layout/reftests/svg/svg-integration/box-decoration-break-01.xhtml
new file mode 100644
index 0000000000..a033175cd0
--- /dev/null
+++ b/layout/reftests/svg/svg-integration/box-decoration-break-01.xhtml
@@ -0,0 +1,41 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta charset="utf-8" />
+ <title>Test of box-decoration-break with clip-path: url</title>
+ <style>
+ .clone {
+ box-decoration-break: clone;
+ }
+ span {
+ font: 24px sans-serif;
+ line-height: 2;
+ color: lime;
+ background: lime;
+ clip-path: url(#path);
+ }
+ br {
+ line-height: 0;
+ }
+ </style>
+</head>
+<body>
+ <h2>Box-Decoration-Break: Clone</h2>
+ <span class="clone">The<br />quick<br />orange fox</span>
+
+ <h2>Box-Decoration-Break: Slice</h2>
+ <span>The<br />quick<br />orange fox</span>
+
+ <svg xmlns="http://www.w3.org/2000/svg" height="0">
+ <defs>
+ <clipPath id="path" clipPathUnits="objectBoundingBox">
+ <rect x="0" y="0" width="1" height="0.3"/>
+ </clipPath>
+ </defs>
+ </svg>
+</body>
+</html>