This repository has been archived by the owner on Apr 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
Divide-by-zero error in linear-gradient code #30
Comments
Also see issue #39 -- this error is reproducible by setting a PIE element's ancestor to display:none. |
This issue shouldn't be closed as the error still occurs (and is particularly irritating). |
You're using the most recent code from GitHub and still seeing this? Can you post a testcase? |
Problem occurring also at line 3133 of the uncompressed .htc when applied to element with no dimensions (display: none) |
Plastered over with the following kludge replacement for line 3133; works in my situation but not sure if would work generally:
|
This has already been fixed in the latest code: a76770d |
gucong3000
pushed a commit
to gucong3000/PIE
that referenced
this issue
Apr 22, 2016
… or height of zero; this prevents a divide-by-zero error in the background-image position calculation and has a performance benefit as well. Fixes issue lojjic#30.
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See forum posting http://css3pie.com/forum/viewtopic.php?f=3&t=4 -- there is a divide-by-zero error when the element has dimensions of zero.
We should probably avoid performing any rendering whatsoever when the element has no dimensions.
The text was updated successfully, but these errors were encountered: