arrow-down arrow at-sign bug check checkbox-checked checkbox-unchecked svg-checkmark chevron-right chevrons-right circle-down circle-left circle-right circle-up cloud2 svg-cross2 download download external-link filter github hash home leaf leaf left link-2 log-in log-out mail menu message-square minus plus radio-checked radio-checked2 radio-unchecked search settings spinner8 target twitter up upload-2 user users warning x zap
  • Home
  • Report a bug
  • Contribute
  • All issues
  • Login

URL: http://announcement.frontendne.com/bugzilla.html
Browser / Version: Firefox 51.0
Operating System: Mac OS X 10.11
Problem type: Something else - I'll add details below

Steps to Reproduce

  1. Navigate to: http://announcement.frontendne.com/bugzilla.html
  2. Look at a seemingly blank page

Expected Behavior: The page should have a rainbow style gradiated background

Actual Behavior: the page has a white background

I've dug into this a little and it's an issue with the CSS variables. If you look at the inspector I put in a fallback for when the browser can't render the CSS variable version of the gradient. This works great for iOS Safari, but Firefox still tries to render the non-fallback version.

Specifically the issue is with hsla( calc( var(--hue) + 90 ) 50%, 50%, 1 ). It seems it can't handle the calc() statement and the variable together (though this seems to be standard practice for doing math on css variables).

I've gotten around the issue myself by removing the calc() part and doing the math in Javascript. However, Firefox should either render the gradient or nullify it and fall back to the next CSS rule. I've created a separate bugzilla url so you can continue to see the issue.

From webcompat.com with ❤️

Please login to edit issues.

View issue on Github

Shortcut: Press l on your keyboard to open the label editor. Shortcut: Press g on your keyboard to be taken to the GitHub view of this page.
Closed: Duplicate
#4805

announcement.frontendne.com - see bug description

Opened: 2017-02-22
Reporter: samdbeckham
Comments: 3
  • Home
  • List of issues
  • About
  • Contribute
  • Contact
  • Privacy Policy
  • Terms of Service
  • Code of Conduct