Home
last modified time | relevance | path

Searched refs:tagName (Results 1 – 25 of 242) sorted by relevance

12345678910

/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLTreeBuilderSimulator.cpp43 const String& tagName = token.data(); in tokenExitsForeignContent() local
44 return threadSafeMatch(tagName, bTag) in tokenExitsForeignContent()
45 || threadSafeMatch(tagName, bigTag) in tokenExitsForeignContent()
46 || threadSafeMatch(tagName, blockquoteTag) in tokenExitsForeignContent()
47 || threadSafeMatch(tagName, bodyTag) in tokenExitsForeignContent()
48 || threadSafeMatch(tagName, brTag) in tokenExitsForeignContent()
49 || threadSafeMatch(tagName, centerTag) in tokenExitsForeignContent()
50 || threadSafeMatch(tagName, codeTag) in tokenExitsForeignContent()
51 || threadSafeMatch(tagName, ddTag) in tokenExitsForeignContent()
52 || threadSafeMatch(tagName, divTag) in tokenExitsForeignContent()
[all …]
DHTMLStackItem.h134 const AtomicString& tagName = localName(); in isSpecialNode() local
135 return tagName == HTMLNames::addressTag in isSpecialNode()
136 || tagName == HTMLNames::appletTag in isSpecialNode()
137 || tagName == HTMLNames::areaTag in isSpecialNode()
138 || tagName == HTMLNames::articleTag in isSpecialNode()
139 || tagName == HTMLNames::asideTag in isSpecialNode()
140 || tagName == HTMLNames::baseTag in isSpecialNode()
141 || tagName == HTMLNames::basefontTag in isSpecialNode()
142 || tagName == HTMLNames::bgsoundTag in isSpecialNode()
143 || tagName == HTMLNames::blockquoteTag in isSpecialNode()
[all …]
DHTMLMetaCharsetParser.cpp100 String tagName = attemptStaticStringCreation(m_token.name(), Likely8Bit); in checkForMetaCharset() local
102 m_tokenizer->updateStateFor(tagName); in checkForMetaCharset()
103 if (threadSafeMatch(tagName, metaTag) && processMeta()) { in checkForMetaCharset()
109 if (!threadSafeMatch(tagName, scriptTag) && !threadSafeMatch(tagName, noscriptTag) in checkForMetaCharset()
110 && !threadSafeMatch(tagName, styleTag) && !threadSafeMatch(tagName, linkTag) in checkForMetaCharset()
111 && !threadSafeMatch(tagName, metaTag) && !threadSafeMatch(tagName, objectTag) in checkForMetaCharset()
112 && !threadSafeMatch(tagName, titleTag) && !threadSafeMatch(tagName, baseTag) in checkForMetaCharset()
113 … && (end || !threadSafeMatch(tagName, htmlTag)) && (end || !threadSafeMatch(tagName, headTag))) { in checkForMetaCharset()
DHTMLElementStack.h109 ElementRecord* topmost(const AtomicString& tagName) const;
120 void popUntil(const AtomicString& tagName);
122 void popUntilPopped(const AtomicString& tagName);
123 void popUntilPopped(const QualifiedName& tagName) { popUntilPopped(tagName.localName()); } in popUntilPopped() argument
142 bool contains(const AtomicString& tagName) const;
145 bool inScope(const AtomicString& tagName) const;
147 bool inListItemScope(const AtomicString& tagName) const;
149 bool inTableScope(const AtomicString& tagName) const;
151 bool inButtonScope(const AtomicString& tagName) const;
153 bool inSelectScope(const AtomicString& tagName) const;
DHTMLElementStack.cpp223 void HTMLElementStack::popUntil(const AtomicString& tagName) in popUntil() argument
225 while (!topStackItem()->matchesHTMLTag(tagName)) { in popUntil()
231 void HTMLElementStack::popUntilPopped(const AtomicString& tagName) in popUntilPopped() argument
233 popUntil(tagName); in popUntilPopped()
431 HTMLElementStack::ElementRecord* HTMLElementStack::topmost(const AtomicString& tagName) const in topmost()
434 if (pos->stackItem()->matchesHTMLTag(tagName)) in topmost()
445 bool HTMLElementStack::contains(const AtomicString& tagName) const in contains()
447 return !!topmost(tagName); in contains()
495 bool HTMLElementStack::inScope(const QualifiedName& tagName) const in inScope()
497 return inScope(tagName.localName()); in inScope()
[all …]
/external/chromium-trace/trace-viewer/src/
Dui.js67 function define(tagName, opt_parentConstructor) { argument
68 if (typeof tagName == 'function') {
73 var tagName = tagName.toLowerCase();
74 if (opt_parentConstructor && !opt_parentConstructor.tagName)
88 tagName + ' prototye\'s __proto__ field is messed up. ' +
89 'It MUST be the prototype of ' + opt_parentConstructor.tagName);
94 var tag = tagName;
97 while (parent && parent.tagName) {
98 tag = parent.tagName;
117 f.tagName = tagName;
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Ddom_predicates.js24 (nodes[i].tagName == 'INPUT' && nodes[i].type == 'checkbox')) {
40 (nodes[i].tagName == 'INPUT' && nodes[i].type == 'radio')) {
56 (nodes[i].tagName == 'INPUT' && nodes[i].type == 'range')) {
71 if (nodes[i].tagName == 'IMG' ||
72 (nodes[i].tagName == 'INPUT' && nodes[i].type == 'img')) {
88 nodes[i].tagName == 'BUTTON' ||
89 (nodes[i].tagName == 'INPUT' && nodes[i].type == 'submit') ||
90 (nodes[i].tagName == 'INPUT' && nodes[i].type == 'button') ||
91 (nodes[i].tagName == 'INPUT' && nodes[i].type == 'reset')) {
108 nodes[i].tagName == 'SELECT') {
[all …]
Ddom_util.js141 if (node.tagName == 'IFRAME' && !node.src) {
271 if (ancestor.tagName == 'FIELDSET' && ancestor.disabled) {
286 if (node.tagName) {
287 var tag = node.tagName;
326 switch (element.tagName) {
371 cvox.DomUtil.isDescendantOf = function(node, tagName, className) { argument
374 if (tagName && className &&
375 (node.tagName && (node.tagName == tagName)) &&
378 } else if (tagName && !className &&
379 (node.tagName && (node.tagName == tagName))) {
[all …]
Dmath_semantic_util.js92 cvox.SemanticUtil.tagName = function(node) { function in cvox.SemanticUtil
93 return node.tagName.toUpperCase();
127 var tagName = cvox.SemanticUtil.tagName(node);
128 if (cvox.SemanticUtil.IGNORETAGS.indexOf(tagName) != -1) continue;
129 if (cvox.SemanticUtil.EMPTYTAGS.indexOf(tagName) != -1 &&
Dselection_util.js460 cvox.SelectionUtil.hasContentWithTag = function(sel, tagName) { argument
464 if (sel.anchorNode.tagName && (sel.anchorNode.tagName == tagName)) {
467 if (sel.focusNode.tagName && (sel.focusNode.tagName == tagName)) {
470 if (sel.anchorNode.parentNode.tagName &&
471 (sel.anchorNode.parentNode.tagName == tagName)) {
474 if (sel.focusNode.parentNode.tagName &&
475 (sel.focusNode.parentNode.tagName == tagName)) {
481 return (span.getElementsByTagName(tagName).length > 0);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dxml.js48 var tagName, type;
76 tagName = "";
78 while ((c = stream.eat(/[^\s\u00a0=<>\"\'\/?]/))) tagName += c;
79 if (!tagName) return "tag error";
181 function pushContext(tagName, startOfLine) { argument
182 …var noIndent = Kludges.doNotIndent.hasOwnProperty(tagName) || (curState.context && curState.contex…
185 tagName: tagName, property
197 curState.tagName = tagName;
203 if (curState.context.tagName != tagName) {
204 if (Kludges.implicitlyClosed.hasOwnProperty(curState.context.tagName.toLowerCase())) {
[all …]
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
DJSONML.java57 String tagName = null; in parse() local
131 tagName = (String)token; in parse()
135 newja.put(tagName); in parse()
140 newjo.put("tagName", tagName); in parse()
201 if (!closeTag.equals(tagName)) { in parse()
202 throw x.syntaxError("Mismatched '" + tagName + in parse()
205 tagName = null; in parse()
312 String tagName; in toString() local
317 tagName = ja.getString(0); in toString()
318 XML.noSpace(tagName); in toString()
[all …]
/external/gtest/test/
Dgtest_xml_test_utils.py77 self.assertEquals(expected_node.tagName, actual_node.tagName)
84 actual_node.tagName, expected_attributes.keys(),
92 (expected_attr.name, actual_node.tagName))
96 (expected_attr.name, actual_node.tagName,
103 'number of child elements differ in element ' + actual_node.tagName)
107 (child_id, actual_children, actual_node.tagName))
133 self.assert_(child.tagName in self.identifying_attribute,
134 'Encountered unknown element <%s>' % child.tagName)
135 childID = child.getAttribute(self.identifying_attribute[child.tagName])
170 if element.tagName == 'testsuites':
[all …]
/external/chromium_org/testing/gtest/test/
Dgtest_xml_test_utils.py77 self.assertEquals(expected_node.tagName, actual_node.tagName)
84 actual_node.tagName, expected_attributes.keys(),
92 (expected_attr.name, actual_node.tagName))
96 (expected_attr.name, actual_node.tagName,
103 'number of child elements differ in element ' + actual_node.tagName)
107 (child_id, actual_children, actual_node.tagName))
133 self.assert_(child.tagName in self.identifying_attribute,
134 'Encountered unknown element <%s>' % child.tagName)
135 childID = child.getAttribute(self.identifying_attribute[child.tagName])
170 if element.tagName == 'testsuites':
[all …]
/external/protobuf/gtest/test/
Dgtest_xml_test_utils.py76 self.assertEquals(expected_node.tagName, actual_node.tagName)
82 "attribute numbers differ in element " + actual_node.tagName)
89 (expected_attr.name, actual_node.tagName))
92 (expected_attr.name, actual_node.tagName))
98 "number of child elements differ in element " + actual_node.tagName)
102 (child_id, actual_children, actual_node.tagName))
128 self.assert_(child.tagName in self.identifying_attribute,
129 "Encountered unknown element <%s>" % child.tagName)
130 childID = child.getAttribute(self.identifying_attribute[child.tagName])
159 if element.tagName in ("testsuites", "testsuite", "testcase"):
[all …]
/external/chromium_org/tools/perf/utils/results_viewer/src/
Dui.js10 function createElementHelper(tagName, opt_bag) { argument
16 return doc.createElement(tagName);
42 var createFunction, tagName;
45 tagName = '';
48 tagName = tagNameOrFunction;
60 var el = createFunction(tagName, opt_propertyBag);
/external/chromium_org/chrome/renderer/resources/extensions/
Dtag_watcher.js5 function watchForTag(tagName, cb) { argument
10 $Array.forEach(queryNode.querySelectorAll(tagName), function(node) {
22 if (addedNode.tagName == tagName)
44 function addTagWatcher(tagName, cb) { argument
50 watchForTag(tagName, cb);
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dfocus_manager.js146 if (element.tagName != 'INPUT' || element.type != 'radio' ||
153 if (e && e.tagName == 'INPUT' && e.type == 'radio' &&
224 var tagName = node.tagName;
225 if (tagName != 'BUTTON' && tagName != 'INPUT') {
230 } while (node.tagName != 'BUTTON');
/external/chromium_org/tools/metrics/common/
Dpretty_print_xml.py100 self.tags_that_have_extra_newline.get(node.tagName, (1, 1, 0)))
102 s = ' ' * indent + '<' + node.tagName
113 if node.tagName not in self.attribute_order:
118 if a not in self.attribute_order[node.tagName]])
119 attributes = [a for a in self.attribute_order[node.tagName]
124 'Unrecognized attribute "%s" in tag "%s"' % (a, node.tagName))
160 if node.tagName not in self.tags_that_dont_indent:
170 close_tag = '</%s>' % node.tagName
172 if (node.tagName in self.tags_that_allow_single_line and
/external/chromium_org/third_party/WebKit/Source/web/
DWebElement.cpp60 WebString WebElement::tagName() const in tagName() function in blink::WebElement
62 return constUnwrap<Element>()->tagName(); in tagName()
65 bool WebElement::hasTagName(const WebString& tagName) const in hasTagName()
67 return equalIgnoringCase(constUnwrap<Element>()->tagName(), in hasTagName()
68 tagName.operator String()); in hasTagName()
71 bool WebElement::hasHTMLTagName(const WebString& tagName) const in hasHTMLTagName()
79 …s::xhtmlNamespaceURI == element->namespaceURI() && element->localName() == String(tagName).lower(); in hasHTMLTagName()
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
DCustomElementRegistry.cpp84 QualifiedName tagName = QualifiedName::null(); in registerElement() local
85 if (!constructorBuilder->validateOptions(type, tagName, exceptionState)) in registerElement()
88 …ASSERT(tagName.namespaceURI() == HTMLNames::xhtmlNamespaceURI || tagName.namespaceURI() == SVGName… in registerElement()
107 const CustomElementDescriptor descriptor(type, tagName.namespaceURI(), tagName.localName()); in registerElement()
DCustomElementRegistrationContext.cpp71 …lementRegistrationContext::createCustomTagElement(Document& document, const QualifiedName& tagName) in createCustomTagElement() argument
73 ASSERT(CustomElement::isValidName(tagName.localName())); in createCustomTagElement()
77 if (HTMLNames::xhtmlNamespaceURI == tagName.namespaceURI()) { in createCustomTagElement()
78 element = HTMLElement::create(tagName, document); in createCustomTagElement()
79 } else if (SVGNames::svgNamespaceURI == tagName.namespaceURI()) { in createCustomTagElement()
80 element = SVGUnknownElement::create(tagName, document); in createCustomTagElement()
83 return Element::create(tagName, &document); in createCustomTagElement()
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/
Dui.js31 function createElementHelper(tagName, opt_bag) { argument
38 return doc.createElement(tagName);
64 var createFunction, tagName;
67 tagName = '';
70 tagName = tagNameOrFunction;
82 var el = createFunction(tagName, opt_propertyBag);
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DVTTParser.h75 static inline bool isRecognizedTag(const AtomicString& tagName) in isRecognizedTag() argument
77 return tagName == HTMLNames::iTag in isRecognizedTag()
78 || tagName == HTMLNames::bTag in isRecognizedTag()
79 || tagName == HTMLNames::uTag in isRecognizedTag()
80 || tagName == HTMLNames::rubyTag in isRecognizedTag()
81 || tagName == HTMLNames::rtTag; in isRecognizedTag()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLUnknownElement.h39 …static PassRefPtrWillBeRawPtr<HTMLUnknownElement> create(const QualifiedName& tagName, Document& d… in create() argument
41 return adoptRefWillBeNoop(new HTMLUnknownElement(tagName, document)); in create()
47 HTMLUnknownElement(const QualifiedName& tagName, Document& document) in HTMLUnknownElement() argument
48 : HTMLElement(tagName, document) in HTMLUnknownElement()

12345678910