You are here: Test Case Description for applets within <object> tag > Test Case #3 for applets within <object>: alternate content
Applets: OBJECT (alternate content - text and/or HTML - as contents of <object>)
This test case tests the <object> element with text and/or HTML as embedded alternate content of <object> that is displayed by browsers that either do not the understand the <object> element or do understand the <object> element but cannot actually run the applets. The embedded alternate text and/or HTML is used to describe the applet in the case where the browser does run applets, since, in that case, any alternate text and/or HTML contained between <object>...</object> is ignored.
Test Instructions
- Set the Java Enabled browser "off" to view the alternate text in java-disabled mode:
- Select menu Edit|Preferences|Network Preferences|Languages.
- Click Enable Java checkmark (off).
- Close Preferences dialog.
- Repeat steps 1-3 to go from Disable Java to Enable Java and view the results.
- Verify that the sample displays correctly for the following test case.
- Verify that the java applet is maintained when you minimize/maximize the screen.
- Verify that the java applet is maintained when you re-size left & right the screen.
- Verify that the java applet is maintained when you re-size top & bottom the screen.
- Verify re-draw takes place correctly after maximizing the screen.
- Verify reload works.
With Java enabled only the applet should display below:
With Java disabled you should see
the following alternate-text followed
by any text and/or HTML contained inside our sample applet:
The JitterText applet is a spinoff from Sun's NervousText applet. It does a slightly better job spacing the text as it dances about, and also provides the option to display each character of the text in a random pattern of colors. Clicking on JitterText pauses its animation, and displays the text normally. Clicking again resumes the animation.