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

Unified Diff: Source/core/html/HTMLParagraphElement.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/HTMLParagraphElement.h ('k') | Source/core/html/HTMLTableCaptionElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLParagraphElement.cpp
diff --git a/Source/core/html/HTMLParagraphElement.cpp b/Source/core/html/HTMLParagraphElement.cpp
index 459800856f9506bb4681c95dfc02d86becabd9de..6c6e643e38a75f462a7fc6e00731864ae0ba3491 100644
--- a/Source/core/html/HTMLParagraphElement.cpp
+++ b/Source/core/html/HTMLParagraphElement.cpp
@@ -42,13 +42,6 @@ PassRefPtr<HTMLParagraphElement> HTMLParagraphElement::create(Document& document
return adoptRef(new HTMLParagraphElement(document));
}
-bool HTMLParagraphElement::isPresentationAttribute(const QualifiedName& name) const
-{
- if (name == alignAttr)
- return true;
- return HTMLElement::isPresentationAttribute(name);
-}
-
void HTMLParagraphElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style)
{
if (name == alignAttr) {
« no previous file with comments | « Source/core/html/HTMLParagraphElement.h ('k') | Source/core/html/HTMLTableCaptionElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698