File tree 3 files changed +0
-55
lines changed
html5lib/tests/serializer-testdata
3 files changed +0
-55
lines changed Original file line number Diff line number Diff line change 38
38
]
39
39
]
40
40
],
41
- "xhtml": [
42
- "<span title=\"foo\">"
43
- ],
44
41
"description": "proper attribute value non-quoting"
45
42
},
46
43
{
61
58
]
62
59
]
63
60
],
64
- "xhtml": [
65
- "<span title=\"foo<bar\">"
66
- ],
67
61
"description": "proper attribute value non-quoting (with <)"
68
62
},
69
63
{
264
258
]
265
259
]
266
260
],
267
- "xhtml": [
268
- "<span title=\"foo\u000bbar\">"
269
- ],
270
261
"description": "proper attribute value non-quoting (with linetab)"
271
262
},
272
263
{
300
291
{}
301
292
]
302
293
],
303
- "xhtml": [
304
- "<img />"
305
- ],
306
294
"description": "void element (as EmptyTag token)"
307
295
},
308
296
{
317
305
{}
318
306
]
319
307
],
320
- "xhtml": [
321
- "<img />"
322
- ],
323
308
"description": "void element (as StartTag token)"
324
309
},
325
310
{
365
350
"a<b>c&d"
366
351
]
367
352
],
368
- "xhtml": [
369
- "<script>a<b>c&d"
370
- ],
371
353
"description": "rcdata"
372
354
},
373
355
{
Original file line number Diff line number Diff line change 17
17
"head"
18
18
]
19
19
],
20
- "xhtml": [
21
- "<head></head>"
22
- ],
23
20
"description": "no encoding",
24
21
"options": {
25
22
"inject_meta_charset": true
42
39
"head"
43
40
]
44
41
],
45
- "xhtml": [
46
- "<head><meta charset=\"utf-8\" /></head>"
47
- ],
48
42
"description": "empytag head",
49
43
"options": {
50
44
"encoding": "utf-8",
83
77
"head"
84
78
]
85
79
],
86
- "xhtml": [
87
- "<head><meta charset=\"utf-8\" /><title>foo</title></head>"
88
- ],
89
80
"description": "head w/title",
90
81
"options": {
91
82
"encoding": "utf-8",
120
111
"head"
121
112
]
122
113
],
123
- "xhtml": [
124
- "<head><meta charset=\"utf-8\" /></head>"
125
- ],
126
114
"description": "head w/meta-charset",
127
115
"options": {
128
116
"encoding": "utf-8",
169
157
"head"
170
158
]
171
159
],
172
- "xhtml": [
173
- "<head><meta charset=\"utf-8\" /><meta charset=\"utf-8\" /></head>",
174
- "<head><meta charset=\"utf-8\" /><meta charset=\"ascii\" /></head>"
175
- ],
176
160
"description": "head w/ two meta-charset",
177
161
"options": {
178
162
"encoding": "utf-8",
212
196
"head"
213
197
]
214
198
],
215
- "xhtml": [
216
- "<head><meta charset=\"utf-8\" /><meta content=\"noindex\" name=\"robots\" /></head>"
217
- ],
218
199
"description": "head w/robots",
219
200
"options": {
220
201
"encoding": "utf-8",
265
246
"head"
266
247
]
267
248
],
268
- "xhtml": [
269
- "<head><meta content=\"noindex\" name=\"robots\" /><meta charset=\"utf-8\" /></head>"
270
- ],
271
249
"description": "head w/robots & charset",
272
250
"options": {
273
251
"encoding": "utf-8",
307
285
"head"
308
286
]
309
287
],
310
- "xhtml": [
311
- "<head><meta content=\"text/html; charset=utf-8\" http-equiv=\"content-type\" /></head>"
312
- ],
313
288
"description": "head w/ charset in http-equiv content-type",
314
289
"options": {
315
290
"encoding": "utf-8",
365
340
"head"
366
341
]
367
342
],
368
- "xhtml": [
369
- "<head><meta content=\"noindex\" name=\"robots\" /><meta content=\"text/html; charset=utf-8\" http-equiv=\"content-type\" /></head>"
370
- ],
371
343
"description": "head w/robots & charset in http-equiv content-type",
372
344
"options": {
373
345
"encoding": "utf-8",
Original file line number Diff line number Diff line change 41
41
]
42
42
]
43
43
],
44
- "xhtml": [
45
- "<button disabled=\"disabled\">"
46
- ],
47
44
"description": "quote_attr_values=true",
48
45
"options": {
49
46
"quote_attr_values": true
67
64
]
68
65
]
69
66
],
70
- "xhtml": [
71
- "<div irrelevant=\"irrelevant\">"
72
- ],
73
67
"description": "quote_attr_values=true with irrelevant",
74
68
"options": {
75
69
"quote_attr_values": true
126
120
]
127
121
]
128
122
],
129
- "xhtml": [
130
- "<div irrelevant=\"irrelevant\">"
131
- ],
132
123
"description": "minimize_boolean_attributes=false",
133
124
"options": {
134
125
"minimize_boolean_attributes": false
You can’t perform that action at this time.
0 commit comments