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

Documentation page introducing CSS paint() feature not working #33480

Open
a-figerou opened this issue May 7, 2024 · 2 comments
Open

Documentation page introducing CSS paint() feature not working #33480

a-figerou opened this issue May 7, 2024 · 2 comments
Labels
Content:CSS Cascading Style Sheets docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@a-figerou
Copy link

a-figerou commented May 7, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/image/paint

What specific section or headline is this issue about?

Play https://developer.mozilla.org/en-US/play

What information was incorrect, unhelpful, or incomplete?

The page is presenting an CSS animation called play() and in order to see it in action, the user click on the button PLAY. It opens in new tab https://developer.mozilla.org/en-US/play.

What did you expect to see?

We should be able to see the text getting colorful. Or at least warn the user it is not a working feature for Firefox according to:
https://developer.mozilla.org/en-US/docs/Web/API/PaintWorkletGlobalScope

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

The console of https://developer.mozilla.org/en-US/play, display on the page, is indicating:
TypeError: CSS.paintWorklet is undefined

Do you have anything more you want to share?

Environment:
Firefox

@a-figerou a-figerou added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 7, 2024
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label May 7, 2024
@a-figerou
Copy link
Author

For Chrome:
It just runs indefinitely.

@caugner
Copy link
Contributor

caugner commented May 14, 2024

FWIW The browser compatibility table on the page indicates that Firefox does not support paint().

@caugner caugner changed the title Documentation page introducing CSS Play() feature not working Documentation page introducing CSS paint() feature not working May 14, 2024
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 needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

2 participants