Object: OBJECT (WIDTH)
This test case tests the <APPLET> tag with its mandatory WIDTH attribute. The WIDTH attribute can either be an absolute width using an integer value of pixels or a relative width using a relative percentage value.
Test Instructions:
In the following samples you should see that the WIDTH attribute applies absolute integer numbers of pixels or relative percentages to the java applet. This tells the browser to scale the java applet so many pixels or percentage of the original object. |
- Verify that the samples display as stated in each of the following test cases:
- 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.
Test Case #1 | sample java applet dimension scaling using absolute widths |
Test Case #2 | sample java applet dimension scaling using relative widths |
Test Case #1: sample java applet dimension scaling using absolute widths |
---|
Java Applet Dimensions Scaled Down (Reverse Scaling)
original applet
applet width=300
applet width=200
applet width=150
applet width=100