diff options
author | ot <ot@localhost> | 2007-09-07 07:40:24 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-09-07 07:40:24 +0000 |
commit | 23cb979c602284206b995c99c8098d936ee465e1 (patch) | |
tree | 28850c58698c6e789d231a9438911c9fee684ada /htdocs/dev/tests | |
parent | c6349f78e0da7ebec89f44b76b65f42435e7c6e4 (diff) | |
download | markup-validator-23cb979c602284206b995c99c8098d936ee465e1.zip markup-validator-23cb979c602284206b995c99c8098d936ee465e1.tar.gz markup-validator-23cb979c602284206b995c99c8098d936ee465e1.tar.bz2 |
regression test for http://www.w3.org/Bugs/Public/show_bug.cgi?id=857
Diffstat (limited to 'htdocs/dev/tests')
-rw-r--r-- | htdocs/dev/tests/857-svg_nodoctype.svg | 15 | ||||
-rwxr-xr-x | htdocs/dev/tests/index.html | 12 |
2 files changed, 25 insertions, 2 deletions
diff --git a/htdocs/dev/tests/857-svg_nodoctype.svg b/htdocs/dev/tests/857-svg_nodoctype.svg new file mode 100644 index 0000000..66de1c2 --- /dev/null +++ b/htdocs/dev/tests/857-svg_nodoctype.svg @@ -0,0 +1,15 @@ +<?xml version="1.0" standalone="no"?> +<svg width="5cm" height="4cm"> +<desc>Four separate rectangles + </desc> +<rect x="0.5cm" y="0.5cm" width="2cm" height="1cm"/> +<rect x="0.5cm" y="2cm" width="1cm" height="1.5cm"/> +<rect x="3cm" y="0.5cm" width="1.5cm" height="2cm"/> +<rect x="3.5cm" y="3cm" width="1cm" height="0.5cm"/> + +<!-- Show outline of canvas using 'rect' element --> +<rect x=".01cm" y=".01cm" width="4.98cm" height="3.98cm" + fill="none" stroke="blue" stroke-width=".02cm" /> + +</svg> + diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html index 7b0818d..200120f 100755 --- a/htdocs/dev/tests/index.html +++ b/htdocs/dev/tests/index.html @@ -1,5 +1,5 @@ -<!--#set var="revision" value="\$Id: index.html,v 1.85 2007-09-03 06:57:40 ot Exp $" ---><!--#set var="date" value="\$Date: 2007-09-03 06:57:40 $" +<!--#set var="revision" value="\$Id: index.html,v 1.86 2007-09-07 07:40:24 ot Exp $" +--><!--#set var="date" value="\$Date: 2007-09-07 07:40:24 $" --><!--#set var="title" value="The W3C Markup Validation Service: Tests" --><!--#set var="relroot" value="../../" --><!--#include virtual="../../header.html" --> @@ -623,6 +623,14 @@ All these documents should validate, without "pretty print" for the document typ <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/long-lines.html">Long Lines</a> (cause a core)</li> <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/trailing-nul.html">A trailing ASCII NUL character</a> (trips up HTML::Parser (not really))</li> <li><a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/colons.html">Undeclared namespace prefixes</a> (colons ":" in element names (trips up parsing of onsgmls output))</li> + <li> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/857-svg_nodoctype.svg;doctype=SVG+1.1;ss=1">validate</a> - + <a href="http://validator.w3.org/check?uri=qa-dev.w3.org/wmvs/HEAD/dev/tests/857-svg_nodoctype.svg;doctype=SVG+1.1;ss=1">with v.w.o</a> - <a href="857-svg_nodoctype.svg">view</a>: + Test of doctype override for SVG document with no doctype, but an XML decl. The doctype should sneak between + the XML decl and the root svg start tag. (<a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=857" title="Bug 857 - DOCTYPE Override should take XML Decl into account."> 857 - DOCTYPE Override</a>) + </li> + + </ul> |