summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLDocument.cpp')
-rw-r--r--WebCore/html/HTMLDocument.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/WebCore/html/HTMLDocument.cpp b/WebCore/html/HTMLDocument.cpp
index a987c76..01f151c 100644
--- a/WebCore/html/HTMLDocument.cpp
+++ b/WebCore/html/HTMLDocument.cpp
@@ -433,5 +433,11 @@ void HTMLDocument::clear()
// We've long had a comment saying that IE doesn't support this.
// But I do see it in the documentation for Mozilla.
}
-
+
+bool HTMLDocument::isFrameSet() const
+{
+ HTMLElement* bodyElement = body();
+ return bodyElement && bodyElement->renderer() && bodyElement->hasTagName(framesetTag);
+}
+
}