Tutorials Bugs Masterclass Free stuff Test pages Proposals

Core tests

Advanced tests

This test

RichInStyle.com test pages - Application of style to elements

Introduction

These are the tests that test the application of styles to elements - selectors and combinators.

Note that :before, :after and :lang() are tested separately, under generated content and languages respectively.

Contents

Tests

IDs

ID grouping

ID validity

CLASSes

CLASS grouping

CLASS validity

Multiple CLASSes

Multiple CLASSes 2

Case sensitivity

The universal selector

The attribute selector

The type (element) selector

The 'attribute contains' selector

The dash match attribute selector

Link pseudo-classes

Dynamic pseudo-classes

Dynamic pseudo-classes 2

Selector combinations

:first-child

:first-letter

:first-line

The descendant combinator

The child combinator

The adjacent sibling combinator

The adjacent sibling combinator 2