HomeSort by relevance Sort by last modified time
    Searched full:openelements (Results 1 - 9 of 9) sorted by null

  /external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_construction/
parser.js 412 this.openElements = new OpenElementStack(this.document, this.treeAdapter);
475 return this.openElements.stackTop === 0 && this.fragmentContext ?
477 this.openElements.current;
521 var parent = this.openElements.currentTmplContent || this.openElements.current;
537 this.openElements.push(element);
546 this.openElements.push(tmpl);
552 this.treeAdapter.appendChild(this.openElements.current, element);
553 this.openElements.push(element);
567 var parent = this.openElements.currentTmplContent || this.openElements.current
    [all...]
location_info_mixin.js 79 patchOpenElementsStack(this.openElements, parser);
95 (token.tagName === $.BODY && this.openElements.hasInScope($.BODY)))) {
96 for (var i = this.openElements.stackTop; i >= 0; i--) {
97 var element = this.openElements.items[i];
147 var tmplContent = this.treeAdapter.getChildNodes(this.openElements.current)[0];
154 this.openElements.current.__location = null;
181 this.openElements.currentTmplContent ||
182 this.openElements.current,
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
html5parser.py 169 currentNode = self.tree.openElements[-1] if self.tree.openElements else None
179 if (len(self.tree.openElements) == 0 or
380 for node in self.tree.openElements[::-1]:
383 if node == self.tree.openElements[0]:
468 self.tree.insertComment(token, self.tree.openElements[-1])
488 if attr not in self.tree.openElements[0].attributes:
489 self.tree.openElements[0].attributes[attr] = value
690 self.tree.headPointer = self.tree.openElements[-1]
744 self.tree.openElements.pop(
    [all...]
tokenizer.py     [all...]
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treebuilders/
_base.py 153 self.openElements = []
172 for node in reversed(self.openElements):
193 if entry == Marker or entry in self.openElements:
197 while entry != Marker and entry not in self.openElements:
248 self.openElements.append(element)
261 parent = self.openElements[-1]
292 self.openElements[-1].appendChild(element)
293 self.openElements.append(element)
299 if self.openElements[-1].name not in tableInsertModeElements:
309 self.openElements.append(element
    [all...]
etree_lxml.py 281 element = self.openElements[0]._element
366 self.openElements.append(root_element)
  /external/owasp/sanitizer/src/main/org/owasp/html/
TagBalancingHtmlStreamEventReceiver.java 51 private final List<ElementContainmentInfo> openElements
60 if (openElements.size() > limit) {
71 for (int i = Math.min(nestingLimit, openElements.size()); --i >= 0;) {
72 underlying.closeTag(openElements.get(i).elementName);
74 openElements.clear();
84 if (openElements.size() < nestingLimit) {
92 if (openElements.size() < nestingLimit) {
96 openElements.add(elInfo);
101 int nOpen = openElements.size();
103 ElementContainmentInfo top = openElements.get(nOpen - 1)
    [all...]
  /external/owasp/sanitizer/distrib/javadoc/src-html/org/owasp/html/
TagBalancingHtmlStreamEventReceiver.html 54 <FONT color="green">051</FONT> private final List&lt;ElementContainmentInfo&gt; openElements<a name="line.51"></a>
63 <FONT color="green">060</FONT> if (openElements.size() &gt; limit) {<a name="line.60"></a>
74 <FONT color="green">071</FONT> for (int i = Math.min(nestingLimit, openElements.size()); --i &gt;= 0;) {<a name="line.71"></a>
75 <FONT color="green">072</FONT> underlying.closeTag(openElements.get(i).elementName);<a name="line.72"></a>
77 <FONT color="green">074</FONT> openElements.clear();<a name="line.74"></a>
87 <FONT color="green">084</FONT> if (openElements.size() &lt; nestingLimit) {<a name="line.84"></a>
95 <FONT color="green">092</FONT> if (openElements.size() &lt; nestingLimit) {<a name="line.92"></a>
99 <FONT color="green">096</FONT> openElements.add(elInfo);<a name="line.96"></a>
104 <FONT color="green">101</FONT> int nOpen = openElements.size();<a name="line.101"></a>
106 <FONT color="green">103</FONT> ElementContainmentInfo top = openElements.get(nOpen - 1);<a name="line.103"></a
    [all...]
  /external/owasp/sanitizer/distrib/lib/
owasp-java-html-sanitizer.jar 

Completed in 2617 milliseconds