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

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

Issue 272693002: Make HTMLAnchorElement.text getter behave according to specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/HTMLAnchorElement.h ('k') | Source/core/html/HTMLAnchorElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAnchorElement.cpp
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp
index 5c888ab9ce865172a37949499f35e0e4ad4fb36c..633b3164575047074fafeba0489db30b09c1a3fb 100644
--- a/Source/core/html/HTMLAnchorElement.cpp
+++ b/Source/core/html/HTMLAnchorElement.cpp
@@ -337,16 +337,6 @@ AtomicString HTMLAnchorElement::target() const
return getAttribute(targetAttr);
}
-void HTMLAnchorElement::setText(const String& text)
-{
- setTextContent(text);
-}
-
-String HTMLAnchorElement::text()
-{
- return innerText();
-}
-
bool HTMLAnchorElement::isLiveLink() const
{
return isLink() && !rendererIsEditable();
« no previous file with comments | « Source/core/html/HTMLAnchorElement.h ('k') | Source/core/html/HTMLAnchorElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698