CSS Import Test - Test 35

Introduction

This set of sub-tests examines compliance with Section 14.3.2 of the HTML4.0 specification.

All stylesheets imported by this page use the HTML LINK method. See test 2 of the main test suite.

Tests

35a. First persistent stylesheet. This should be green.

35b. Second persistent stylesheet. This should be green.

35c. First preferred stylesheet. This should be green at first.

35d. Second preferred stylesheet. This should be green at first.

(35e). First alternative stylesheet. This should be unstyled at first.

(35f). Second alternative stylesheet. This should be unstyled at first.

How to decide if the browser has passed

  1. First, take a note of the colours of the above tests as they appeared when the page was first displayed. If any of the tests are red, or if one (or more) of the first four is (are) unstyled, then the browser should be given the buggy designation (B). Otherwise, continue on to the next step.

  2. If the browser passed the first step, then find the option in the UI that controls alternative stylesheet selection. If the UA is missing such this UI feature, then the browser should be given the failed designation (N). Otherwise, continue on to the next step.

  3. Ensure the current selection (if it is shown) is "Preferred Set". Also check that only there are only two options available (they are likely to be called "Preferred Set" and "Alternative Set"). If the UA does not provide this information, or if it does not list Preferred Set as being selected, or if there is more than one option, or if it calls them different things, then that is not against the spec, just pathetic. Either way, continue on to the next step.

  4. Change the selection to "Alternative Set" (or whatever looks most likely to stand for "Alternative Set"), and apply the change (this may involve click OK or APPLY, or it may be automatic). If the browser immediately crashes, then the browser should be given the crashed designation (C). Otherwise, continue on to the next step.

  5. Check that, in the six test paragraphs above, the following conditions are now met:

  6. If the test paragraphs change to match the above description, then the browser can be classified as having passed (Y) otherwise it is buggy (B).

Note. Some browsers have had plugins written for them that enables this behaviour. For example, the latest releases of Windows and Mac Internet Explorer have Javascript applets that let you change between alternative stylesheets. If your browser has such an applet, then please submit the results for your browser with the applet, and then give information (preferably a uri) about the plugin in the comments section of the main test page.