Skip to content

Commit 141ebbe

Browse files
keithamuscaptainbrossetddbeck
authored
Add heading selectors (#3299)
Co-authored-by: Patrick Brosset <patrickbrosset@gmail.com> Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
1 parent 33098f1 commit 141ebbe

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

features/heading-selectors.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: Heading pseudo-classes
2+
description: The `:heading` and `:heading()` CSS pseudo-classes match headings of varying levels. The `:heading` pseudo-class matches any heading (`<h1>` through `<h6>`). The `:heading()` selector matches any of the given levels. For example, `:heading(1, 2)` matches headings level 1 and 2.
3+
spec: https://drafts.csswg.org/selectors-5/#headings
4+
group: selectors
5+
compat_features:
6+
- css.selectors.heading
7+
- css.selectors.headingfunction
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Generated from: heading-selectors.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- css.selectors.heading
9+
- css.selectors.headingfunction

0 commit comments

Comments
 (0)