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

color.cloudflare.design - HTML5 progressbar does not dynamically change #46522

Closed
reinhart1010 opened this issue Dec 14, 2019 · 6 comments
Closed
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine form-v2-experiment os-linux Issues only happening on Linux. priority-normal severity-important A non-core broken piece of functionality, not behaving the way you would expect. type-css Generic CSS issues
Milestone

Comments

@reinhart1010
Copy link

reinhart1010 commented Dec 14, 2019

URL: https://color.cloudflare.design/

Browser / Version: Firefox 71.0
Operating System: Ubuntu
Tested Another Browser: Yes Chrome

Problem type: Something else
Description: HTML5 progressbar does not dynamically change
Steps to Reproduce:

  1. Visit the site
  2. Observe the changes (approximately 3 seconds) on the dynamically-changing form elements (progress)

The <progress> color in Firefox remains unchanged.

Not reproducible in Chrome 79.0.3945.79.

Browser Configuration
  • None

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added this to the needstriage milestone Dec 14, 2019
@webcompat-bot webcompat-bot added browser-firefox engine-gecko The browser uses the Gecko rendering engine form-v2-experiment labels Dec 14, 2019
@softvision-sergiulogigan softvision-sergiulogigan changed the title cloudflare.design - see bug description cloudflare.design - HTML5 progressbar does not dynamically change Dec 16, 2019
@softvision-sergiulogigan softvision-sergiulogigan added priority-normal severity-important A non-core broken piece of functionality, not behaving the way you would expect. labels Dec 16, 2019
@ksy36
Copy link
Contributor

ksy36 commented Dec 17, 2019

The site is using -webkit-progress-value which is not supported in Firefox:

                }, Object(d.d)(u, {
                    color: v.color,
                    border: "1px solid currentColor",
                    css: Object(_.a)({
                        "&[value]::-webkit-progress-bar": {
                            backgroundColor: "transparent"
                        },
                        "&[value]::-webkit-progress-value": {
                            backgroundColor: v.color
                        }
                    }, "")
                })

so adding the following will color the bar in Firefox

   "&[value]::-moz-progress-bar": {
        backgroundColor: v.color
     }

There is an existing bug for that https://bugzilla.mozilla.org/show_bug.cgi?id=1455565 , but we perhaps can contact the site since it's an easy fix

@ksy36 ksy36 modified the milestones: needsdiagnosis, needscontact Dec 17, 2019
@ksy36 ksy36 added the type-css Generic CSS issues label Dec 17, 2019
@softvision-oana-arbuzov
Copy link
Member

The issue has been fixed. The progress color changes now.
ColorChanges

Tested with:
Browser / Version: Firefox Nightly 81.0a1 (2020-08-06)
Operating System: Windows 10 Pro

@reinhart1010
Copy link
Author

reinhart1010 commented Aug 7, 2020

This issue still persists.

image
image
image

@reinhart1010 reinhart1010 reopened this Aug 7, 2020
@reinhart1010 reinhart1010 modified the milestones: fixed, needscontact Aug 7, 2020
@softvision-oana-arbuzov softvision-oana-arbuzov added the os-linux Issues only happening on Linux. label Aug 7, 2020
@reinhart1010
Copy link
Author

https://cloudflare.design/color/ has been updated into https://color.cloudflare.design/, and now has a separate repository at https://github.com/cloudflare/color/

@reinhart1010 reinhart1010 changed the title cloudflare.design - HTML5 progressbar does not dynamically change color.cloudflare.design - HTML5 progressbar does not dynamically change Jun 23, 2021
@reinhart1010
Copy link
Author

Forwarded this issue to cloudflare/color#11

@ksy36
Copy link
Contributor

ksy36 commented Jun 24, 2021

Thanks for filing the issue @reinhart1010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine form-v2-experiment os-linux Issues only happening on Linux. priority-normal severity-important A non-core broken piece of functionality, not behaving the way you would expect. type-css Generic CSS issues
Projects
None yet
Development

No branches or pull requests

5 participants