summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/painting/reftests/non-scaling-stroke-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/painting/reftests/non-scaling-stroke-001.html')
-rw-r--r--testing/web-platform/tests/svg/painting/reftests/non-scaling-stroke-001.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/painting/reftests/non-scaling-stroke-001.html b/testing/web-platform/tests/svg/painting/reftests/non-scaling-stroke-001.html
new file mode 100644
index 0000000000..a9870ac8bb
--- /dev/null
+++ b/testing/web-platform/tests/svg/painting/reftests/non-scaling-stroke-001.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<title>non-scaling-stroke with scaling</title>
+<link rel="help" href="https://svgwg.org/svg2-draft/painting.html#PaintingVectorEffects" />
+<link rel="match" href="green-100x100.svg" />
+<body>
+ <style>
+ body {
+ border: none;
+ margin: 0;
+ width: 200px;
+ height: 200px;
+ transform: scale(2);
+ }
+ svg {
+ width: 100px;
+ height: 100px;
+ }
+ rect {
+ fill: red;
+ stroke: green;
+ stroke-width: 50px;
+ vector-effect: non-scaling-stroke;
+ }
+ </style>
+ <svg>
+ <rect width="75" height="75"/>
+ </svg>
+</body>
+</html>