freeCodeCamp / freeCodeCamp/devdocs

CSS :has documentation shows wrong Firefox browser compatibility

Offen
#1,874 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
docs/improvement
Vorherrschende Sprache
Ruby
Sterne
39.5k
Forks
2.6k
Ø Merge
4 T. 32 Min.
Gemergte PRs (30 T.)
13

Beschreibung

# Documentation style bug

## Summary
shows the wrong browser compatibility for Firefox. It shows that the pseudo-selector works in Firefox, but it actually has only partial functionality (due to currently incomplete/buggy implementation) and is gated behind a feature flag. (see MDN screenshot below for reference)
![Screenshot 2022-11-24 at 00-23-31 has() - CSS Cascading Style Sheets MDN](https://user-images.githubusercontent.com/2199511/203667900-c8d41d5b-29b4-4f14-85b5-3235ecb68ac6.png)

## Actual style
![Screenshot 2022-11-24 at 00-26-47 DevDocs](https://user-images.githubusercontent.com/2199511/203668185-cdeb6a47-5684-4413-b6be-f3185cea5111.png)

## Expected style
(cell style changed from `.bc-supports-yes` to `.bc-supports-partial`)
![Screenshot 2022-11-24 at 00-28-44 DevDocs](https://user-images.githubusercontent.com/2199511/203668604-d3f7a96b-55d4-4c61-a4de-d4c4dbc5761c.png)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.