Searched refs:document (Results 1 - 25 of 1307) sorted by relevance

1234567891011>>

/external/webkit/LayoutTests/fast/encoding/resources/
H A Dyentestexternal2.js3 document.write("two backslashes external: \\ <br>");
4 document.write("one backslash external: \ <br>");
H A Dyentestexternal.js3 document.write("two backslashes external: " + "\\" + "<br>");
H A Dpreloaded-gb2312.js0 document.getElementById('testdiv3').innerText = 'SU������SS';
H A Dpreloaded-utf-8.js0 document.getElementById('testdiv1').innerText = 'SUССЕSS';
H A Ddynamic-load-target.js4 document.getElementById("target").innerHTML = "PASS: UTF-8 was correctly used for this script.";
6 document.getElementById("target").innerHTML = "FAIL: Incorrect encoding used. Expected '" + tokyo + "' but got '" + 'とうきょう' + "'.";
/external/webkit/Source/WebKit/mac/Misc/
H A DOutlookQuirksUserScript.js26 // This should only apply to the initial empty document, which should look like:
28 if (document.documentElement.outerHTML != "<html><head></head><body></body></html>")
31 // Outlook expects the initial empty document to only contain the document
33 document.documentElement.removeChild(document.head);
34 document.documentElement.removeChild(document.body);
/external/webkit/LayoutTests/fast/encoding/
H A Dexternal-script-charset-koi-8.js0 document.getElementById("result2").innerHTML += ("�" == "\u0421") ? "PASS" : "FAIL";
H A Dexternal-script-charset.js4 document.getElementById("result1").innerHTML += ("Я" == "\u042F") ? "PASS" : "FAIL";
/external/webkit/LayoutTests/http/tests/resources/
H A Dabsolute-url-strip-whitespace.js0 document.getElementById("test").innerHTML = "PASS";
H A Dlast-modified.php6 document.write(document.lastModified);
/external/webkit/Source/WebCore/dom/
H A DScriptableDocumentParser.cpp31 ScriptableDocumentParser::ScriptableDocumentParser(Document* document) argument
32 : DecodedDataDocumentParser(document)
/external/chromium/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
H A Dutil.js8 * Alias for document.getElementById.
13 return document.getElementById(id);
/external/webkit/LayoutTests/fast/dom/Node/script-tests/
H A DDOMNodeRemovedEvent.js3 var div = document.createElement("div");
4 document.body.appendChild(div);
7 document.body.addEventListener("DOMNodeRemoved", function () { count++; }, false);
8 document.body.removeChild(div);
H A DisEqualNode.js4 var docTypeAllSet = document.implementation.createDocumentType('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
5 var docTypeAllSet2 = document.implementation.createDocumentType('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
6 var docTypeDifferentPublicID = document.implementation.createDocumentType('html', 'foo', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
7 var docTypeDifferentSystemID = document.implementation.createDocumentType('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'bar');
/external/webkit/LayoutTests/fast/events/touch/script-tests/
H A Ddocument-create-touch-list-crash.js1 description("This test ensures that WebKit doesn't crash when the document.createTouchList API is called with non-Touch parameters");
3 shouldBeNull('document.createTouchList(document).item(0)');
4 shouldBeNull('document.createTouchList({"a":1}).item(0)');
5 shouldBeNull('document.createTouchList(new Array(5)).item(0)');
6 shouldBeNull('document.createTouchList("string").item(0)');
7 shouldBeNull('document.createTouchList(null).item(0)');
8 shouldBeNull('document.createTouchList(undefined).item(0)');
10 var t = document.createTouch(window, document
[all...]
/external/webkit/LayoutTests/fast/dom/HTMLLabelElement/script-tests/
H A Dlabel-control.js4 document.write("<label id='test1'><input id='inputId1'></label>");
5 shouldBe("document.getElementById('test1').control.id", "'inputId1'");
8 document.write("<label id='test2' for='inputId2'></label><input id='inputId2' type='number'>");
9 shouldBe("document.getElementById('test2').htmlFor", "'inputId2'");
10 shouldBe("document.getElementById('test2').control.type", "'number'");
13 document.write("<label id='test3'><p><input id='inputId3' type='date'></p></label>");
14 shouldBe("document.getElementById('test3').control.id", "'inputId3'");
18 document.write("<label id='test4'><fieldset><input id='inputId4'></fieldset></label>");
19 shouldBe("document.getElementById('test4').control.id", "'inputId4'");
23 document
[all...]
/external/webkit/LayoutTests/fast/dom/Text/script-tests/
H A DreplaceWholeText.js3 var para = document.createElement('p');
4 para.appendChild(document.createTextNode('A'));
5 var textB = document.createTextNode('B');
7 para.appendChild(document.createElement('p'));
8 para.appendChild(document.createTextNode('C'));
/external/webkit/Source/WebCore/editing/
H A DUnlinkCommand.cpp33 UnlinkCommand::UnlinkCommand(Document* document) argument
34 : CompositeEditCommand(document)
44 removeStyledElement(HTMLAnchorElement::create(document()));
/external/webkit/Source/WebCore/platform/network/chromium/
H A DCookieJarChromium.cpp40 void setCookies(Document* document, const KURL& url, const String& value) argument
42 PlatformBridge::setCookies(document, url, value);
45 String cookies(const Document* document, const KURL& url) argument
47 return PlatformBridge::cookies(document, url);
50 String cookieRequestHeaderFieldValue(const Document* document, const KURL& url) argument
52 return PlatformBridge::cookieRequestHeaderFieldValue(document, url);
55 bool cookiesEnabled(const Document* document) argument
57 return PlatformBridge::cookiesEnabled(document);
60 bool getRawCookies(const Document* document, const KURL& url, Vector<Cookie>& rawCookies) argument
62 return PlatformBridge::rawCookies(document, ur
65 deleteCookie(const Document* document, const KURL& url, const String& cookieName) argument
[all...]
/external/webkit/Source/WebCore/html/
H A DHTMLHeadElement.cpp34 HTMLHeadElement::HTMLHeadElement(const QualifiedName& tagName, Document* document) argument
35 : HTMLElement(tagName, document)
40 PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(Document* document) argument
42 return adoptRef(new HTMLHeadElement(headTag, document));
45 PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(const QualifiedName& tagName, Document* document) argument
47 return adoptRef(new HTMLHeadElement(tagName, document));
H A DHTMLHtmlElement.cpp38 HTMLHtmlElement::HTMLHtmlElement(const QualifiedName& tagName, Document* document) argument
39 : HTMLElement(tagName, document)
44 PassRefPtr<HTMLHtmlElement> HTMLHtmlElement::create(Document* document) argument
46 return adoptRef(new HTMLHtmlElement(htmlTag, document));
49 PassRefPtr<HTMLHtmlElement> HTMLHtmlElement::create(const QualifiedName& tagName, Document* document) argument
51 return adoptRef(new HTMLHtmlElement(tagName, document));
62 // When parsing a fragment, its dummy document has a null parser.
63 if (!document()->parser() || !document()->parser()->documentWasLoadedAsPartOfNavigation())
66 if (!document()
[all...]
/external/webkit/Source/WebCore/html/parser/
H A DTextViewSourceParser.cpp33 TextViewSourceParser::TextViewSourceParser(HTMLViewSourceDocument* document) argument
34 : HTMLViewSourceParser(document)
/external/webkit/Source/WebCore/platform/network/android/
H A DCookieJarAndroid.cpp34 void setCookies(Document* document, const KURL& url, const String& value) argument
36 PlatformBridge::setCookies(document, url, value);
39 String cookies(const Document* document, const KURL& url) argument
41 return PlatformBridge::cookies(document, url);
44 String cookieRequestHeaderFieldValue(const Document* document, const KURL& url) argument
47 return PlatformBridge::cookies(document, url);
50 bool cookiesEnabled(const Document* document) argument
52 return PlatformBridge::cookiesEnabled(document);
/external/chromium/chrome/common/extensions/docs/examples/extensions/news/javascript/
H A Dutil.js28 return document.getElementById(elementId);
/external/webkit/LayoutTests/fast/dom/NodeList/script-tests/
H A Dnodelist-item-call-as-function.js3 var nodeList = document.getElementsByTagName('div');

Completed in 4601 milliseconds

1234567891011>>