HomeSort by relevance Sort by last modified time
    Searched refs:Doctype (Results 1 - 19 of 19) sorted by null

  /external/chromium-trace/catapult/catapult_build/
html_checks.py 44 error_text = 'Could not find "<!DOCTYPE html>" in %s.' % path
50 if isinstance(item, bs4.Doctype) and item.lower() == 'html':
  /external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
test_lxml.py 21 from bs4.element import Comment, Doctype, SoupStrainer
49 # In lxml < 2.3.5, an empty doctype causes a segfault. Skip this
54 "Skipping doctype test for old version of lxml to avoid segfault.")
56 soup = self.soup("<!DOCTYPE>")
57 doctype = soup.contents[0]
58 self.assertEqual("", doctype.strip())
71 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
test_tree.py 24 Doctype,
    [all...]
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
lxmletree.py 26 self.children.append(Doctype(self,
52 class Doctype(object):
136 elif isinstance(node, Doctype):
137 return _base.DOCTYPE, node.name, node.public_id, node.system_id
  /external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/builder/
_htmlparser.py 31 Doctype,
96 if data.startswith("DOCTYPE "):
97 data = data[len("DOCTYPE "):]
98 elif data == 'DOCTYPE':
99 # i.e. "<!DOCTYPE>"
102 self.soup.endData(Doctype)
_lxml.py 10 from bs4.element import Comment, Doctype, NamespacedAttribute
197 def doctype(self, name, pubid, system): member in class:LXMLTreeBuilderForXML
199 doctype = Doctype.for_name_and_ids(name, pubid, system)
200 self.soup.object_was_parsed(doctype)
_html5lib.py 17 Doctype,
72 doctype = Doctype.for_name_and_ids(name, publicId, systemId)
73 self.soup.object_was_parsed(doctype)
  /external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/serialization/
serializer.js 4 Doctype = require('../common/doctype'),
43 //Enquote doctype ID
178 this.html += '<' + Doctype.serializeContent(name, publicId, systemId) + '>';
  /external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_adapters/
htmlparser2.js 3 var Doctype = require('../common/doctype');
124 var data = Doctype.serializeContent(name, publicId, systemId),
128 if (document.children[i].type === 'directive' && document.children[i].name === '!doctype') {
144 name: '!doctype',
312 return node.type === 'directive' && node.name === '!doctype';
  /external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
parse_html_deps.py 133 if isinstance(x, bs4.Doctype):
  /external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
testing.py 12 Doctype,
58 """Assert that a given doctype string is handled correctly."""
61 # Make sure a Doctype object was created.
62 doctype = soup.contents[0]
63 self.assertEqual(doctype.__class__, Doctype)
64 self.assertEqual(doctype, doctype_fragment)
67 # Make sure that the doctype was correctly associated with the
72 """Generate and parse a document with the given doctype."""
73 doctype = '<!DOCTYPE %s>' % doctype_fragmen
    [all...]
element.py 723 class Doctype(PreformattedString):
735 return Doctype(value)
737 PREFIX = u'<!DOCTYPE '
    [all...]
  /external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_construction/
location_info_mixin.js 107 //Doctype