…han setting a variable in outer scope; this fixes an intermittent bug where init would be called before the outer var had its value set (due to the init function getting hoisted perhaps?) which led to elements not being initialized and, it seems, browser crashes.

…ction when not actually leaving the page, e.g. when a javascript: link is clicked. Remove the onunload listener and the global window.PIE reference so they don't leak. Quit keeping a list of watched ancestors since we don't need it anymore.

…ub which loads one of two separate .js files containing all the logic. Those two .js files contain only the code needed for IE9 and IE6-8 respectively, decreasing the total download size for any given user. The location of the .js files can be customized via a -pie-base-url property on the html element; this will likely be expanded to pull from a CDN by default.

…p that gets inserted all at once rather than via many DOM insertions. A new VmlShape abstraction handles switching to incremental DOM updates after the shapes have initially been created. This improves initial rendering performance, and also allows use of the o:opacity2 attribute which can only be set via markup. Updated box-shadow rendering to use o:opacity2: it now supports rgba with blur and no longer has to create quadrant shapes for large blurs. Also unified updateProps and updateSize since they are almost always the same; updateProps no longer forces a destroy so we can reuse shapes more intelligently.

- Box path calculation has been improved to ensure a correct (squared) path when the shrink is greater than the radius.
- Rewrote border renderer to use only fills with "eofill" subpaths to make the cut-outs for dashed/dotted/double styles.
- Dashes are now centered along the edge like WebKit does.
- Removed all logic around VML stroke as it is no longer used.
- Flattened the getBoxPath method signature to avoid unnecessary transient object creation.
Fixes issue #11

…wsers (namely Gecko) are starting to honor the spec and treat gradients as having no intrinsic aspect ratio, making gradients expand to full width if the second value is empty. See https://bugzilla.mozilla.org/show_bug.cgi?id=706121 -- thanks to David Carson for the heads-up.

<p>Now the exact same rounded corners appear in IE! That's all there is to it. No, really, I mean it.</p>

-<p>PIE currently has full or partial support for the following CSS3 features:</p>

+<p>PIE currently adds full or partial support to IE 6 through 8 for the following CSS3 features:</p>

<ul>

<li>border-radius</li>

@@ -49,6 +49,8 @@

<li>linear-gradient as background image</li>

</ul>

+<p>In addition, PIE adds support for border-image and linear-gradient to IE 9, which already supports the other features natively.</p>

+

<p>Other features are under active development.</p>

<p><strong>Want to learn more?</strong> View some live <ahref="/demos">demos</a>, read the <ahref="/documentation/">documentation</a>, and <ahref="/download-latest">download PIE</a> to try it yourself. Be sure to read the <ahref="/documentation/known-issues/">Known Issues</a> page for common problems and their solutions.</p>