summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/README.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/svg/README.md
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/svg/README.md')
-rw-r--r--testing/web-platform/tests/svg/README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/README.md b/testing/web-platform/tests/svg/README.md
new file mode 100644
index 0000000000..ee86b537ae
--- /dev/null
+++ b/testing/web-platform/tests/svg/README.md
@@ -0,0 +1,27 @@
+The `import` directory contains tests imported from the [SVG 1.1 Second
+Edition test suite](http://www.w3.org/Graphics/SVG/Test/20110816/),
+with tests renamed to contain `-manual` in their name. These tests need
+review to verify that they are still correct for the latest version of
+SVG (which at the time of writing is [SVG 2](https://svgwg.org/svg2-draft/))
+and then need to be converted to reftests or testharness.js-based
+tests.
+
+The SVG 1.1 test suite came with [reference
+PNGs](http://dev.w3.org/SVG/profiles/1.1F2/test/png/) for each test,
+which, while not suitable as exact reftest reference files, at least
+give a rough indication of what the test should look like. For some
+tests, such as those involving filters, the test pass criteria are
+written with reference to the PNGs. When converting the tests to
+reftests or testharness.js-based tests, you might want to consult the
+reference PNG.
+
+Tests should be placed in a directory named after the SVG 2 chapter name
+(for example in the `shapes/` directory for Basic Shapes chapter tests).
+Scripted tests should be placed under a `scripted/` subdirectory and
+reftests under a `reftests/` subdirectory, within the chapter directory.
+Filenames for tests of DOM methods and properties should start with
+*InterfaceName*.*methodOrPropertyName*, such as
+`types/scripted/SVGElement.ownerSVGElement-01.html`.
+
+Direct questions about the imported SVG 1.1 tests to
+[Cameron McCormack](mailto:cam@mcc.id.au).