CSS Import Test - Test 41

Introduction

This set of sub-tests examines the level of support for the style element and compliance with the Section 14.2.1 of the HTML4.0 specification.

Test 41a works by setting the default style language of the document to an invalid value (text/nosense). This should cause UAs to think "What's this then? 'text/nonsense'? But I do not understand this language! I had better ignore any style attributes used, lest I make a fool of myself".

Test 41b is similar, but specifying the style language of a style element instead.

Tests

(41a). Style set by style attribute in a language tagged as "text/nonsense".

(41b). Style set by style element in a language tagged as "text/nonsense".

41c. Style set by style element in a language tagged as "text/css".

How to decide if the browser has passed

If any tests render red, then the browser is buggy (B). If the first two tests are unstyled and the third is green, then the browser passed (Y). If the third test is unstyled, then the test browser should be classified as maybe (M)