freeCodeCamp / freeCodeCamp/devdocs

CSS :has documentation shows wrong Firefox browser compatibility

Ouverte
#1,874 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
docs/improvement
Langage dominant
Ruby
Étoiles
39.5k
Forks
2.6k
Merge moyen
4 j 32 min
PR mergées (30 j)
13

Description

# 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)

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.