Home | History | Annotate | Download | only in test

Lines Matching refs:html

109 <!DOCTYPE html PUBLIC 'foo'>
110 <HTML>&entity;&#32;
118 </Html>
121 ("decl", "DOCTYPE html PUBLIC 'foo'"),
123 ("starttag", "html", []),
135 ("endtag", "html"),
220 # from http://www.w3.org/QA/2002/04/valid-dtd-list.html
221 dtds = ['HTML', # HTML5 doctype
222 ('HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" '
224 ('HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" '
226 ('html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" '
228 ('html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" '
232 ('html PUBLIC "-//W3C//DTD '
237 'html PUBLIC "-//IETF//DTD HTML 2.0//EN"',
238 'html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"']
245 html = ('<img width=902 height=250px '
255 self._run_check(html, expected)
256 html = ('<a / /foo/ / /=/ / /bar/ / />'
262 self._run_check(html, expected)
264 html = ('<meta><meta / ><meta // ><meta / / >'
272 self._run_check(html, expected)
293 # see http://www.w3.org/TR/html5/tokenization.html#end-tag-open-state
295 html = ('<br></label</p><br></div end tmAd-leaderBoard><br></<h4><br>'
315 self._run_check(html, expected)
322 html = '<b>This</b attr=">"> confuses the parser'
327 self._run_check(html, expected)
351 # these two should be invalid according to the HTML 5 spec,
377 '</script' + '>' </html> </head> </scripter>!"""
434 u"<a title='\u30c6\u30b9\u30c8' href='\u30c6\u30b9\u30c8.html'>",
436 ("href", u"\u30c6\u30b9\u30c8.html")])])
438 u'<a title="\u30c6\u30b9\u30c8" href="\u30c6\u30b9\u30c8.html">',
440 ("href", u"\u30c6\u30b9\u30c8.html")])])
459 "<html foo='&euro;&amp;&#97;&#x61;&unsupported;'>",
460 [("starttag", "html", [("foo", u"\u20AC&aa&unsupported;")])])
474 html = (
490 self._run_check(html, expected)
518 self._run_check("<a href=javascript:popup('/popup/help.html')>",
520 [("href", "javascript:popup('/popup/help.html')")])])
530 html = ("<!-- I'm a valid comment -->"
544 self._run_check(html, expected)
547 html = ('<! not really a comment >'
560 self._run_check(html, expected)
563 html = ('<!--[if IE & !(lte IE 8)]>aren\'t<![endif]-->'
569 self._run_check(html, expected)
573 html = ('<![if !(IE)]>broken condcom<![endif]>'
602 self._run_check(html, expected)