summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/html/HTMLBaseFontElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/html/HTMLBaseFontElement.cpp')
-rw-r--r--src/3rdparty/webkit/WebCore/html/HTMLBaseFontElement.cpp28
1 files changed, 5 insertions, 23 deletions
diff --git a/src/3rdparty/webkit/WebCore/html/HTMLBaseFontElement.cpp b/src/3rdparty/webkit/WebCore/html/HTMLBaseFontElement.cpp
index ef08822ce..9acbf7393 100644
--- a/src/3rdparty/webkit/WebCore/html/HTMLBaseFontElement.cpp
+++ b/src/3rdparty/webkit/WebCore/html/HTMLBaseFontElement.cpp
@@ -1,7 +1,7 @@
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
- * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc.
+ * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -19,40 +19,22 @@
* Boston, MA 02110-1301, USA.
*
*/
+
#include "config.h"
#include "HTMLBaseFontElement.h"
+
#include "HTMLNames.h"
namespace WebCore {
using namespace HTMLNames;
-HTMLBaseFontElement::HTMLBaseFontElement(const QualifiedName& tagName, Document* doc)
- : HTMLElement(tagName, doc)
+HTMLBaseFontElement::HTMLBaseFontElement(const QualifiedName& tagName, Document* document)
+ : HTMLElement(tagName, document)
{
ASSERT(hasTagName(basefontTag));
}
-String HTMLBaseFontElement::color() const
-{
- return getAttribute(colorAttr);
-}
-
-void HTMLBaseFontElement::setColor(const String &value)
-{
- setAttribute(colorAttr, value);
-}
-
-String HTMLBaseFontElement::face() const
-{
- return getAttribute(faceAttr);
-}
-
-void HTMLBaseFontElement::setFace(const String &value)
-{
- setAttribute(faceAttr, value);
-}
-
int HTMLBaseFontElement::size() const
{
return getAttribute(sizeAttr).toInt();