#2437: V3: Environment and browser information
--------------------------+-------------------------------------------------
Reporter: fredck | Owner: fredck
Type: New Feature | Status: assigned
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version:
Resolution: | Keywords: Confirmed V3ProtoBase Review?
--------------------------+-------------------------------------------------
Comment(by alfonsoml):
The detection of Gecko is based on the build date, and as we've found
earlier it's not always reliable because an old version might get some
patches and so it's build date is newer. We should use the rv: field
unless there's some problem with it. (and the date that is being checked
looks like the old Mozilla 1.4 or something like that, quite old)
In order to be forward compatible, we should remember to try to avoid
using these properties as long as it's possible to detect just the bug
that we want to workaround as Hallvord reminded in
http://dev.opera.com/articles/view/a-browser-sniffing-warning-the-trouble/
. I mean: if we want to use window.foobar, then test for that feature,
instead of hardcoding right now that only browser X and Y does support it,
because the newer version of Z might also support it.
So we could have in the CKEditor.env object also a "features" section,
that does try to detect the main issues and use those instead of the
classic and generic "if (FCKBrowserInfo.IsIE)" (because then we need to
have IsIE6, IsIE7, IsIE8...)
--
Ticket URL: <http://dev.fckeditor.net/ticket/2437#comment:2>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac