From 71ed1e3e50d635a3ee8f55ebf22732c166772672 Mon Sep 17 00:00:00 2001 From: MacDue Date: Mon, 17 Apr 2023 01:24:06 +0100 Subject: [PATCH] Base: Add SVG `preserveAspectRatio` demo page --- .../html/misc/svg-preserve-aspect-ratio.html | 185 ++++++++++++++++++ Base/res/html/misc/welcome.html | 1 + 2 files changed, 186 insertions(+) create mode 100644 Base/res/html/misc/svg-preserve-aspect-ratio.html diff --git a/Base/res/html/misc/svg-preserve-aspect-ratio.html b/Base/res/html/misc/svg-preserve-aspect-ratio.html new file mode 100644 index 0000000000..e1f345d504 --- /dev/null +++ b/Base/res/html/misc/svg-preserve-aspect-ratio.html @@ -0,0 +1,185 @@ + + + + +
+xMidYMid meet
+ + + +
+ +
+xMinYMid meet
+ + + +
+ +
+xMaxYMid meet
+ + + +
+ + +
+xMidYMin slice
+ + + +
+ +
+xMidYMid slice
+ + + +
+ +
+xMidYMax slice
+ + + +
+ + +
+ xMidYMin meet
+ + + +
+ +
+ xMidYMid meet
+ + + + +
+ +
+ xMidYMax meet
+ + + +
+ + +
+ xMinYMid slice
+ + + +
+ +
+ xMidYMid slice
+ + + +
+ +
+ xMaxYMid slice
+ + + +
+ + +
+ none
+ + + +
diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index 2024e8a952..03c0ecb340 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -71,6 +71,7 @@
  • pre
  • svg
  • svg transforms
  • +
  • svg preserveAspectRatio
  • small
  • link
  • links with fragments