Sanitize url refs in SVG attributes
Add some tests. Sync with latest HTML5lib (includes above sanitization improvements).
This commit is contained in:
parent
ae82f1be49
commit
5208bbf0af
28 changed files with 1277 additions and 735 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue