Home
last modified time | relevance | path

Searched refs:spaceCharacters (Results 1 – 9 of 9) sorted by relevance

/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_whitespace_filter.py6 from html5lib.constants import spaceCharacters
7 spaceCharacters = "".join(spaceCharacters) variable
45 {"type": "SpaceCharacters", "data": spaceCharacters},
56 {"type": "Characters", "data": spaceCharacters + "foo"},
66 {"type": "SpaceCharacters", "data": spaceCharacters},
76 {"type": "Characters", "data": "foo" + spaceCharacters},
85 {"type": "Characters", "data": "foo" + spaceCharacters + "bar"},
94 {"type": "SpaceCharacters", "data": spaceCharacters},
101 {"type": "Characters", "data": spaceCharacters + "foo"},
108 {"type": "SpaceCharacters", "data": spaceCharacters},
[all …]
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/filters/
Dwhitespace.py6 from ..constants import rcdataElements, spaceCharacters
7 spaceCharacters = "".join(spaceCharacters) variable
9 SPACES_REGEX = re.compile("[%s]+" % spaceCharacters)
Dlint.py6 from ..constants import spaceCharacters
7 spaceCharacters = "".join(spaceCharacters) variable
72 data = data.strip(spaceCharacters)
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dtokenizer.py10 from .constants import spaceCharacters
150 if (charStack[0] in spaceCharacters or charStack[0] in (EOF, "<", "&")
219 if output in spaceCharacters:
265 elif data in spaceCharacters:
270 data + self.stream.charsUntil(spaceCharacters, True)})
299 elif data in spaceCharacters:
304 data + self.stream.charsUntil(spaceCharacters, True)})
431 if data in spaceCharacters:
476 if data in spaceCharacters and appropriate:
526 if data in spaceCharacters and appropriate:
[all …]
Dconstants.py452 spaceCharacters = frozenset([ variable
Dinputstream.py8 from .constants import EOF, spaceCharacters, asciiLetters, asciiUppercase
26 spaceCharactersBytes = frozenset([item.encode("ascii") for item in spaceCharacters])
Dhtml5parser.py14 from .constants import spaceCharacters, asciiUpper2Lower
1006 any([char not in spaceCharacters
1781 if any([item not in spaceCharacters for item in data]):
2414 any(char not in spaceCharacters for char in token["data"])):
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
D_base.py17 from ..constants import voidElements, spaceCharacters
18 spaceCharacters = "".join(spaceCharacters) variable
91 middle = data.lstrip(spaceCharacters)
96 middle = data.rstrip(spaceCharacters)
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/serializer/
Dhtmlserializer.py9 from ..constants import voidElements, booleanAttributes, spaceCharacters
14 spaceCharacters = "".join(spaceCharacters) variable
247 spaceCharacters + ">\"'=", False)