Specification link: 6.10 The 'style' element

styling-css-08-f ← index → styling-inherit-01-b

Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.

# styling-elem-01-b.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test is passed if both rectangles are green.

## Test Description

This tests that the 'type' attribute on a 'style' element is honored.

Once the test is loaded, two rectangles are presented, the upper indicating the result of a sub-test that checks whether the 'type' attribute on a 'style' element correctly defaults to "text/css", and the lower indicating the result of a sub-test that checks whether a bogus value for 'type' does not cause the 'style' element contents to be interpreted as CSS. Each rectangle is green if the sub-test is passed or red if it failed.

styling-css-08-f ← index → styling-inherit-01-b