Home
last modified time | relevance | path

Searched refs:DOCTYPE (Results 1 – 25 of 126) sorted by relevance

123456

/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tokenization/
Dtest3.test915 {"description":"<!DOCTYPE",
916 "input":"<!DOCTYPE",
917 "output":["ParseError", ["DOCTYPE", "", null, null, false]]},
919 {"description":"<!DOCTYPE\\u0000",
920 "input":"<!DOCTYPE\u0000",
921 "output":["ParseError", "ParseError", "ParseError", ["DOCTYPE", "\uFFFD", null, null, false]]},
923 {"description":"<!DOCTYPE\\u0008",
924 "input":"<!DOCTYPE\u0008",
925 "output":["ParseError", "ParseError", "ParseError", ["DOCTYPE", "\u0008", null, null, false]]},
927 {"description":"<!DOCTYPE\\u0009",
[all …]
Dtest2.test3 {"description":"DOCTYPE without name",
4 "input":"<!DOCTYPE>",
5 "output":["ParseError", "ParseError", ["DOCTYPE", "", null, null, false]]},
7 {"description":"DOCTYPE without space before name",
9 "output":["ParseError", ["DOCTYPE", "html", null, null, true]]},
11 {"description":"Incorrect DOCTYPE without a space before name",
13 "output":["ParseError", ["DOCTYPE", "foo", null, null, true]]},
15 {"description":"DOCTYPE with publicId",
16 "input":"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML Transitional 4.01//EN\">",
17 "output":[["DOCTYPE", "html", "-//W3C//DTD HTML Transitional 4.01//EN", null, true]]},
[all …]
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/
Ddoctype01.dat2 <!DOCTYPE html>Hello
5 | <!DOCTYPE html>
15 | <!DOCTYPE html>
25 | <!DOCTYPE html>
32 <!DOCTYPE>Hello
35 | <!DOCTYPE >
42 <!DOCTYPE >Hello
45 | <!DOCTYPE >
52 <!DOCTYPE potato>Hello
55 | <!DOCTYPE potato>
[all …]
Dtests25.dat2 <!DOCTYPE html><body><foo>A
5 | <!DOCTYPE html>
13 <!DOCTYPE html><body><area>A
16 | <!DOCTYPE html>
24 <!DOCTYPE html><body><base>A
27 | <!DOCTYPE html>
35 <!DOCTYPE html><body><basefont>A
38 | <!DOCTYPE html>
46 <!DOCTYPE html><body><bgsound>A
49 | <!DOCTYPE html>
[all …]
Dtests2.dat2 <!DOCTYPE html>Test
5 | <!DOCTYPE html>
14 Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE.
26 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
41 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
56 Line: 1 Col: 7 Unexpected start tag (frame). Expected DOCTYPE.
65 <!DOCTYPE html><frameset>test
70 | <!DOCTYPE html>
76 <!DOCTYPE html><frameset><!DOCTYPE html>
78 Line: 1 Col: 40 Unexpected DOCTYPE. Ignored.
[all …]
Dtests19.dat5 | <!DOCTYPE html>
17 | <!DOCTYPE html>
27 | <!DOCTYPE html>
37 | <!DOCTYPE html>
48 | <!DOCTYPE html>
59 | <!DOCTYPE html>
70 | <!DOCTYPE html>
81 | <!DOCTYPE html>
91 | <!DOCTYPE html>
108 | <!DOCTYPE html>
[all …]
Dtests24.dat2 <!DOCTYPE html>&NotEqualTilde;
5 | <!DOCTYPE html>
12 <!DOCTYPE html>&NotEqualTilde;A
15 | <!DOCTYPE html>
22 <!DOCTYPE html>&ThickSpace;
25 | <!DOCTYPE html>
32 <!DOCTYPE html>&ThickSpace;A
35 | <!DOCTYPE html>
42 <!DOCTYPE html>&NotSubset;
45 | <!DOCTYPE html>
[all …]
Dtests3.dat4 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
15 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
26 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
40 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
52 <!DOCTYPE html><html><head></head><body><pre>
56 | <!DOCTYPE html>
63 <!DOCTYPE html><html><head></head><body><pre>
67 | <!DOCTYPE html>
75 <!DOCTYPE html><html><head></head><body><pre>
80 | <!DOCTYPE html>
[all …]
Dtests16.dat6 | <!DOCTYPE html>
17 | <!DOCTYPE html>
29 | <!DOCTYPE html>
41 | <!DOCTYPE html>
53 | <!DOCTYPE html>
65 | <!DOCTYPE html>
77 | <!DOCTYPE html>
89 | <!DOCTYPE html>
101 | <!DOCTYPE html>
113 | <!DOCTYPE html>
[all …]
Dtests14.dat2 <!DOCTYPE html><html><body><xyz:abc></xyz:abc>
5 | <!DOCTYPE html>
12 <!DOCTYPE html><html><body><xyz:abc></xyz:abc><span></span>
15 | <!DOCTYPE html>
23 <!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>
27 | <!DOCTYPE html>
35 <!DOCTYPE html><html xml:lang=bar><html xml:lang=foo>
39 | <!DOCTYPE html>
46 <!DOCTYPE html><html 123=456>
49 | <!DOCTYPE html>
[all …]
Dtests26.dat2 <!DOCTYPE html><body><a href='#1'><nobr>1<nobr></a><br><a href='#2'><nobr>2<nobr></a><br><a href='#…
5 | <!DOCTYPE html>
34 <!DOCTYPE html><body><b><nobr>1<nobr></b><i><nobr>2<nobr></i>3
37 | <!DOCTYPE html>
55 <!DOCTYPE html><body><b><nobr>1<table><nobr></b><i><nobr>2<nobr></i>3
58 | <!DOCTYPE html>
76 <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
79 | <!DOCTYPE html>
100 <!DOCTYPE html><body><b><nobr>1<div><nobr></b><i><nobr>2<nobr></i>3
103 | <!DOCTYPE html>
[all …]
Dtests20.dat5 | <!DOCTYPE html>
17 | <!DOCTYPE html>
29 | <!DOCTYPE html>
41 | <!DOCTYPE html>
53 | <!DOCTYPE html>
65 | <!DOCTYPE html>
77 | <!DOCTYPE html>
89 | <!DOCTYPE html>
101 | <!DOCTYPE html>
113 | <!DOCTYPE html>
[all …]
Dtests18.dat5 | <!DOCTYPE html>
16 | <!DOCTYPE html>
28 | <!DOCTYPE html>
41 | <!DOCTYPE html>
55 | <!DOCTYPE html>
69 | <!DOCTYPE html>
84 | <!DOCTYPE html>
97 | <!DOCTYPE html>
112 | <!DOCTYPE html>
127 | <!DOCTYPE html>
[all …]
Dtests10.dat2 <!DOCTYPE html><svg></svg>
5 | <!DOCTYPE html>
12 <!DOCTYPE html><svg></svg><![CDATA[a]]>
16 | <!DOCTYPE html>
24 <!DOCTYPE html><body><svg></svg>
27 | <!DOCTYPE html>
34 <!DOCTYPE html><body><select><svg></svg></select>
39 | <!DOCTYPE html>
46 <!DOCTYPE html><body><select><option><svg></svg></option></select>
51 | <!DOCTYPE html>
[all …]
Dtests9.dat2 <!DOCTYPE html><math></math>
5 | <!DOCTYPE html>
12 <!DOCTYPE html><body><math></math>
15 | <!DOCTYPE html>
22 <!DOCTYPE html><math><mi>
26 | <!DOCTYPE html>
34 <!DOCTYPE html><math><annotation-xml><svg><u>
39 | <!DOCTYPE html>
49 <!DOCTYPE html><body><select><math></math></select>
54 | <!DOCTYPE html>
[all …]
Dplain-text-unsafe.dat213 <!DOCTYPE html><pre>
218 | <!DOCTYPE html>
227 <!DOCTYPE html><pre>
232 | <!DOCTYPE html>
241 <!DOCTYPE html><pre>
245 | <!DOCTYPE html>
253 <!DOCTYPE html><table><tr><td><math><mtext>�a
258 | <!DOCTYPE html>
271 <!DOCTYPE html><table><tr><td><svg><foreignObject>�a
276 | <!DOCTYPE html>
[all …]
Dtests17.dat5 | <!DOCTYPE html>
18 | <!DOCTYPE html>
32 | <!DOCTYPE html>
47 | <!DOCTYPE html>
62 | <!DOCTYPE html>
76 | <!DOCTYPE html>
86 | <!DOCTYPE html>
96 | <!DOCTYPE html>
106 | <!DOCTYPE html>
116 | <!DOCTYPE html>
[all …]
Dtests5.dat4 Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE.
17 Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE.
30 Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE.
42 Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE.
54 Line: 1 Col: 8 Unexpected start tag (iframe). Expected DOCTYPE.
66 Line: 1 Col: 8 Unexpected start tag (iframe). Expected DOCTYPE.
78 Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE.
91 Line: 1 Col: 7 Unexpected start tag (title). Expected DOCTYPE.
104 Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE.
116 Line: 1 Col: 7 Unexpected start tag (style). Expected DOCTYPE.
[all …]
Dtests7.dat5 | <!DOCTYPE html>
18 | <!DOCTYPE html>
31 | <!DOCTYPE html>
43 | <!DOCTYPE html>
55 | <!DOCTYPE html>
68 | <!DOCTYPE html>
85 | <!DOCTYPE html>
94 | <!DOCTYPE html>
103 | <!DOCTYPE html>
116 | <!DOCTYPE html>
[all …]
Dtests15.dat2 <!DOCTYPE html><p><b><i><u></p> <p>X
7 | <!DOCTYPE html>
26 Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE.
50 | <!DOCTYPE html>
61 | <!DOCTYPE html>
70 Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
83 | <!DOCTYPE html>
96 | <!DOCTYPE html>
109 | <!DOCTYPE html>
121 | <!DOCTYPE html>
[all …]
Dtests6.dat6 | <!DOCTYPE html>
18 | <!DOCTYPE html>
30 | <!DOCTYPE html>
41 | <!DOCTYPE html>
51 Line: 1 Col: 9 No space after literal string 'DOCTYPE'.
52 Line: 1 Col: 10 Unexpected > character. Expected DOCTYPE name.
53 Line: 1 Col: 10 Erroneous DOCTYPE.
55 | <!DOCTYPE >
64 Line: 1 Col: 6 Unexpected End of file. Expected DOCTYPE.
88 Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
[all …]
Dtests1.dat4 Line: 1 Col: 4 Unexpected non-space characters. Expected DOCTYPE.
14 Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE.
27 Line: 1 Col: 5 Unexpected non-space characters. Expected DOCTYPE.
43 Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
52 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
61 Line: 1 Col: 6 Unexpected start tag (body). Expected DOCTYPE.
70 Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
79 Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
88 Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
97 Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
[all …]
Ddomjs-unsafe.dat290 <!DOCTYPE html><!DOCTYPE html>
293 | <!DOCTYPE html>
299 <html><!DOCTYPE html>
307 <html><head><!DOCTYPE html></head>
315 <html><head></head><!DOCTYPE html>
323 <body></body><!DOCTYPE html>
331 <table><!DOCTYPE html></table>
340 <select><!DOCTYPE html></select>
349 <table><colgroup><!DOCTYPE html></colgroup></table>
427 <frameset></frameset><!DOCTYPE html>
[all …]
Dtests11.dat2 <!DOCTYPE html><body><svg attributeName='' attributeType='' baseFrequency='' baseProfile='' calcMod…
5 | <!DOCTYPE html>
74 <!DOCTYPE html><BODY><SVG ATTRIBUTENAME='' ATTRIBUTETYPE='' BASEFREQUENCY='' BASEPROFILE='' CALCMOD…
77 | <!DOCTYPE html>
146 <!DOCTYPE html><body><svg attributename='' attributetype='' basefrequency='' baseprofile='' calcmod…
149 | <!DOCTYPE html>
218 <!DOCTYPE html><body><math attributeName='' attributeType='' baseFrequency='' baseProfile='' calcMo…
221 | <!DOCTYPE html>
290 <!DOCTYPE html><body><svg><altGlyph /><altGlyphDef /><altGlyphItem /><animateColor /><animateMotion…
293 | <!DOCTYPE html>
[all …]
/external/owasp/sanitizer/lib/htmlparser-1.3/doc/
Dtokenization.txt32 following tokens: DOCTYPE, start tag, end tag, comment, character,
33 end-of-file. DOCTYPE tokens have a name, a public identifier, a system
34 identifier, and a force-quirks flag. When a DOCTYPE token is created,
564 match for the word "DOCTYPE", then consume those characters and switch
565 to the DOCTYPE state.
667 8.2.4.23 DOCTYPE state
675 Switch to the before DOCTYPE name state.
679 DOCTYPE name state.
681 8.2.4.24 Before DOCTYPE name state
689 Stay in the before DOCTYPE name state.
[all …]

123456