You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Invalid value for property: zoomHi I couldn't find anything relevant searching the forum cause the terms are too generic.
The thing is that when I include a jquary from googleapis even with an empty body:
I get an error in the console
DOM style property Invalid value for property: zoom Line 1: 1 -^
So here I have found the next:
Internet Explorer for Windows versions 5.5 and above support the non-standard property zoom, which sets the magnification scale of an element. There's no CSS3 equivalent to this property (as yet).
The zoom property isn't inherited, but it will affect the children of the element to which it is applied, which will be magnified along with the parent. The content surrounding an element that has zoom applied will reflow to account for the resizing that will occur when zoom is set to a value other than normal.
One of the main uses for zoom has been to ensure that an element has a layout. It's commonly used with a value of 1.0 (normal), so that no other changes are evident on the page. Refer to The Internet Explorer hasLayout Property for a longer discussion of the usage that the zoom property can be put to when debugging CSS issues in Internet Explorer.
So, as this property only work in IE, Is there a way to define this property in order to avoid getting the error in the console?
Cause editing the jquary.js file is not an option to me (and I'm not quite sure how to do it either there are tons of lines that may be broken if I do)
In the other hand, is really annoying debug my websites with the console always throwing an error.
Anyway, I think this might be a regression, as Opera up to 11.52 seems to be just fine with applying numerical values to zoom.