/external/webkit/Source/WebCore/inspector/front-end/ |
SidebarTreeElement.js | 71 this.disclosureButton = document.createElement("button"); 76 this.iconElement = document.createElement("img"); 80 this.statusElement = document.createElement("div"); 83 this.titlesElement = document.createElement("div"); 86 this.titleElement = document.createElement("span"); 90 this.subtitleElement = document.createElement("span"); 147 this.bubbleElement = document.createElement("div");
|
/external/webkit/Source/WebCore/wml/ |
WMLAElement.cpp | 51 WMLAElement::WMLAElement(const QualifiedName& tagName, Document* doc) 56 PassRefPtr<WMLAElement> WMLAElement::create(const QualifiedName& tagName, Document* document) 58 return adoptRef(new WMLAElement(tagName, document)); 68 if (isLink() && document()->isDNSPrefetchEnabled()) { 71 ResourceHandle::prepareForURL(document()->completeURL(value)); 96 if (!document()->frame()) 99 if (!document()->frame()->eventHandler()->tabsToLinks(event)) 132 handleLinkClick(event, document(), stripLeadingAndTrailingHTMLSpaces(getAttribute(HTMLNames::hrefAttr)), target(), event);
|
/external/v8/test/mjsunit/regress/ |
regress-3252443.js | 28 var document = new Object(); class 29 document.getElementById = function(s) { return { style: {}}}; 31 document.getElementById(p1+p0).style.display=''; 32 document.getElementById(p1+''+p0).style.backgroundColor = ""; 33 document.getElementById(p1+''+p0).style.color=""; 34 document.getElementById(p1+''+p0).style.borderBottomColor = ""; 37 document.getElementById(p1+i).style.display=''; 38 document.getElementById(p1+''+i).style.backgroundColor = ""; 39 document.getElementById(p1+''+i).style.color=""; 40 document.getElementById(p1+''+i).style.borderBottomColor = "" [all...] |
/external/webkit/Source/WebCore/accessibility/win/ |
AXObjectCacheWin.cpp | 32 #include "Document.h" 67 Document* document = obj->document(); 68 if (!document) 71 Page* page = document->page(); 134 Page* page = newFocusedRenderer->document()->page();
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8HTMLAudioElementConstructor.cpp | 35 #include "Document.h" 60 Document* document = frame->document(); 61 if (!document) 62 return throwError("Audio constructor associated document is unavailable", V8Proxy::ReferenceError); 64 // Make sure the document is added to the DOM Node map. Otherwise, the HTMLAudioElement instance 66 toV8(document); 72 RefPtr<HTMLAudioElement> audio = HTMLAudioElement::createForJSConstructor(document, src);
|
V8HTMLImageElementConstructor.cpp | 35 #include "Document.h" 60 Document* document = frame->document(); 61 if (!document) 62 return throwError("Image constructor associated document is unavailable", V8Proxy::ReferenceError); 64 // Make sure the document is added to the DOM Node map. Otherwise, the HTMLImageElement instance 69 toV8(document); 84 RefPtr<HTMLImageElement> image = HTMLImageElement::createForJSConstructor(document, optionalWidth, optionalHeight);
|
/external/webkit/Source/WebCore/html/ |
HTMLOptGroupElement.cpp | 29 #include "Document.h" 40 inline HTMLOptGroupElement::HTMLOptGroupElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form) 41 : HTMLFormControlElement(tagName, document, form) 46 PassRefPtr<HTMLOptGroupElement> HTMLOptGroupElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form) 48 return adoptRef(new HTMLOptGroupElement(tagName, document, form)); 114 String itemText = document()->displayStringModifiedByEncoding(getAttribute(labelAttr));
|
HTMLFormControlElement.cpp | 31 #include "Document.h" 58 HTMLFormControlElement::HTMLFormControlElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form) 59 : HTMLElement(tagName, document) 129 if (element->document()->ignoreAutofocus()) 188 document()->checkedRadioButtons().addButton(this); 296 if (document()->frame()) 297 return document()->frame()->eventHandler()->tabsToAllFormControls(event); 358 Page* page = document()->page(); 404 RefPtr<Document> originalDocument(document()) [all...] |
HTMLFrameElementBase.cpp | 28 #include "Document.h" 50 HTMLFrameElementBase::HTMLFrameElementBase(const QualifiedName& tagName, Document* document) 51 : HTMLFrameOwnerElement(tagName, document) 66 const KURL& completeURL = document()->completeURL(m_URL); 69 Document* contentDoc = this->contentDocument(); 74 if (Frame* parentFrame = document()->frame()) { 82 for (Frame* frame = document()->frame(); frame; frame = frame->tree()->parent()) { 83 if (equalIgnoringFragmentIdentifier(frame->document()->url(), completeURL)) { 101 Frame* parentFrame = document()->frame() [all...] |
/external/webkit/Source/WebCore/svg/ |
SVGFontFaceUriElement.cpp | 30 #include "Document.h" 39 inline SVGFontFaceUriElement::SVGFontFaceUriElement(const QualifiedName& tagName, Document* document) 40 : SVGElement(tagName, document) 44 PassRefPtr<SVGFontFaceUriElement> SVGFontFaceUriElement::create(const QualifiedName& tagName, Document* document) 46 return adoptRef(new SVGFontFaceUriElement(tagName, document)); 97 CachedResourceLoader* cachedResourceLoader = document()->cachedResourceLoader();
|
SVGSymbolElement.cpp | 36 inline SVGSymbolElement::SVGSymbolElement(const QualifiedName& tagName, Document* document) 37 : SVGStyledElement(tagName, document) 41 PassRefPtr<SVGSymbolElement> SVGSymbolElement::create(const QualifiedName& tagName, Document* document) 43 return adoptRef(new SVGSymbolElement(tagName, document)); 52 if (SVGFitToViewBox::parseMappedAttribute(document(), attr))
|
SVGTRefElement.cpp | 38 inline SVGTRefElement::SVGTRefElement(const QualifiedName& tagName, Document* document) 39 : SVGTextPositioningElement(tagName, document) 43 PassRefPtr<SVGTRefElement> SVGTRefElement::create(const QualifiedName& tagName, Document* document) 45 return adoptRef(new SVGTRefElement(tagName, document)); 50 Element* target = document()->getElementById(SVGURIReference::getTarget(href()));
|
SVGTextContentElement.cpp | 43 SVGTextContentElement::SVGTextContentElement(const QualifiedName& tagName, Document* document) 44 : SVGStyledElement(tagName, document) 74 document()->updateLayoutIgnorePendingStylesheets(); 80 document()->updateLayoutIgnorePendingStylesheets(); 86 document()->updateLayoutIgnorePendingStylesheets(); 99 document()->updateLayoutIgnorePendingStylesheets(); 111 document()->updateLayoutIgnorePendingStylesheets(); 123 document()->updateLayoutIgnorePendingStylesheets(); 135 document()->updateLayoutIgnorePendingStylesheets() [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
NodeTest.java | 20 import org.w3c.dom.Document; 42 Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(bis); local 43 Node root = document.getDocumentElement(); 50 Document document = builder.parse(file); local 52 assertFileUriEquals(file, document.getBaseURI()); 54 Element documentElement = document.getDocumentElement();
|
DomTest.java | 48 import org.w3c.dom.Document; 99 private Document document; field in class:DomTest 134 document = builder.parse(new InputSource(new StringReader(xml))); 137 doctype = document.getDoctype(); 145 // document nodes 146 menu = document.getDocumentElement(); 178 allNodes.addAll(Arrays.asList(document, doctype, menu, item, itemXmlns, 211 assertEquals(null, document.lookupNamespaceURI("a")); 236 assertEquals(null, document.lookupNamespaceURI(null)) [all...] |
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/ |
set-href-attribute-prevents-rebase.js | 1 description('Tests that when an href attribute is set, the href is no longer subject to updates to the document base URI.'); 3 var a = document.createElement('a'); 4 var base = document.createElement('base'); 5 document.head.appendChild(base); 8 debug("Search attribute, update document base URI without attribute having been set"); 14 debug("Search attribute, update document base URI after attribute has been set"); 23 debug("Pathname attribute, update document base URI without attribute having been set"); 29 debug("Pathname attribute, update document base URI after attribute has been set"); 38 debug("Hash attribute, update document base URI without attribute having been set"); 44 debug("Pathname attribute, update document base URI after attribute has been set") [all...] |
/external/tinyxml/ |
tinyxmlparser.cpp | 171 // Only used by the document! 363 // At this scope, we can't get to a document. So fail silently. 379 if ( c <= 0 ) // Silent failure: can't get document at this scope 620 // The basic issue with a document is that we don't know what we're 685 // Parse away, at the document level. Since a document 694 // Note that, for a document, this needs to come 895 TiXmlDocument* document = GetDocument(); local 896 if ( document ) 897 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN ) 956 TiXmlDocument* document = GetDocument(); local 985 TiXmlDocument* document = GetDocument(); local 1017 TiXmlDocument* document = GetDocument(); local 1136 TiXmlDocument* document = GetDocument(); local 1214 TiXmlDocument* document = GetDocument(); local 1233 TiXmlDocument* document = GetDocument(); local 1272 TiXmlDocument* document = GetDocument(); local 1294 TiXmlDocument* document = GetDocument(); local 1394 TiXmlDocument* document = GetDocument(); local 1419 TiXmlDocument* document = GetDocument(); local 1435 TiXmlDocument* document = GetDocument(); local 1490 TiXmlDocument* document = GetDocument(); local 1511 TiXmlDocument* document = GetDocument(); local [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jst/ |
jstemplate_test.js | 25 var t = document.getElementById('t1');
88 var t = document.getElementById('t2');
104 t = document.getElementById('t2a');
136 jstProcess(ctx, document.getElementById('testJseval1'));
139 jstProcess(ctx, document.getElementById('testJseval2'));
144 var t = document.getElementById('t3');
149 var t3a = document.getElementById('t3a');
156 var t = document.getElementById('t4');
157 var p = document.getElementById('parent');
187 var div = domCreateElement(document, "DIV"); [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
JSHTMLDocumentCustom.cpp | 53 bool JSHTMLDocument::canGetItemsForName(ExecState*, HTMLDocument* document, const Identifier& propertyName) 56 return atomicPropertyName && (document->hasNamedItem(atomicPropertyName) || document->hasExtraNamedItem(atomicPropertyName)); 62 HTMLDocument* document = static_cast<HTMLDocument*>(thisObj->impl()); local 65 RefPtr<HTMLCollection> collection = document->documentNamedItems(name); 123 // document.open clobbers the security context of the document and 125 Document* activeDocument = asJSDOMWindow(exec->lexicalGlobalObject())->impl()->document(); 127 // In the case of two parameters or fewer, do a normal document open [all...] |
/external/webkit/Source/WebCore/xml/ |
XSLTProcessorQt.cpp | 47 XSLTMessageHandler(Document* document = 0); 52 Document* m_document; 55 XSLTMessageHandler::XSLTMessageHandler(Document* document) 57 , m_document(document) 92 XSLTUriResolver(Document* document); 96 Document* m_document; 99 XSLTUriResolver::XSLTUriResolver(Document* document [all...] |
/external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/ |
traversal-reject.js | 4 var testElement = document.createElement("div"); 26 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false); 32 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false); 37 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB2Filter, false); 43 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false); 48 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB2Filter, false); 53 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false);
|
traversal-skip.js | 4 var testElement = document.createElement("div"); 26 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false); 33 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false); 38 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB2Filter, false); 44 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false); 49 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB2Filter, false); 54 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false);
|
/external/webkit/Source/WebCore/inspector/ |
InspectorPageAgent.cpp | 75 m_frontend->page()->inspectedURLChanged(m_inspectedPage->mainFrame()->document()->url().string()); 105 FrameLoadRequest request(mainFrame->document()->securityOrigin(), ResourceRequest(), "_blank"); 116 newFrame->loader()->changeLocation(mainFrame->document()->securityOrigin(), newFrame->loader()->completeURL(url), "", false, false); 171 Document* document = frame->document(); local 172 const CachedResourceLoader::DocumentResourceMap& allResources = document->cachedResourceLoader()->allCachedResources(); 176 rawCookiesImplemented = getRawCookies(document, KURL(ParsedURLString, it->second->url()), docCookiesList); 181 stringCookiesList += document->cookie(ec); 183 // because "document" is the document of the main frame of the page 204 Document* document = frame->document(); local [all...] |
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/repository/ |
ValidateRepositoryXmlTest.java | 171 /** A document should at least have a root to be valid */
173 String document = "<?xml version=\"1.0\"?>";
local 175 Source source = new StreamSource(new StringReader(document));
192 /** A document with a root element containing no platform, addon, etc., is valid. */
194 String document = "<?xml version=\"1.0\"?>" +
local 198 Source source = new StreamSource(new StringReader(document));
206 /** A document with an unknown element. */
208 String document = "<?xml version=\"1.0\"?>" +
local 213 Source source = new StreamSource(new StringReader(document));
228 /** A document with an incomplete element. */ 230 String document = "<?xml version=\\"1.0\\"?>" + local 252 String document = "<?xml version=\\"1.0\\"?>" + local 276 String document = "<?xml version=\\"1.0\\"?>" + local 304 String document = "<?xml version=\\"1.0\\"?>" + local [all...] |
/external/webkit/Source/WebCore/dom/ |
Element.cpp | 39 #include "Document.h" 85 m_pushedStyleSelector = m_parent->document()->styleSelector(); 96 ASSERT(m_pushedStyleSelector == m_parent->document()->styleSelector()); 97 if (m_pushedStyleSelector != m_parent->document()->styleSelector()) 108 PassRefPtr<Element> Element::create(const QualifiedName& tagName, Document* document) 110 return adoptRef(new Element(tagName, document, CreateElement)); 143 RefPtr<DocumentFragment> fragment = document()->createDocumentFragment(); 145 if (document()->isHTMLDocument()) 216 return document()->createElement(tagQName(), false) [all...] |