CSS Import Test - Test 43

Introduction

This test examines whether browsers correctly interpret the media attribute as is specified in the HTML4 spec.

Warning! This test assumes that your browser believes it is of type screen. If your browser recognises other types, such as tv for a WebTV browser of tty for a text mode browser, then these results will not be the same as expected.

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

Tests

4. Linked stylesheet with media attribute set to screen. This is a control test. If this test fails, then none of the tests below should be expected to succeed.

43a. Linked with media set to 3d-glasses, screen and resolution > 40dpi, braille

43b. Linked with media set to screen;color

43c. Linked with media set to screen color, screen black/white

43d. Linked with media set to braille, all with print

43e. Linked with media set to aural,handheld /*,screen with speaker jack */

43f. Linked with media set to ,,,,,,,,,screen,,,,,,,,,,,

43g. Linked with media set to Screen

(43h). Linked with media set to braille and all

(43i). Linked with media set to braille screen

(43j). Linked with media set to aural,not screen

How to decide if the browser has passed

  1. If all tests are unstyled, the browser is a maybe (M).
  2. If test 4 above (or on the main page) is unstyled, then this test should be considered failed (N).
  3. If any are red or if any of 43a-43g are unstyled, the browser is buggy (B).
  4. If 43a-43g are green and 43h-43j are unstyled, the browser has passed (Y).