This set of sub-tests examines compliance with the last part of Section 14.3.2 in the HTML4.0 specification, setting the preferred stylesheet using HTTP headers.
All stylesheets imported by this page use the HTML
LINK
method. See test 2 of the main test suite.
36a. First preferred stylesheet. This should be green at first.
(36b). Second preferred stylesheet. This should be unstyled at first.
(36c). First alternative stylesheet. This should be unstyled at first.
(36d). Second alternative stylesheet. This should be unstyled at first.
If the first paragraph (36a) is green and the next three paragraphs (36b-36d) are unstyled, then the test should be deemed passed (Y).
If 36b is red, then the browser should be deemed buggy (B).
If all the lines are unstyled, then the browser should be deemed a maybe (M).
Otherwise, the test should be deemed failed (N).
Or, if you prefer, use the following table to decide what the result should be. Simply find the row that corresponds to the list above, and read off your result from the final column.
36a | 36b | 36c | 36d | Result |
---|---|---|---|---|
Unstyled | Unstyled | Unstyled | Unstyled | M |
Unstyled | Unstyled | Unstyled | Red | N |
Unstyled | Unstyled | Red | Unstyled | N |
Unstyled | Unstyled | Red | Red | N |
Unstyled | Red | Unstyled | Unstyled | B |
Unstyled | Red | Unstyled | Red | B |
Unstyled | Red | Red | Unstyled | B |
Unstyled | Red | Red | Red | B |
Green | Unstyled | Unstyled | Unstyled | Y |
Green | Unstyled | Unstyled | Red | N |
Green | Unstyled | Red | Unstyled | N |
Green | Unstyled | Red | Red | N |
Green | Red | Unstyled | Unstyled | B |
Green | Red | Unstyled | Red | B |
Green | Red | Red | Unstyled | B |
Green | Red | Red | Red | B |
Note that a UI should be present that allows you to switch the colours over, making either 36c and 36d red while turning 36a and 36b to the unstyled state, or making 36a, 36c and 36d unstyled while making 36b red. This is examined by test 35.