Skip to content

Added documentation that sibling combinators to the right of :scope never match - #43743

Merged
Josh-Cena merged 6 commits into
mdn:mainfrom
narasimhan-lakshmi:update/docx-after-scope
Aug 11, 2026
Merged

Added documentation that sibling combinators to the right of :scope never match#43743
Josh-Cena merged 6 commits into
mdn:mainfrom
narasimhan-lakshmi:update/docx-after-scope

Conversation

@narasimhan-lakshmi

Copy link
Copy Markdown
Contributor

Description

Added a note section that describes that sibling combinators to the right of :scope never match.
Explicit examples showing :scope + * and :scope ~ * as selectors that never match with firefox generated warnings.

Motivation

It updates the documentation and makes the reader to understand proper working of scope without bugs.

Additional details

Related issues and pull requests

Fixes #42364

@narasimhan-lakshmi
narasimhan-lakshmi requested a review from a team as a code owner April 11, 2026 04:50
@narasimhan-lakshmi
narasimhan-lakshmi requested review from chrisdavidmills and removed request for a team April 11, 2026 04:50
@github-actions github-actions Bot added the Content:CSS Cascading Style Sheets docs label Apr 11, 2026
@github-actions github-actions Bot added the size/s [PR only] 6-50 LoC changed label Apr 11, 2026
@github-actions

github-actions Bot commented Apr 11, 2026

Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

(comment last updated: 2026-08-11 22:01:22)

@Josh-Cena
Josh-Cena requested a review from a team as a code owner August 11, 2026 21:56

@Josh-Cena Josh-Cena left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@Josh-Cena
Josh-Cena merged commit e8310a9 into mdn:main Aug 11, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add section about never matching sibling selectors after :scope

3 participants