Skip to content

Commit 69b8da5

Browse files
committed
Remove unused XHTML serializer expectations
1 parent 49cbcab commit 69b8da5

File tree

3 files changed

+0
-55
lines changed

3 files changed

+0
-55
lines changed

html5lib/tests/serializer-testdata/core.test

-18
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
]
3939
]
4040
],
41-
"xhtml": [
42-
"<span title=\"foo\">"
43-
],
4441
"description": "proper attribute value non-quoting"
4542
},
4643
{
@@ -61,9 +58,6 @@
6158
]
6259
]
6360
],
64-
"xhtml": [
65-
"<span title=\"foo&lt;bar\">"
66-
],
6761
"description": "proper attribute value non-quoting (with <)"
6862
},
6963
{
@@ -264,9 +258,6 @@
264258
]
265259
]
266260
],
267-
"xhtml": [
268-
"<span title=\"foo\u000bbar\">"
269-
],
270261
"description": "proper attribute value non-quoting (with linetab)"
271262
},
272263
{
@@ -300,9 +291,6 @@
300291
{}
301292
]
302293
],
303-
"xhtml": [
304-
"<img />"
305-
],
306294
"description": "void element (as EmptyTag token)"
307295
},
308296
{
@@ -317,9 +305,6 @@
317305
{}
318306
]
319307
],
320-
"xhtml": [
321-
"<img />"
322-
],
323308
"description": "void element (as StartTag token)"
324309
},
325310
{
@@ -365,9 +350,6 @@
365350
"a<b>c&d"
366351
]
367352
],
368-
"xhtml": [
369-
"<script>a&lt;b&gt;c&amp;d"
370-
],
371353
"description": "rcdata"
372354
},
373355
{

html5lib/tests/serializer-testdata/injectmeta.test

-28
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
"head"
1818
]
1919
],
20-
"xhtml": [
21-
"<head></head>"
22-
],
2320
"description": "no encoding",
2421
"options": {
2522
"inject_meta_charset": true
@@ -42,9 +39,6 @@
4239
"head"
4340
]
4441
],
45-
"xhtml": [
46-
"<head><meta charset=\"utf-8\" /></head>"
47-
],
4842
"description": "empytag head",
4943
"options": {
5044
"encoding": "utf-8",
@@ -83,9 +77,6 @@
8377
"head"
8478
]
8579
],
86-
"xhtml": [
87-
"<head><meta charset=\"utf-8\" /><title>foo</title></head>"
88-
],
8980
"description": "head w/title",
9081
"options": {
9182
"encoding": "utf-8",
@@ -120,9 +111,6 @@
120111
"head"
121112
]
122113
],
123-
"xhtml": [
124-
"<head><meta charset=\"utf-8\" /></head>"
125-
],
126114
"description": "head w/meta-charset",
127115
"options": {
128116
"encoding": "utf-8",
@@ -169,10 +157,6 @@
169157
"head"
170158
]
171159
],
172-
"xhtml": [
173-
"<head><meta charset=\"utf-8\" /><meta charset=\"utf-8\" /></head>",
174-
"<head><meta charset=\"utf-8\" /><meta charset=\"ascii\" /></head>"
175-
],
176160
"description": "head w/ two meta-charset",
177161
"options": {
178162
"encoding": "utf-8",
@@ -212,9 +196,6 @@
212196
"head"
213197
]
214198
],
215-
"xhtml": [
216-
"<head><meta charset=\"utf-8\" /><meta content=\"noindex\" name=\"robots\" /></head>"
217-
],
218199
"description": "head w/robots",
219200
"options": {
220201
"encoding": "utf-8",
@@ -265,9 +246,6 @@
265246
"head"
266247
]
267248
],
268-
"xhtml": [
269-
"<head><meta content=\"noindex\" name=\"robots\" /><meta charset=\"utf-8\" /></head>"
270-
],
271249
"description": "head w/robots & charset",
272250
"options": {
273251
"encoding": "utf-8",
@@ -307,9 +285,6 @@
307285
"head"
308286
]
309287
],
310-
"xhtml": [
311-
"<head><meta content=\"text/html; charset=utf-8\" http-equiv=\"content-type\" /></head>"
312-
],
313288
"description": "head w/ charset in http-equiv content-type",
314289
"options": {
315290
"encoding": "utf-8",
@@ -365,9 +340,6 @@
365340
"head"
366341
]
367342
],
368-
"xhtml": [
369-
"<head><meta content=\"noindex\" name=\"robots\" /><meta content=\"text/html; charset=utf-8\" http-equiv=\"content-type\" /></head>"
370-
],
371343
"description": "head w/robots & charset in http-equiv content-type",
372344
"options": {
373345
"encoding": "utf-8",

html5lib/tests/serializer-testdata/options.test

-9
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@
4141
]
4242
]
4343
],
44-
"xhtml": [
45-
"<button disabled=\"disabled\">"
46-
],
4744
"description": "quote_attr_values=true",
4845
"options": {
4946
"quote_attr_values": true
@@ -67,9 +64,6 @@
6764
]
6865
]
6966
],
70-
"xhtml": [
71-
"<div irrelevant=\"irrelevant\">"
72-
],
7367
"description": "quote_attr_values=true with irrelevant",
7468
"options": {
7569
"quote_attr_values": true
@@ -126,9 +120,6 @@
126120
]
127121
]
128122
],
129-
"xhtml": [
130-
"<div irrelevant=\"irrelevant\">"
131-
],
132123
"description": "minimize_boolean_attributes=false",
133124
"options": {
134125
"minimize_boolean_attributes": false

0 commit comments

Comments
 (0)