OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:html5lib
(Results
1 - 22
of
22
) sorted by null
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
test_treeadapters.py
5
import
html5lib
6
from
html5lib
.treeadapters import sax
7
from
html5lib
.treewalkers import getTreeWalker
12
tree =
html5lib
.parse("""<html xml:lang="en">
test_parser2.py
6
from
html5lib
import html5parser
7
from
html5lib
.constants import namespaces
8
from
html5lib
import treebuilders
26
# http://groups.google.com/group/
html5lib
-discuss/browse_frm/thread/f4f00e4a2f26d5c0
test_whitespace_filter.py
5
from
html5lib
.filters.whitespace import Filter
6
from
html5lib
.constants import spaceCharacters
tokenizertotree.py
8
import
html5lib
12
p =
html5lib
.HTMLParser()
test_serializer.py
13
import
html5lib
14
from
html5lib
import constants
15
from
html5lib
.serializer import HTMLSerializer, serialize
16
from
html5lib
.treewalkers._base import TreeWalker
71
"""
html5lib
tree-walkers use a dict of (namespace, name): value for
74
and "value" as keys) to
html5lib
's tree-walker format."""
150
self.treewalker =
html5lib
.getTreeWalker("lxml")
mockParser.py
11
from
html5lib
.tokenizer import HTMLTokenizer
test_encoding.py
12
from
html5lib
import HTMLParser, inputstream
test_tokenizer.py
11
from
html5lib
.tokenizer import HTMLTokenizer
12
from
html5lib
import constants, utils
test_parser.py
13
from
html5lib
import html5parser, constants
test_sanitizer.py
8
from
html5lib
import html5parser, sanitizer, constants, treebuilders
support.py
16
from
html5lib
import treebuilders
test_stream.py
10
from
html5lib
.inputstream import (BufferedStream, HTMLInputStream,
test_treewalkers.py
16
from
html5lib
import html5parser, treewalkers, treebuilders, constants
/external/chromium-trace/catapult/third_party/html5lib-python/
flake8-run.sh
9
find
html5lib
/ -name '*.py' -and -not -name 'constants.py' -print0 | xargs -0 flake8 --ignore=E501
11
flake8 --max-line-length=99 --ignore=E126
html5lib
/constants.py
parse.py
12
from
html5lib
import html5parser, sanitizer
13
from
html5lib
.tokenizer import HTMLTokenizer
14
from
html5lib
import treebuilders, serializer, treewalkers
15
from
html5lib
import constants
16
from
html5lib
import utils
/external/chromium-trace/catapult/third_party/html5lib-python/doc/
conf.py
4
#
html5lib
documentation build configuration file, created by
44
project = '
html5lib
'
55
from
html5lib
import __version__
192
('index', '
html5lib
.tex', '
html5lib
Documentation',
222
('index', '
html5lib
', '
html5lib
Documentation',
236
('index', '
html5lib
', '
html5lib
Documentation',
237
'James Graham, Geoffrey Sneddon, and contributors', '
html5lib
', 'One line description of project.'
[
all
...]
make.bat
118
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\
html5lib
.qhcp
120
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\
html5lib
.ghc
/external/chromium-trace/catapult/third_party/html5lib-python/utils/
spider.py
16
import
html5lib
17
from
html5lib
.treebuilders import etree
42
p =
html5lib
.HTMLParser(tree=etree.TreeBuilder)
entities.py
3
import
html5lib
6
return
html5lib
.parse(open(path), treebuilder="lxml")
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/builder/
_html5lib.py
13
import
html5lib
14
from
html5lib
.constants import namespaces
23
"""Use
html5lib
to build a tree."""
25
features = ['
html5lib
', PERMISSIVE, HTML_5, HTML]
35
warnings.warn("You provided a value for parse_only, but the
html5lib
tree builder doesn't support parse_only. The entire document will be parsed.")
36
parser =
html5lib
.HTMLParser(tree=self.create_treebuilder)
41
# We need to special-case this because
html5lib
sets
57
class TreeBuilderForHtml5lib(
html5lib
.treebuilders._base.TreeBuilder):
95
return
html5lib
.treebuilders._base.TreeBuilder.getFragment(self).element
118
class Element(
html5lib
.treebuilders._base.Node)
[
all
...]
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
diagnose.py
23
basic_parsers = ["html.parser", "
html5lib
", "lxml"]
39
if '
html5lib
' in basic_parsers:
40
import
html5lib
41
print "Found
html5lib
version %s" %
html5lib
.__version__
163
for parser in ["lxml", ["lxml", "html"], "
html5lib
", "html.parser"]:
182
import
html5lib
183
parser =
html5lib
.HTMLParser()
187
print "Raw
html5lib
parsed the markup in %.2fs." % (b-a)
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/fixtures/
tokenizer_test.js
19
//NOTE: append current token to the output sequence in
html5lib
test suite compatible format
Completed in 157 milliseconds