2007-10-07 Vincent Ricard <magic@magicninja.org>
Reviewed by Maciej. Landed by eseidel.
http://bugs.webkit.org/show_bug.cgi?id=15062
Implement document.compatMode
Tests: fast/dom/compatMode-AlmostStrict.html
fast/dom/compatMode-Compat.html
fast/dom/compatMode-Strict.html
* html/HTMLDocument.cpp:
(WebCore::HTMLDocument::compatMode):
* html/HTMLDocument.h:
* html/HTMLDocument.idl:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/html/HTMLDocument.h b/WebCore/html/HTMLDocument.h
index c9f4203..fefbdb7 100644
--- a/WebCore/html/HTMLDocument.h
+++ b/WebCore/html/HTMLDocument.h
@@ -47,6 +47,8 @@
String designMode() const;
void setDesignMode(const String&);
+ String compatMode() const;
+
String bgColor();
void setBgColor(const String&);
String fgColor();