| | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| | 2 | "http://www.w3.org/TR/html4/strict.dtd"> |
| | 3 | <html> |
| | 4 | <head> |
| | 5 | |
| | 6 | <title>Rich Text Disable of FireFox Spell Check Test</title> |
| | 7 | |
| | 8 | <style type="text/css"> |
| | 9 | @import "../../../dojo/resources/dojo.css"; |
| | 10 | @import "../css/dijitTests.css"; |
| | 11 | </style> |
| | 12 | <script type="text/javascript" src="../../../dojo/dojo.js" |
| | 13 | djConfig="parseOnLoad: true, isDebug: true"></script> |
| | 14 | <script type="text/javascript" src="../_testCommon.js"></script> |
| | 15 | |
| | 16 | <script type="text/javascript" src="../../_editor/selection.js"></script> |
| | 17 | <script type="text/javascript" src="../../_editor/RichText.js"></script> |
| | 18 | <script language="JavaScript" type="text/javascript"> |
| | 19 | dojo.require("dijit._editor.RichText"); |
| | 20 | dojo.require("dojo.parser"); // scan page for widgets and instantiate them |
| | 21 | </script> |
| | 22 | |
| | 23 | </head> |
| | 24 | <body> |
| | 25 | |
| | 26 | <h1 class="testTitle">Rich Text Test</h1> |
| | 27 | |
| | 28 | <div style="border: 1px dotted black;"> |
| | 29 | <h3>thud</h3> |
| | 30 | <textarea dojoType="dijit._editor.RichText" id="editor1" spellCheck="false" |
| | 31 | styleSheets="../../../dojo/resources/dojo.css"> |
| | 32 | <h1>header one</h1> |
| | 33 | <ul> |
| | 34 | <li>Verify the misspelled word theif is <b>not underlined</b> in red in firefox.</li> |
| | 35 | </ul> |
| | 36 | </textarea> |
| | 37 | <button onclick="dijit.byId('editor1').addStyleSheet('test_richtext.css')">add stylesheet</button> |
| | 38 | <button onclick="dijit.byId('editor1').removeStyleSheet('test_richtext.css')">remove stylesheet</button> |
| | 39 | </div> |
| | 40 | |
| | 41 | <div style="border: 1px dotted black;"> |
| | 42 | <h3>blah</h3> |
| | 43 | <div dojoType="dijit._editor.RichText" |
| | 44 | styleSheets="../../dojo/resources/dojo.css" spellCheck="true"> |
| | 45 | <ul> |
| | 46 | <li>Verify the misspelled word theif is <b>underlined</b> in red in firefox.</li> |
| | 47 | </ul> |
| | 48 | </div> |
| | 49 | <h3>..after</h3> |
| | 50 | </div> |
| | 51 | |
| | 52 | </body> |
| | 53 | </html> |