-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix regression from last release - the handling of self closing svg t…
…ags was broken
- Loading branch information
Showing
12 changed files
with
104 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
.../resources/org/htmlunit/cyberneko/testfiles/strage-stuff/test-0002.html.canonical-frg.nyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(select<style | ||
)select<style | ||
"k | ||
(input<< | ||
)input<< | ||
"input/onfocus=alert(1)> |
12 changes: 12 additions & 0 deletions
12
...test/resources/org/htmlunit/cyberneko/testfiles/strage-stuff/test-0002.html.canonical.nyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
(HTML | ||
(head | ||
)head | ||
(BODY | ||
(select<style | ||
)select<style | ||
"k | ||
(input<< | ||
)input<< | ||
"input/onfocus=alert(1)> | ||
)BODY | ||
)HTML |
6 changes: 6 additions & 0 deletions
6
.../resources/org/htmlunit/cyberneko/testfiles/strage-stuff/test-0003.html.canonical-frg.nyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(select<style | ||
)select<style | ||
"W | ||
(xmp<script | ||
"alert(1) | ||
)xmp<script |
12 changes: 12 additions & 0 deletions
12
...test/resources/org/htmlunit/cyberneko/testfiles/strage-stuff/test-0003.html.canonical.nyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
(HTML | ||
(head | ||
)head | ||
(BODY | ||
(select<style | ||
)select<style | ||
"W | ||
(xmp<script | ||
"alert(1) | ||
)xmp<script | ||
)BODY | ||
)HTML |
6 changes: 6 additions & 0 deletions
6
.../resources/org/htmlunit/cyberneko/testfiles/strage-stuff/test-0006.html.canonical-frg.nyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(select<style | ||
)select<style | ||
"k | ||
(input<< | ||
)input<< | ||
"input/onfocus=alert(1)> |
12 changes: 12 additions & 0 deletions
12
...test/resources/org/htmlunit/cyberneko/testfiles/strage-stuff/test-0006.html.canonical.nyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
(HTML | ||
(head | ||
)head | ||
(BODY | ||
(select<style | ||
)select<style | ||
"k | ||
(input<< | ||
)input<< | ||
"input/onfocus=alert(1)> | ||
)BODY | ||
)HTML |
1 change: 1 addition & 0 deletions
1
src/test/resources/org/htmlunit/cyberneko/testfiles/svg/test-svg-self-closing.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<html><body><svg><path fill='#4285F4' /><path fill='#34A853'/></svg></body></html> |
14 changes: 14 additions & 0 deletions
14
src/test/resources/org/htmlunit/cyberneko/testfiles/svg/test-svg-self-closing.html.canonical
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
(html | ||
(head | ||
)head | ||
(body | ||
(svg | ||
(path | ||
Afill #4285F4 | ||
)path | ||
(path | ||
Afill #34A853 | ||
)path | ||
)svg | ||
)body | ||
)html |
11 changes: 11 additions & 0 deletions
11
...resources/org/htmlunit/cyberneko/testfiles/unknown/test-unknown-closed.html.canonical.nyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
(html | ||
(head | ||
)head | ||
(BODY | ||
(foo | ||
)foo | ||
(title | ||
"ti1234 | ||
)title | ||
)BODY | ||
)html |
14 changes: 14 additions & 0 deletions
14
...org/htmlunit/cyberneko/testfiles/unknown/test-unknown-element-head.html.canonical-frg.nyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
(html | ||
(head | ||
(unknown1 | ||
)unknown1 | ||
(title | ||
"foo | ||
)title | ||
(unknown2 | ||
)unknown2 | ||
(unknown3 | ||
)unknown3 | ||
"\n | ||
)head | ||
)html |