Home | History | Annotate | Download | only in html

Lines Matching refs:html

275 PassRefPtr<DocumentFragment> HTMLElement::createContextualFragment(const String &html, FragmentScriptingPermission scriptingPermission)
288 parseHTMLDocumentFragment(html, fragment.get(), scriptingPermission);
290 if (!parseXMLDocumentFragment(html, fragment.get(), this, scriptingPermission))
298 // we need to pop <html> and <body> elements and remove <head> to
299 // accommodate folks passing complete HTML documents to make the
378 void HTMLElement::setInnerHTML(const String& html, ExceptionCode& ec)
381 // Script and CSS source shouldn't be parsed as HTML.
383 appendChild(document()->createTextNode(html), ec);
387 RefPtr<DocumentFragment> fragment = createContextualFragment(html);
396 void HTMLElement::setOuterHTML(const String& html, ExceptionCode& ec)
405 RefPtr<DocumentFragment> fragment = parent->createContextualFragment(html);
587 void HTMLElement::insertAdjacentHTML(const String& where, const String& html, ExceptionCode& ec)
591 parseHTMLDocumentFragment(html, fragment.get());
593 if (!parseXMLDocumentFragment(html, fragment.get(), this))
800 // For XML documents, we are non-validating and do not check against a DTD, even for HTML elements.
804 // Future-proof for XML content inside HTML documents (we may allow this some day).
969 return !isRecognizedTagName(child->tagQName()); // Accept custom html tags
984 return !isRecognizedTagName(child->tagQName()); // Accept custom html tags