tree: e6799513d65a820e2f64610e30c4c0760ef5c6e9 [path history] [tgz]
  1. animations/
  2. coordinate-systems/
  3. embedded/
  4. extensibility/
  5. geometry/
  6. images/
  7. import/
  8. interact/
  9. linking/
  10. painting/
  11. path/
  12. pservers/
  13. render/
  14. rendering/
  15. scripted/
  16. shapes/
  17. struct/
  18. styling/
  19. svg-in-svg/
  20. text/
  21. types/
  22. historical-expected.txt
  23. historical.html
  24. idlharness.window-expected.txt
  25. idlharness.window.html
  26. idlharness.window.js
  27. META.yml
  28. README.md
  29. w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/svg/README.md

The import directory contains tests imported from the SVG 1.1 Second Edition test suite, 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) and then need to be converted to reftests or testharness.js-based tests.

The SVG 1.1 test suite came with reference PNGs 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.