Ticket #539: FFScrollTopContext.html

File FFScrollTopContext.html, 1.2 KB (added by alfonsoml, 3 years ago)

testcase from sourceforge

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4        <title>Firefox Auto Scroll Bug</title>
5        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
6        <script src="/fckeditor/fckeditor.js" type="text/javascript"></script>
7</head>
8<body>
9        <p>
10                In Firefox, if you scroll down the contents and right click inside the table, it
11                will scroll up automatically. If you instead click at the "More text" phrase at
12                the very end, you will have no problems.
13        </p>
14        <p>
15                It only happens if the editor is inside a table, and if you click in a table in
16                the contents.
17        </p>
18        <table width="100%">
19                <tr>
20                        <td>
21                                <script type="text/javascript">
22
23var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
24oFCKeditor.BasePath     = '/fckeditor/' ;
25oFCKeditor.Value        = 'This is some <strong>sample text<\/strong>.<br><br><br><br><br><br><br><br><br><br><br><br><table><tr><td>You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.</td></tr></table><br><br>More text.' ;
26oFCKeditor.Create() ;
27
28                                </script>
29                        </td>
30                </tr>
31        </table>
32</body>
33</html>