Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "Using CSS nesting" examples to only consider current spec #37487

Closed
DanKaplanSES opened this issue Jan 3, 2025 · 1 comment · Fixed by #37499
Closed

Update "Using CSS nesting" examples to only consider current spec #37487

DanKaplanSES opened this issue Jan 3, 2025 · 1 comment · Fixed by #37499
Labels
Content:CSS Cascading Style Sheets docs

Comments

@DanKaplanSES
Copy link
Contributor

DanKaplanSES commented Jan 3, 2025

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting/Using_CSS_nesting

What specific section or headline is this issue about?

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting/Using_CSS_nesting#examples

What information was incorrect, unhelpful, or incomplete?

This example page contains this note:

Note: This example demonstrates different outputs in browsers implementing the original specification versus the current nesting spec. The original, pre-August 2023 nesting spec that was implemented in Chrome or Safari, requires the & nesting combinator. If your browser supports the current spec, the output of both examples matches that of the second example.

As this spec was implemented over a year ago, I think the note and/or examples should be updated so they're only relevant to the current specification.

As a reader interested in the current spec, I can't tell if this example teaches me a pertinent lesson. I wouldn't feel confident about that without reading info on an external site.

What did you expect to see?

See above

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@DanKaplanSES DanKaplanSES added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 3, 2025
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Jan 3, 2025
@OnkarRuikar
Copy link
Contributor

Thanks for flagging the outdated note!

@Josh-Cena Josh-Cena removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 5, 2025
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants