CSS Import Test - Test 53

Introduction

This test examines whether browsers correctly interpret media dependent blocks (@media).

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

53a. Control Line. If this is unstyled, the rest of the test is pointless, and the browser has failed (N)

53b. Specified with lots of whitespace.

53c. Specified with media set to ScReEn.

53d. Specified with media set to aural, all, tv.

53e. Specified with statement spaced out with tabs.

53f. Specified with statement broken over many lines.

53g. Specified with CDO/CDC around the rule.

(53h). Specified with media set to "screen"

(53i). Specified with media set to all but screen

(53j). Specified with media set to ,screen

(53k). Specified with incorrect syntax @ media

(53l). Specified with media set to screen inside a style block with media set to tty

How to decide if the browser has passed

  1. If the control test, 53a, is unstyled, then the browser failed (N).
  2. If any are red or if any of 53b-53g are unstyled, the browser is buggy (B).
  3. If 53a-53g are green and 53h-53l are unstyled, the browser has passed (Y).