SCROLLIN' ALONG...
Phase III - Body = Peep-Hole
Test Criteria & Considerations
This last phase of the study concentrates on investigating the behavior of the default scrollbars (as well as those of the body and html elements as applicable) as a function of the overflow property, where the body element is set to be equal (both in height & width) to the html element.
This scanerio may be consired more of a real-life application, as compared to the models used in Phase I: body < Peep-Hole and Phase II: body > Peep-Hole, both of which covered the rather extreme cases.
However, this model also leaves the doors open to possible misintrepretations due to other "interferences", especially due to the manner the Browsers make Width & Height Calculations to control their Scrollbar(s), as covered in 100% ≠ 100% !. Consequently, this model was left to the last, with the hopes that the lessons learned from the previous phases of this experiment will eliminate (or, at least, minimize) the possibility of such.
Another difference in this model is that the experiments were designed not only to test the Vertical and Horizontal Scrollbar indivually, but also together, in the form of Combined Scroll Tests.
Overflow Matrix
The basic 5x5 Overflow Matrix established - setting each possible value of the "overflow" property of the body element against those of the html element, were used to formulate the basic test structure:
- Default ("overflow" property not specified)
- Visible
- Hidden
- Auto
- Scroll
The above matrix results in a total of 25 possible combinations/and permutations (5x5). Since the experiments involved testing Vertical Scroll (forcing the Vertical Scrollbar alone) and Horizontal Scroll (forcing the Horizontal Scrollbar alone) behavior individually, as well as Combined Scroll (forcing both Scrollbars simultaneously), a total of 75 test files were involved in this phase.
Background Colors
Again, we employed the simple-minded trick of using different background colors (chosen for no other reason than to provide a sharp contrast) for each of three elements that constitute the basis of these experiments (i.e. html, body & #test) in order to identify the limits of each clearly.
During the course of these experiments, it was observed that the background color of the scrollbar(s) (i.e. the color behind scrollbar itself) for Opera 7.54 consistently coincided with that of the element it belong to (dark red for html, dark green for body). This provided a further and very useful tool in identifying clearly which element any given scrollbar belongs to. Furthermore, a gray background - a background color not used in these files, distinguished - beyond the shadow of doubt, the "Browser Default Scrollbars" from the others.
Elements Used & Settings
Html:
- The 'background' was set to dark red (#a52a2a),
- The 'height' and 'width' were set to 100% for the entire range of experiments. (Reference: Dynamic Duo)
Body:
- The 'background' was set to dark green (#006700).
- Furthermore, the 'padding' and 'margin' properties were also set "0". (Reference: Dynamic Duo)
- The 'height' and 'width' were set to 100% to make the experiments to conform to any size Peep-Hole to facilitate evaluation of the raw test files by anyone. Furthermore, the choice of proportional (%) values for 'height' & 'width' was also for the purposes of creating a more traditional realife scenario.
#test:
- The background was set to light yellow (#fffacd).
-
Inserted inside the body element for the purposes of conducting Vertical and Horizontal Scroll testing by varying its height/width settings, as follows:
- Vertical Scroll:
Height (120%) > 'height' of body (100%)
Width (60%) < 'width' of body (100%) - Horizontal Scroll:
Width (120%) > 'width' of body (100%)
Height (60%) < 'height' of body (100%) - Combined Scroll:
Width (120%) > 'width' of body (100%)
Height (120%) > 'height' of body (100%)
- Vertical Scroll:
Tests & Results
Each test page used in these experiments is:
- Stand-alone with an Internal Style Sheet
- In the Standards Mode (XHTML 1.0 Transitional)
The following browsers/versions were used in this study:
- Internet Explorer 6.0 & 7.0
- Mozilla 1.7
- Firefox 1.5
- Netscape 7.1 & 8.1
- Opera 7.54 & 9.1
Within the scope of this study, the results of two Netscape verions tests were the same. The two versions of Internet Explorer showed some, but not signifiacant, differences. However, the two versions of Opera were dramatically different.
Consequently, the result of each set of experiment have been documented in a tabular format for each Browser, as follows:
- Internet Explorer 6.0: Part 2 www.web-zonez.com/screen/scroll/matrix4/4ie6results.html
- Internet Explorer 7.0: Part 3 www.web-zonez.com/screen/scroll/matrix4/4ie7results.html
- Mozilla 1.7: Part 4 www.web-zonez.com/screen/scroll/matrix4/3mzresults.html
- FireFox 1.5: Part 5 www.web-zonez.com/screen/scroll/matrix4/4ffresults.html
- Netscape 8.1: Part 6 www.web-zonez.com/screen/scroll/matrix4/4ns8results.html
- Opera 7.54: Part 7 www.web-zonez/screen/scroll/matrix4/4op7results.html
- Opera 9.1: Part 8 www.web-zonez/screen/scroll/matrix4/4op9results.html
- Feed-back & Comments:
- Please send any comments, opinions, and even contributions on this subject, using the Feed-Back Form.
- Further Reading:
- You can review the list of Related Articles, with brief descriptions and links on the Auxiliary Panel,











