Lines Matching refs:document
39 inline HTMLAppletElement::HTMLAppletElement(const QualifiedName& tagName, Document* document)
40 : HTMLPlugInElement(tagName, document)
45 PassRefPtr<HTMLAppletElement> HTMLAppletElement::create(const QualifiedName& tagName, Document* document)
47 return adoptRef(new HTMLAppletElement(tagName, document));
61 if (inDocument() && document()->isHTMLDocument()) {
62 HTMLDocument* document = static_cast<HTMLDocument*>(this->document());
63 document->removeNamedItem(m_name);
64 document->addNamedItem(newName);
69 if (inDocument() && document()->isHTMLDocument()) {
70 HTMLDocument* document = static_cast<HTMLDocument*>(this->document());
71 document->removeExtraNamedItem(m_id);
72 document->addExtraNamedItem(newId);
83 if (document()->isHTMLDocument()) {
84 HTMLDocument* document = static_cast<HTMLDocument*>(this->document());
85 document->addNamedItem(m_name);
86 document->addExtraNamedItem(m_id);
94 if (document()->isHTMLDocument()) {
95 HTMLDocument* document = static_cast<HTMLDocument*>(this->document());
96 document->removeNamedItem(m_name);
97 document->removeExtraNamedItem(m_id);
122 const AtomicString& name = document()->isHTMLDocument() ? getAttribute(nameAttr) : getIdAttribute();
129 args.set("baseURL", document()->baseURL().string());
137 return new (document()->renderArena()) RenderApplet(this, args);
168 if (document()->securityOrigin()->isSandboxed(SandboxPlugins))
171 Settings* settings = document()->settings();