SCROLLIN' ALONG...
Phase II - Body > Peep-Hole
Test Criteria & Considerations
This second 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 much greater (both in height & width) than the Peep-Hole. Again, the purpose of this is to be able to distinguish and identify clearly the scrollbars of these two elements, as well as their relationship with the Browser Default Scrollbars.
Furthermore, this phase is also intended to be a reality-check for the results obtained in the Phase I of this study.
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, a total of 50 test files were also 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: Priviledged Ones)
Body:
- The 'background' was set to dark green (#006700).
- Furthermore, the 'padding' and 'margin' properties were also set "0". (Reference: Priviledged Ones)
- The 'height' (1500px) and 'width' (1500px) setting values were arbitrary, but intentionally selected to be much greater than most screen resolutions in use and to facilitate evaluation of the raw test files by anyone. Furthermore, the choice of absolute values for 'height' & 'width' was for the purposes of improving preciseness, and eliminating any possibility of inaccuracies of in percentage calculations in different browsers.
#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 (1600px) > 'height' of body (1500px)
Width (300px) < 'width' of body (1500px) - Horizontal Scroll:
Width (1600px) > 'width' of body (1500px)
Height (300px) < 'height' of body (1500px)
- Vertical Scroll:
#measure:
- The background was set to light gray (#a7a7a7).
-
Inserted inside the body element, as a reference bar for the purposes of comparing the actual 'height'/'width' of the body againts its specified settings, as follows:
- Vertical Scroll:
Height (1500px) = 'height' of body (1500px) - Horizontal Scroll:
Width (1500px) = 'width' of body (1500px)
- 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 Internet Explorer verions tests were the same. Same apllies to those of Netscape. 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 7.0: Part 2 www.web-zonez.com/screen/scroll/matrix3/3ieresults.html
- Mozilla 1.7: Part 3 www.web-zonez.com/screen/scroll/matrix3/3mzresults.html
- FireFox 1.5: Part 4 www.web-zonez.com/screen/scroll/matrix3/3ffresults.html
- Netscape 8.1: Part 5 www.web-zonez.com/screen/scroll/matrix3/3ns8results.html
- Opera 7.54: Part 6 www.web-zonez/screen/scroll/matrix3/3op7results.html
- Opera 9.1: Part 7 www.web-zonez/screen/scroll/matrix3/3op9results.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,











