diff options
author | Naiem Shaik <snaiem@codeaurora.org> | 2012-07-19 10:45:56 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-01-20 18:38:33 -0800 |
commit | 0f5d4355d7a384679722338d55f65bbb92350cfc (patch) | |
tree | df4a638aa4e81152ee68f0d523ed706128a251ff /Source/WebCore/html/HTMLElement.cpp | |
parent | 8f6cf525ead3381029545c1d292c8586ec45ddb0 (diff) | |
download | external_webkit-0f5d4355d7a384679722338d55f65bbb92350cfc.zip external_webkit-0f5d4355d7a384679722338d55f65bbb92350cfc.tar.gz external_webkit-0f5d4355d7a384679722338d55f65bbb92350cfc.tar.bz2 |
DOM Optimizations
DOM traversal optimizations
DOM Core optimizations
Prefetch optimization for DOM Tree Traversal
Conflicts:
Source/WebKit/android/jni/WebViewCore.cpp
Change-Id: Icbb8a7229ee9cff1a5401b57c8181f18b9a6d6e0
Diffstat (limited to 'Source/WebCore/html/HTMLElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLElement.cpp | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/Source/WebCore/html/HTMLElement.cpp b/Source/WebCore/html/HTMLElement.cpp index 0aa9664..f8f2113 100644 --- a/Source/WebCore/html/HTMLElement.cpp +++ b/Source/WebCore/html/HTMLElement.cpp @@ -71,49 +71,6 @@ String HTMLElement::nodeName() const return Element::nodeName(); } -bool HTMLElement::ieForbidsInsertHTML() const -{ - // FIXME: Supposedly IE disallows settting innerHTML, outerHTML - // and createContextualFragment on these tags. We have no tests to - // verify this however, so this list could be totally wrong. - // This list was moved from the previous endTagRequirement() implementation. - // This is also called from editing and assumed to be the list of tags - // for which no end tag should be serialized. It's unclear if the list for - // IE compat and the list for serialization sanity are the same. - if (hasLocalName(areaTag) - || hasLocalName(baseTag) - || hasLocalName(basefontTag) - || hasLocalName(brTag) - || hasLocalName(colTag) -#if ENABLE(DATAGRID) - || hasLocalName(dcellTag) - || hasLocalName(dcolTag) -#endif - || hasLocalName(embedTag) - || hasLocalName(frameTag) - || hasLocalName(hrTag) - || hasLocalName(imageTag) - || hasLocalName(imgTag) - || hasLocalName(inputTag) - || hasLocalName(isindexTag) - || hasLocalName(linkTag) - || hasLocalName(metaTag) - || hasLocalName(paramTag) - || hasLocalName(sourceTag) - || hasLocalName(wbrTag)) - return true; - // FIXME: I'm not sure why dashboard mode would want to change the - // serialization of <canvas>, that seems like a bad idea. -#if ENABLE(DASHBOARD_SUPPORT) - if (hasLocalName(canvasTag)) { - Settings* settings = document()->settings(); - if (settings && settings->usesDashboardBackwardCompatibilityMode()) - return true; - } -#endif - return false; -} - bool HTMLElement::mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const { if (attrName == alignAttr @@ -786,8 +743,6 @@ bool HTMLElement::rendererIsNeeded(RenderStyle *style) RenderObject* HTMLElement::createRenderer(RenderArena* arena, RenderStyle* style) { - if (hasLocalName(wbrTag)) - return new (arena) RenderWordBreak(this); return RenderObject::createObject(this, style); } |