freeCodeCamp / freeCodeCamp/devdocs

CSS :has documentation shows wrong Firefox browser compatibility

Đang mở
#1,874 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
docs/improvement
Ngôn ngữ chính
Ruby
Star
39.5k
Fork
2.6k
Merge trung bình
4 ngày 32 phút
Pull request đã merge (30 ngày)
13

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.