CSS Import Test - Test 54

Introduction

This test examines whether browsers correctly interpret the media attribute as is specified in the HTML4 spec, when applied to the STYLE element.

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.

Tests

8. Embedded stylesheet (style element). This is a control test. If this test fails, then none of the tests below should be expected to succeed.

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

54b. Included with media set to screen;color

54c. Included with media set to screen color, screen black/white

54d. Included with media set to braille, all with print

54e. Included with media set to aural,handheld /*,screen with speaker jack */

54f. Included with media set to ,,,,,,,,,screen,,,,,,,,,,,

(54g). Included with media set to braille and all

(54h). Included with media set to aural,not screen

(54i). Included with media set to braille screen

54j. Included with media set to Screen

How to decide if the browser has passed

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