Sanitize url refs in SVG attributes

Add some tests.
Sync with latest HTML5lib (includes above sanitization improvements).
This commit is contained in:
Jacques Distler 2007-10-27 17:34:29 -05:00
parent ae82f1be49
commit 5208bbf0af
28 changed files with 1277 additions and 735 deletions

View file

@ -41,7 +41,7 @@ plaintext
#data
setting html's innerHTML
#errors
XXX innerHTML EOF
Line: 1 Col: 24 XXX innerHTML EOF
#document-fragment
html
#document
@ -52,7 +52,7 @@ html
#data
<title>setting head's innerHTML</title>
#errors
Unexpected title element that belongs in head.
Line: 1 Col: 7 Unexpected start tag (title) that can be in head. Moved.
#document-fragment
head
#document