[webkit-reviews] review requested: [Bug 15062] Implement document.compatMode : [Attachment 16147] implementation in the Document interface

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 28 14:05:46 PDT 2007

Vincent Ricard <magic at magicninja.org> has asked  for review:
Bug 15062: Implement document.compatMode

Attachment 16147: implementation in the Document interface

------- Additional Comments from Vincent Ricard <magic at magicninja.org>
here is a patch to implement document.compatMode. I used the followings links
to match the FF behavior; but i'm not sure if compatMode should be declared in
the Document interface or in HTMLDocument:
- http://developer.mozilla.org/en/docs/DOM:document.compatMode

So if we are in Strict mode (or AlmostStrict), we return 'CSS1Compat', otherwie
we return 'BackCompat'.

More information about the webkit-reviews mailing list