From c93002ac9cf9682b4a07ccb9d949f10e0c26ae75 Mon Sep 17 00:00:00 2001 From: Tomek Wiszniewski Date: Wed, 9 Sep 2015 23:36:25 +0200 Subject: [PATCH] Add HTML5 specs --- specs/html5.yaml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 specs/html5.yaml diff --git a/specs/html5.yaml b/specs/html5.yaml new file mode 100644 index 0000000..0b5702e --- /dev/null +++ b/specs/html5.yaml @@ -0,0 +1,44 @@ +overview: | + HTML5 is not namespace-aware. `parametric:…` as an attribute or element name + is treated like any other name. Setting the `xmlns` in an HTML5 document + is not needed and shouldn’t have any effect on the output. + + This set of tests is only valid in an XML document. SVG embedded in HTML5 + should pass `./html5.yml` tests instead. + +tests: + - description: Parametric attributes should work when no namespace is set. + document: | + + + + + + + expected: | + + + + + + + + - description: Setting the namespace to something else should have no effect. + document: | + + + + + + + expected: | + + + + + +