Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: Source/core/html/HTMLDivElement.cpp

Issue 139773002: Remove some isPresentationAttribute implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLDivElement.h ('k') | Source/core/html/HTMLParagraphElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLDivElement.cpp
diff --git a/Source/core/html/HTMLDivElement.cpp b/Source/core/html/HTMLDivElement.cpp
index af3d893878385c980b2003dd949d4827aa05f7d4..9882a75190af23e4eb8d8e5f8de9ddb1604c2efd 100644
--- a/Source/core/html/HTMLDivElement.cpp
+++ b/Source/core/html/HTMLDivElement.cpp
@@ -42,13 +42,6 @@ PassRefPtr<HTMLDivElement> HTMLDivElement::create(Document& document)
return adoptRef(new HTMLDivElement(document));
}
-bool HTMLDivElement::isPresentationAttribute(const QualifiedName& name) const
-{
- if (name == alignAttr)
- return true;
- return HTMLElement::isPresentationAttribute(name);
-}
-
void HTMLDivElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style)
{
if (name == alignAttr) {
« no previous file with comments | « Source/core/html/HTMLDivElement.h ('k') | Source/core/html/HTMLParagraphElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698