Lines Matching refs:document
74 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
75 g_assert(document);
76 gchar* title = webkit_dom_document_get_title(document);
80 webkit_dom_document_set_title(document, "This is the second title");
81 title = webkit_dom_document_get_title(document);
92 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
93 g_assert(document);
94 WebKitDOMNodeList* list = webkit_dom_document_get_elements_by_tag_name(document, "li");
121 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
122 g_assert(document);
123 WebKitDOMNodeList* list = webkit_dom_document_get_elements_by_class_name(document, "test");
146 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
147 g_assert(document);
148 WebKitDOMElement* element = webkit_dom_document_get_element_by_id(document, "testok");
150 element = webkit_dom_document_get_element_by_id(document, "this-id-does-not-exist");
155 element = webkit_dom_document_get_element_by_id(document, "testbad");
166 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
167 g_assert(document);
168 WebKitDOMHTMLCollection *collection = webkit_dom_document_get_links(document);
202 WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
203 g_assert(document);
204 g_object_weak_ref(G_OBJECT(document), (GWeakNotify)weak_notify, &count);
205 WebKitDOMHTMLHeadElement* head = webkit_dom_document_get_head(document);
208 WebKitDOMHTMLElement* body = webkit_dom_document_get_body(document);
211 WebKitDOMHTMLCollection *collection = webkit_dom_document_get_links(document);
227 document = webkit_web_view_get_dom_document(view);
228 g_assert(document);
229 g_object_weak_ref(G_OBJECT(document), (GWeakNotify)weak_notify, &count);
230 head = webkit_dom_document_get_head(document);
233 body = webkit_dom_document_get_body(document);
236 collection = webkit_dom_document_get_links(document);
240 WebKitDOMHTMLCollection* collection2 = webkit_dom_document_get_links(document);
244 g_object_unref(document);
259 document = webkit_web_view_get_dom_document(view);
260 WebKitDOMElement* div = webkit_dom_document_get_element_by_id(document, "test");
263 WebKitDOMElement* iframe = webkit_dom_document_get_element_by_id(document, "iframe");
293 document = webkit_web_view_get_dom_document(view);
294 g_assert(document);
295 g_object_weak_ref(G_OBJECT(document), (GWeakNotify)weak_notify, &count);
296 /* Ask twice for the Document */
300 head = webkit_dom_document_get_head(document);
303 body = webkit_dom_document_get_body(document);
306 collection = webkit_dom_document_get_links(document);