sorccu / cufon

Fast text replacement with canvas and VML - no Flash or images required.
http://cufon.shoqolate.com
MIT License
2.09k stars 237 forks source link

Accessing certain properties of a VML group element causes errors in Internet Explorer #1

Closed sorccu closed 15 years ago

sorccu commented 15 years ago

The VML group element has some properties that are not meant to be accessed. Accessing any of them will cause an error and invalidate all other properties of the element at the same time. This means that selectors such as jQuery's $(':submit') will fail because they access these properties.

The properties that cause errors are: type, opacity, chromakey, spt and forcedash.

The JavaScript typeof operator will return "unknown" (not "undefined") for all these properties.

All other VML elements are OK with any existing or non-existing property.

http://msdn.microsoft.com/en-us/library/bb229485(VS.85).aspx

sorccu commented 15 years ago

As of 3b4720dcf1e70c587c13be48a27463357c052f58 the VML group element is no longer used, fixing the issue.