Skip to content

Commit 6745634

Browse files
authored
sanitizer-api: Add test cases for tables with adoption agency algorithm (#62060)
1 parent d9ca4dd commit 6745634

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

sanitizer-api/html5lib-basics.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,28 @@
6868
| <p>
6969
| "A rather boring parse context."
7070

71+
#data
72+
<table><b>a</b>bb<tr><td>y
73+
#document
74+
| <b>
75+
| "a"
76+
| "bb"
77+
| <table>
78+
| <tbody>
79+
| <tr>
80+
| <td>
81+
| "y"
82+
83+
#data
84+
<table><div>d</div><td>
85+
#document
86+
| <div>
87+
| "d"
88+
| <table>
89+
| <tbody>
90+
| <tr>
91+
| <td>
92+
7193
</script>
7294
<script>
7395
// This runs a number of simple test cases that test setHTMLUnsafe, and

0 commit comments

Comments
 (0)