Total
9418 tests (9418 ?).
See the table of tests.
Chapters
Chapter 1 - About the CSS 2.1 Specification
- 1.4.3 Shorthand properties , 6 tests (6 ?)
Chapter 2 - Introduction to CSS 2.1
- 2.3.1 The canvas , 1 tests (1 ?)
Chapter 3 - Conformance: Requirements and Recommendations
- 3.4 The text/css content type , 2 tests (2 ?)
Chapter 4 - Syntax and basic data types
- 4 Syntax and basic data types , 8 tests (8 ?)
- 4.1.1 Tokenization , 7 tests (7 ?)
- 4.1.2 Keywords , 4 tests (4 ?)
- 4.1.3 Characters and case , 48 tests (48 ?)
- 4.1.5 At-rules , 13 tests (13 ?)
- 4.1.6 Blocks , 6 tests (6 ?)
- 4.1.7 Rule sets, declaration blocks, and selectors , 6 tests (6 ?)
- 4.1.8 Declarations and properties , 8 tests (8 ?)
- 4.1.9 Comments , 15 tests (15 ?)
- 4.2 Rules for handling parsing errors , 79 tests (79 ?)
- 4.3.1 Integers and real numbers , 10 tests (10 ?)
- 4.3.2 Lengths , 35 tests (35 ?)
- 4.3.3 Percentages , 3 tests (3 ?)
- 4.3.4 URLs and URIs , 17 tests (17 ?)
- 4.3.5 Counters , 58 tests (58 ?)
- 4.3.6 Colors , 9 tests (9 ?)
- 4.3.7 Strings , 6 tests (6 ?)
- 4.4 CSS style sheet representation , 110 tests (110 ?)
- 4.4.1 Referring to characters not represented in a character encoding , 1 tests (1 ?)
Chapter 5 - Selectors
- 5.1 Pattern matching , 1 tests (1 ?)
- 5.2.1 Grouping , 4 tests (4 ?)
- 5.3 Universal selector , 5 tests (5 ?)
- 5.4 Type selectors , 2 tests (2 ?)
- 5.5 Descendant selectors , 16 tests (16 ?)
- 5.6 Child selectors , 3 tests (3 ?)
- 5.7 Adjacent sibling selectors , 14 tests (14 ?)
- 5.8 Attribute selectors , 22 tests (22 ?)
- 5.8.1 Matching attributes and attribute values , 8 tests (8 ?)
- 5.8.2 Default attribute values in DTDs , 8 tests (8 ?)
- 5.8.3 Class selectors , 16 tests (16 ?)
- 5.9 ID selectors , 9 tests (9 ?)
- 5.10 Pseudo-elements and pseudo-classes , 1 tests (1 ?)
- 5.11 Pseudo-classes , 7 tests (7 ?)
- 5.11.1 :first-child pseudo-class , 4 tests (4 ?)
- 5.11.2 The link pseudo-classes: :link and :visited , 5 tests (5 ?)
- 5.11.3 The dynamic pseudo-classes: :hover, :active, and :focus , 18 tests (18 ?)
- 5.11.4 The language pseudo-class: :lang , 8 tests (8 ?)
- 5.12.1 The :first-line pseudo-element , 62 tests (62 ?)
- 5.12.2 The :first-letter pseudo-element , 459 tests (459 ?)
- 5.12.3 The :before and :after pseudo-elements , 2 tests (2 ?)
Chapter 6 - Assigning property values, Cascading, and Inheritance
- 6 Assigning property values, Cascading, and Inheritance , 28 tests (28 ?)
- 6.1.1 Specified values , 4 tests (4 ?)
- 6.2 Inheritance , 8 tests (8 ?)
- 6.2.1 The 'inherit' value , 18 tests (18 ?)
- 6.3 The @import rule , 3 tests (3 ?)
- 6.4 The cascade , 10 tests (10 ?)
- 6.4.1 Cascading order , 2 tests (2 ?)
- 6.4.2 !important rules , 5 tests (5 ?)
- 6.4.3 Calculating a selector's specificity , 12 tests (12 ?)
- 6.4.4 Precedence of non-CSS presentational hints , 28 tests (28 ?)
Chapter 7 - Media types
- 7 Media types , 17 tests (17 ?)
- 7.2.1 The @media rule , 4 tests (4 ?)
Chapter 8 - Box model
- 8.1 Box dimensions , 5 tests (5 ?)
- 8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', and 'margin' , 328 tests (328 ?)
- 8.3.1 Collapsing margins , 118 tests (118 ?)
- 8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', and 'padding' , 389 tests (389 ?)
- 8.5 Border properties , 51 tests (51 ?)
- 8.5.1 Border width: 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width', and 'border-width' , 337 tests (337 ?)
- 8.5.2 Border color: 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color', and 'border-color' , 673 tests (673 ?)
- 8.5.3 Border style: 'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style', and 'border-style' , 143 tests (143 ?)
- 8.5.4 Border shorthand properties: 'border-top', 'border-right', 'border-bottom', 'border-left', and 'border' , 165 tests (165 ?)
- 8.6 The box model for inline elements in bidirection context , 76 tests (76 ?)
Chapter 9 - Visual formatting model
- 9 Visual formatting model , 1 tests (1 ?)
- 9.1.1 The viewport , 7 tests (7 ?)
- 9.1.2 Containing blocks , 3 tests (3 ?)
- 9.2.1 Block-level elements and block boxes , 21 tests (21 ?)
- 9.2.1.1 Anonymous block boxes , 71 tests (71 ?)
- 9.2.2 Inline-level elements and inline boxes , 12 tests (12 ?)
- 9.2.2.1 Anonymous inline boxes , 1 tests (1 ?)
- 9.2.4 The 'display' property , 64 tests (64 ?)
- 9.3 Positioning schemes , 20 tests (20 ?)
- 9.3.1 Choosing a positioning scheme: 'position' property , 30 tests (30 ?)
- 9.3.2 Box offsets: 'top', 'right', 'bottom', 'left' , 287 tests (287 ?)
- 9.4.1 Block formatting contexts , 15 tests (15 ?)
- 9.4.2 Inline formatting context , 30 tests (30 ?)
- 9.4.3 Relative positioning , 10 tests (10 ?)
- 9.5 Floats , 163 tests (163 ?)
- 9.5.1 Positioning the float: the 'float' property , 42 tests (42 ?)
- 9.5.2 Controlling flow next to floats: the 'clear' property , 54 tests (54 ?)
- 9.6 Absolute positioning , 7 tests (7 ?)
- 9.6.1 Fixed positioning , 1 tests (1 ?)
- 9.7 Relationships between 'display', 'position', and 'float' , 74 tests (74 ?)
- 9.8.2 Relative positioning , 10 tests (10 ?)
- 9.8.4 Absolute positioning , 25 tests (25 ?)
- 9.9 Layered presentation , 6 tests (6 ?)
- 9.9.1 Specifying the stack level: the 'z-index' property , 45 tests (45 ?)
- 9.10 Text direction: the 'direction' and 'unicode-bidi' properties , 112 tests (112 ?)
Chapter 10 - Visual formatting model details
- 10.1 Definition of "containing block" , 57 tests (57 ?)
- 10.2 Content width: the 'width' property , 111 tests (111 ?)
- 10.3.1 Inline, non-replaced elements , 2 tests (2 ?)
- 10.3.2 Inline, replaced elements , 15 tests (15 ?)
- 10.3.3 Block-level, non-replaced elements in normal flow , 9 tests (9 ?)
- 10.3.4 Block-level, replaced elements in normal flow , 9 tests (9 ?)
- 10.3.5 Floating, non-replaced elements , 16 tests (16 ?)
- 10.3.6 Floating, replaced elements , 10 tests (10 ?)
- 10.3.7 Absolutely positioned, non-replaced elements , 37 tests (37 ?)
- 10.3.8 Absolutely positioned, replaced elements , 44 tests (44 ?)
- 10.3.9 'Inline-block', non-replaced elements in normal flow , 19 tests (19 ?)
- 10.3.10 'Inline-block', replaced elements in normal flow , 5 tests (5 ?)
- 10.4 Minimum and maximum widths: 'min-width' and 'max-width' , 196 tests (196 ?)
- 10.5 Content height: the 'height' property , 101 tests (101 ?)
- 10.6 Calculating heights and margins , 2 tests (2 ?)
- 10.6.1 Inline, non-replaced elements , 3 tests (3 ?)
- 10.6.2 Inline replaced elements, block-level replaced elements in normal flow, 'inline-block' replaced elements in normal flow and floating replaced elements , 36 tests (36 ?)
- 10.6.3 Block-level non-replaced elements in normal flow when 'overflow' computes to 'visible' , 21 tests (21 ?)
- 10.6.4 Absolutely positioned, non-replaced elements , 24 tests (24 ?)
- 10.6.5 Absolutely positioned, replaced elements , 34 tests (34 ?)
- 10.6.6 Complicated cases , 4 tests (4 ?)
- 10.6.7 'Auto' heights for block formatting context roots , 3 tests (3 ?)
- 10.7 Minimum and maximum heights: 'min-height' and 'max-height' , 182 tests (182 ?)
- 10.8 Line height calculations: the 'line-height' and 'vertical-align' properties , 13 tests (13 ?)
- 10.8.1 Leading and half-leading , 210 tests (210 ?)
Chapter 11 - Visual effects
- 11.1 Overflow and clipping , 12 tests (12 ?)
- 11.1.1 Overflow: the 'overflow' property , 50 tests (50 ?)
- 11.1.2 Clipping: the 'clip' property , 64 tests (64 ?)
- 11.2 Visibility: the 'visibility' property , 23 tests (23 ?)
Chapter 12 - Generated content, automatic numbering, and lists
- 12.1 The :before and :after pseudo-elements , 54 tests (54 ?)
- 12.2 The 'content' property , 166 tests (166 ?)
- 12.3 Quotation marks , 3 tests (3 ?)
- 12.3.1 Specifying quotes with the 'quotes' property , 48 tests (48 ?)
- 12.4 Automatic counters and numbering , 159 tests (159 ?)
- 12.4.1 Nested counters and scope , 6 tests (6 ?)
- 12.4.2 Counter styles , 36 tests (36 ?)
- 12.4.3 Counters in elements with 'display: none' , 3 tests (3 ?)
- 12.5 Lists , 12 tests (12 ?)
- 12.5.1 Lists: the 'list-style-type', 'list-style-image', 'list-style-position', and 'list-style' properties , 139 tests (139 ?)
Chapter 13 - Paged media
- 13.1 Introduction to paged media , 2 tests (2 ?)
- 13.2 Page boxes: the @page rule , 12 tests (12 ?)
- 13.2.1 Page margins , 7 tests (7 ?)
- 13.2.2 Page selectors: selecting left, right, and first pages , 13 tests (13 ?)
- 13.2.3 Content outside the page box , 1 tests (1 ?)
- 13.3.1 Page break properties: 'page-break-before', 'page-break-after', 'page-break-inside' , 42 tests (42 ?)
- 13.3.2 Breaks inside elements: 'orphans', 'widows' , 10 tests (10 ?)
- 13.3.3 Allowed page breaks , 2 tests (2 ?)
Chapter 14 - Colors and Backgrounds
- 14.1 Foreground color: the 'color' property , 163 tests (163 ?)
- 14.2 The background , 48 tests (48 ?)
- 14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background' , 713 tests (713 ?)
Chapter 15 - Fonts
- 15.2 Font matching algorithm , 9 tests (9 ?)
- 15.3 Font family: the 'font-family' property , 81 tests (81 ?)
- 15.4 Font styling: the 'font-style' property , 27 tests (27 ?)
- 15.5 Small-caps: the 'font-variant' property , 25 tests (25 ?)
- 15.6 Font boldness: the 'font-weight' property , 41 tests (41 ?)
- 15.7 Font size: the 'font-size' property , 112 tests (112 ?)
- 15.8 Shorthand font property: the 'font' property , 77 tests (77 ?)
Chapter 16 - Text
- 16.1 Indentation: the 'text-indent' property , 86 tests (86 ?)
- 16.2 Alignment: the 'text-align' property , 60 tests (60 ?)
- 16.3.1 Underlining, overlining, striking, and blinking: the 'text-decoration' property , 131 tests (131 ?)
- 16.4 Letter and word spacing: the 'letter-spacing' and 'word-spacing' properties , 141 tests (141 ?)
- 16.5 Capitalization: the 'text-transform' property , 51 tests (51 ?)
- 16.6 Whitespace: the 'white-space' property , 28 tests (28 ?)
- 16.6.1 The 'white-space' processing model , 95 tests (95 ?)
- 16.6.2 Example of bidirectionality with white-space collapsing , 2 tests (2 ?)
- 16.6.3 Control and combining characters' details , 2 tests (2 ?)
Chapter 17 - Tables
- 17.1 Introduction to tables , 15 tests (15 ?)
- 17.2 The CSS table model , 38 tests (38 ?)
- 17.2.1 Anonymous table objects , 215 tests (215 ?)
- 17.3 Columns , 12 tests (12 ?)
- 17.4 Tables in the visual formatting model , 20 tests (20 ?)
- 17.4.1 Caption position and alignment , 23 tests (23 ?)
- 17.5 Visual layout of table contents , 28 tests (28 ?)
- 17.5.1 Table layers and transparency , 26 tests (26 ?)
- 17.5.2 Table width algorithms: the 'table-layout' property , 23 tests (23 ?)
- 17.5.2.1 Fixed table layout , 15 tests (15 ?)
- 17.5.2.2 Automatic table layout , 5 tests (5 ?)
- 17.5.3 Table height algorithms , 38 tests (38 ?)
- 17.5.4 Horizontal alignment in a column , 5 tests (5 ?)
- 17.5.5 Dynamic row and column effects , 6 tests (6 ?)
- 17.6 Borders , 21 tests (21 ?)
- 17.6.1 The separated borders model , 87 tests (87 ?)
- 17.6.1.1 Borders and Backgrounds around empty cells: the 'empty-cells' property , 38 tests (38 ?)
- 17.6.2 The collapsing border model , 48 tests (48 ?)
- 17.6.2.1 Border conflict resolution , 353 tests (353 ?)
- 17.6.3 Border styles , 4 tests (4 ?)
Chapter 18 - User interface
- 18.1 Cursors: the 'cursor' property , 40 tests (40 ?)
- 18.2 System Colors , 1 tests (1 ?)
- 18.4 Dynamic outlines: the 'outline' property , 309 tests (309 ?)
- 18.4.1 Outlines and the focus , 3 tests (3 ?)
Appendix E - Elaborate description of Stacking Contexts
- E.2 Painting order , 19 tests (19 ?)
Appendix G - Grammar of CSS 2.1
- G.1 Grammar , 2 tests (2 ?)