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

border-image-source not rendering on Firefox #28

Open
jsnkuhn opened this issue Jan 22, 2022 · 2 comments
Open

border-image-source not rendering on Firefox #28

jsnkuhn opened this issue Jan 22, 2022 · 2 comments

Comments

@jsnkuhn
Copy link

jsnkuhn commented Jan 22, 2022

There's an issue on Firefox with border-image where it will overwrite the fallback border as intended (in the example below the double, solid, orange lines) but the border-image-source will not render on the element. You can however make the border-image-source appear by tabbing away and then returning to the codepen or dragging the code windows over the page view....

a hard reload is required to make it happen consistently

https://codepen.io/jsnkuhn/pen/PoJbWwy?editors=1100

GIF

@jsnkuhn
Copy link
Author

jsnkuhn commented Jan 29, 2022

this might just be a Firefox bug with -moz-element() not working with anything other than background: https://bugzilla.mozilla.org/show_bug.cgi?id=711326

@jsnkuhn
Copy link
Author

jsnkuhn commented Mar 27, 2022

also seems like this could be a general performance issue with the polyfill in Firefox. I'm really not sure.

Another example: https://codepen.io/jsnkuhn/pen/NWgBBdO?editors=0100

What I hope will be a complete PaintAPI CSS corner-shape polyfill. In Firefox it performs OK onload but if you change any of the custom properties, to let's say change a border-width, all of the examples need to re-paint and this takes a while. Some times like above you need to resize the viewport to get the examples to re-paint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant