[Webkit-unassigned] [Bug 15062] Implement document.compatMode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 28 20:51:00 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15062


sam at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16147|review?                     |review-
               Flag|                            |




------- Comment #2 from sam at webkit.org  2007-08-28 20:50 PDT -------
(From update of attachment 16147)
The "{" should be on a new line.
+String Document::compatMode() const {
+    return inCompatMode() ? "BackCompat" : "CSS1Compat";
+}

I don't think there is any reason for [ConvertNullStringTo=Undefined] as null
is not a possible return value.
+        readonly attribute [ConvertNullStringTo=Undefined] DOMString
compatMode;

Also, does this attribute make sense for Documents other HTML documents?  If
not, can we put this in the HTMLDocument?  r- for now.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list