Skip to content

Commit

Permalink
Remove extra parenthesis (#33702)
Browse files Browse the repository at this point in the history
Update index.md

Removed extra parenthesis
  • Loading branch information
calebhyatt committed May 22, 2024
1 parent 4a3c62a commit d89b6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/_colon_has/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The `:has()` pseudo-class takes on the [specificity](/en-US/docs/Web/CSS/Specifi
}
```

If the `:has()` pseudo-class itself is not supported in a browser, the entire selector block will fail unless `:has()` is in a forgiving selector list, such as in [`:is()`](/en-US/docs/Web/CSS/:is) and [`:where()`](/en-US/docs/Web/CSS/:where)).
If the `:has()` pseudo-class itself is not supported in a browser, the entire selector block will fail unless `:has()` is in a forgiving selector list, such as in [`:is()`](/en-US/docs/Web/CSS/:is) and [`:where()`](/en-US/docs/Web/CSS/:where).

The `:has()` pseudo-class cannot be nested within another `:has()`. This is because many pseudo-elements exist conditionally based on the styling of their ancestors and allowing these to be queried by `:has()` can introduce cyclic querying.

Expand Down

0 comments on commit d89b6ab

Please sign in to comment.