/external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/ |
acceptNode-filter.js | 4 var testElement = document.createElement("div"); 17 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 22 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, { 35 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, null, false); 41 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, undefined, false); 47 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, {}, false); 55 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, { acceptNode: "foo" }, false); 65 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 77 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
|
traversal-skip-most.js | 4 var testElement = document.createElement("div"); 17 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 22 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
|
/external/webkit/LayoutTests/storage/domstorage/events/resources/ |
eventTestHarness.js | 6 iframe = document.createElement("IFRAME"); 8 document.body.appendChild(iframe); 9 iframe.contentWindow.document.body.innerText = "Nothing to see here.";
|
/external/webkit/Source/WebCore/dom/ |
EventQueue.cpp | 31 #include "Document.h" 40 static inline bool shouldDispatchScrollEventSynchronously(Document* document) 42 ASSERT_ARG(document, document); 43 return applicationIsSafari() && (document->url().protocolIs("feed") || document->url().protocolIs("feeds")); 84 // Per the W3C CSSOM View Module, scroll events fired at the document should bubble, others should not. 88 if (shouldDispatchScrollEventSynchronously(target->document())) {
|
OptionElement.cpp | 24 #include "Document.h" 72 Document* document = element->document(); local 76 if (!document->inQuirksMode()) 80 return normalizeText(document, text); 100 String OptionElement::normalizeText(const Document* document, const String& src) 102 String text = document->displayStringModifiedByEncoding(src);
|
TreeScope.cpp | 39 TreeScope::TreeScope(Document* document, ConstructionType constructionType) 45 m_document = document; 46 if (document != this) { 47 // Assume document as parent scope 48 m_parentTreeScope = document; 69 // A document node cannot be re-parented. 71 // Every scope other than document needs a parent scope. 141 if (document()->isHTMLDocument()) 155 if (document()->inQuirksMode()) [all...] |
DocumentType.h | 35 static PassRefPtr<DocumentType> create(Document* document, const String& name, const String& publicId, const String& systemId) 37 return adoptRef(new DocumentType(document, name, publicId, systemId)); 49 DocumentType(Document*, const String& name, const String& publicId, const String& systemId);
|
ScriptRunner.h | 38 class Document; 45 static PassOwnPtr<ScriptRunner> create(Document* document) { return new ScriptRunner(document); } 56 ScriptRunner(Document*); 60 Document* m_document;
|
ScriptedAnimationController.h | 38 class Document; 45 static PassOwnPtr<ScriptedAnimationController> create(Document* document) 47 return adoptPtr(new ScriptedAnimationController(document)); 60 explicit ScriptedAnimationController(Document*); 64 Document* m_document;
|
Text.h | 34 static PassRefPtr<Text> create(Document*, const String&); 35 static PassRefPtr<Text> createWithLengthLimit(Document*, const String&, unsigned positionInString, unsigned lengthLimit = defaultLengthLimit); 47 Text(Document* document, const String& data) 48 : CharacterData(document, data, CreateText)
|
/external/webkit/Source/WebCore/html/ |
FormAssociatedElement.cpp | 59 element->document()->unregisterFormElementWithFormAttribute(this); 66 element->document()->registerFormElementWithFormAttribute(this); 73 element->document()->unregisterFormElementWithFormAttribute(this); 80 Element* formElement = element->document()->getElementById(element->fastGetAttribute(formAttr)); 137 // the first element in the document to have an ID that equal to 139 // document()->getElementById() over the given element. 140 Element* firstElement = element->document()->getElementById(formId); 161 element->document()->unregisterFormElementWithFormAttribute(this);
|
HTMLDetailsElement.cpp | 35 PassRefPtr<HTMLDetailsElement> HTMLDetailsElement::create(const QualifiedName& tagName, Document* document) 37 return adoptRef(new HTMLDetailsElement(tagName, document)); 40 HTMLDetailsElement::HTMLDetailsElement(const QualifiedName& tagName, Document* document) 41 : HTMLElement(tagName, document) 101 RefPtr<HTMLSummaryElement> defaultSummary = HTMLSummaryElement::create(summaryTag, document()); 103 defaultSummary->appendChild(Text::create(document(), defaultDetailsSummaryText()), ec);
|
HTMLHRElement.cpp | 35 HTMLHRElement::HTMLHRElement(const QualifiedName& tagName, Document* document) 36 : HTMLElement(tagName, document) 41 PassRefPtr<HTMLHRElement> HTMLHRElement::create(Document* document) 43 return adoptRef(new HTMLHRElement(hrTag, document)); 46 PassRefPtr<HTMLHRElement> HTMLHRElement::create(const QualifiedName& tagName, Document* document) 48 return adoptRef(new HTMLHRElement(tagName, document));
|
HTMLProgressElement.cpp | 45 HTMLProgressElement::HTMLProgressElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form) 46 : HTMLFormControlElement(tagName, document, form) 55 PassRefPtr<HTMLProgressElement> HTMLProgressElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form) 57 RefPtr<HTMLProgressElement> progress = adoptRef(new HTMLProgressElement(tagName, document, form)); 142 RefPtr<ProgressBarElement> bar = ProgressBarElement::create(document()); 143 m_value = ProgressValueElement::create(document());
|
HTMLFormElement.cpp | 31 #include "Document.h" 66 HTMLFormElement::HTMLFormElement(const QualifiedName& tagName, Document* document) 67 : HTMLElement(tagName, document) 80 PassRefPtr<HTMLFormElement> HTMLFormElement::create(Document* document) 82 return adoptRef(new HTMLFormElement(formTag, document)); 85 PassRefPtr<HTMLFormElement> HTMLFormElement::create(const QualifiedName& tagName, Document* document) 87 return adoptRef(new HTMLFormElement(tagName, document)); 390 HTMLDocument* document = static_cast<HTMLDocument*>(this->document()); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
DocumentBuilderImpl.java | 32 import org.w3c.dom.Document; 86 public Document newDocument() { 91 public Document parse(InputSource source) throws SAXException, IOException { 101 DocumentImpl document = new DocumentImpl( local 103 document.setDocumentURI(systemId); 125 throw new SAXParseException("Unexpected end of document", null); 128 parse(parser, document, document, XmlPullParser.END_DOCUMENT); 157 return document; 161 * Implements the whole parsing of the XML document. The XML pull parser i [all...] |
/external/webkit/Source/WebCore/loader/ |
ImageLoader.cpp | 27 #include "Document.h" 148 Document* document = m_element->document(); local 149 if (!document->renderer()) 162 if (!(attr.isNull() || (attr.isEmpty() && document->baseURI().isLocalFile()))) { 164 bool autoLoadOtherImages = document->cachedResourceLoader()->autoLoadImages(); 165 document->cachedResourceLoader()->setAutoLoadImages(false); 168 newImage->setOwningCachedResourceLoader(document->cachedResourceLoader()); 169 document->cachedResourceLoader()->m_documentResources.set(newImage->url(), newImage) [all...] |
/external/webkit/Source/WebCore/wml/ |
WMLGoElement.cpp | 48 WMLGoElement::WMLGoElement(const QualifiedName& tagName, Document* doc) 53 PassRefPtr<WMLGoElement> WMLGoElement::create(const QualifiedName& tagName, Document* document) 55 return adoptRef(new WMLGoElement(tagName, document)); 85 ASSERT(document()->isWMLDocument()); 86 WMLDocument* document = static_cast<WMLDocument*>(this->document()); local 88 WMLPageState* pageState = wmlPageStateForDocument(document); 92 WMLCardElement* card = document->activeCard(); 96 Frame* frame = document->frame() [all...] |
/external/webkit/Source/WebCore/html/parser/ |
HTMLDocumentParser.cpp | 68 || (contextTag.matches(noembedTag) && HTMLTreeBuilder::pluginsEnabled(contextElement->document()->frame())) 69 || (contextTag.matches(noscriptTag) && HTMLTreeBuilder::scriptEnabled(contextElement->document()->frame())) 81 HTMLDocumentParser::HTMLDocumentParser(HTMLDocument* document, bool reportErrors) 82 : ScriptableDocumentParser(document) 83 , m_tokenizer(HTMLTokenizer::create(usePreHTML5ParserQuirks(document))) 84 , m_scriptRunner(HTMLScriptRunner::create(document, this)) 85 , m_treeBuilder(HTMLTreeBuilder::create(this, document, reportErrors, usePreHTML5ParserQuirks(document))) 96 : ScriptableDocumentParser(fragment->document()) 97 , m_tokenizer(HTMLTokenizer::create(usePreHTML5ParserQuirks(fragment->document()))) [all...] |
/external/bluetooth/glib/tests/ |
markup-collect.c | 82 const char *document; member in struct:test 165 tests[i].document, 172 i, tests[i].document, 187 tests[i].document, tests[i].error_code); 194 tests[i].document, g_quark_to_string (error->domain)); 199 tests[i].document, error->code, tests[i].error_code); 204 tests[i].document, tests[i].error_info); 209 "but came out as '%s'", i, tests[i].document,
|
/external/webkit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/ |
transition-property-names.js | 5 var element = document.createElement('a');
|
/external/webkit/LayoutTests/fast/encoding/resources/ |
invalid-xml.js | 24 var script = document.createElement("script"); 28 document.body.appendChild(script); 38 var iframe = document.createElement("iframe"); 39 document.body.appendChild(iframe);
|
/external/webkit/LayoutTests/fast/events/touch/resources/ |
create-touch-event.js | 9 event = document.createEvent("TouchEvent");
|
/external/webkit/Source/WebCore/accessibility/ |
AccessibilityScrollbar.cpp | 59 Document* AccessibilityScrollbar::document() const function in class:WebCore::AccessibilityScrollbar 64 return parent->document();
|
/external/webkit/Source/WebCore/css/ |
CSSImportRule.cpp | 27 #include "Document.h" 68 bool needsSiteSpecificQuirks = parent && parent->document() && parent->document()->settings() && parent->document()->settings()->needsSiteSpecificQuirks(); 81 if (!parent || !parent->document() || !parent->document()->securityOrigin()->canRequest(baseURL)) 115 if (!parentSheet || !parentSheet->document()) 118 CachedResourceLoader* cachedResourceLoader = parentSheet->document()->cachedResourceLoader(); 131 // FIXME: This is wrong if the finalURL was updated via document::updateBaseURL. 146 parentSheet->document()->addPendingSheet() [all...] |