Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: lojjic/PIE
head fork: lojjic/PIE
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Sep 09, 2011
Jason Johnston Add gradient patterns site demo
Jason Johnston Site documentation updates to get up to date with beta5 release
Commits on Sep 10, 2011
Jason Johnston Merge branch 'zoom'
Commits on Sep 11, 2011
Jason Johnston Implement rendering of background origin and size params in IE<9. Res…
…olves issue #110.
Commits on Sep 27, 2011
@nfang nfang Set a min-width for source code panel on demos/gradient-patterns.html
Commits on Sep 29, 2011
@lojjic Merge pull request #166 from nfang/patch-1
Set a min-width for source code panel
Commits on Oct 01, 2011
Jason Johnston Implement split build and loader. is now a very small (1K) st…
…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.
Jason Johnston Add the -pie-base-url property to all test documents to ensure they p…
…ull from the local build dir.
Commits on Oct 02, 2011
Jason Johnston Tweaks to script loading: remove the manual onLoad call from the end …
…of the .js and use a script onreadystatechange listener instead; don't start the script loading for IE>9; add a default base url for the scripts (currently at github); add public PIE.version property
Commits on Oct 03, 2011
Jason Johnston Add support for multiple fallback CDN locations
Commits on Oct 08, 2011
Jason Johnston Fix split build for IE9: add missing files and functions, move color …
…names back into IE9 build as it needs them during parsing, use separate compressor runs to prevent the global empty-function factory in the first output file.
Jason Johnston Add ant task to automate pushing build result files to the gh-pages b…
Jason Johnston Rename -pie-base-url to -pie-load-path to avoid future confusion
Jason Johnston Merge branch 'loader'
Commits on Oct 11, 2011
@lojjic Add to example sites
@lojjic Oops, bad copy-paste and lack of proofreading :/
Commits on Nov 06, 2011
Jason Johnston Fix comma
Jason Johnston Major refactoring: VML is now constructed as a single string of marku…
…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.
Jason Johnston Add empty vbscript block at end of htc file as a workaround for very …
Jason Johnston Use 'win' alias for window object
Commits on Nov 07, 2011
Jason Johnston Remove zindex from shape id
Jason Johnston Put the length calc element into the body rather than the documentEle…
…ment, fixes unit conversions in IE<8
Commits on Nov 11, 2011
Jason Johnston In test doc, separate out standard background-size property to be lon…
…ghand since current browsers don't yet support the slash-notation in the shorthand.
Commits on Nov 13, 2011
Jason Johnston Fix issues with rendering of rounded borders:
 - 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
Jason Johnston Add preliminary support for rgba opacity in simple 2-stop linear grad…
…ients. Enhance VmlShape abstract away the shape regeneration from markup when o:opacity2 is changed.
Commits on Nov 19, 2011
Jason Johnston Prevent error when calculating box path coordinates if border-radius …
…is not specified (square box). Closes issue #182
Jason Johnston Don't perform border rendering if there is no border-radius specified.
Jason Johnston Stop trying to load scripts when reaching the end of the baseUrls lis…
…t, prevents runaway script inclusion
Commits on Nov 20, 2011
Jason Johnston Fix issue where VML elements would sometimes be invisible on initial …
…render when loading from a remote server, by registering the VML namespace on the document.
Jason Johnston Fix divide-by-zero error when the total width or height of the box-sh…
…adow shape is zero.
Commits on Nov 24, 2011
Jason Johnston Enhancements to PIE.Color: handle converting hsl and hsla color value…
…s to equivalents recognizable by IE, and add a hexValue method which forces colors to 6-digit hex format (this is needed by the Glow filter as it only accepts full hex)
Jason Johnston Implement rendering of groove, ridge, inset, and outset border styles…
…. Completes issue #10
Commits on Nov 25, 2011
Jason Johnston Unbreak border-color on simple rounded borders
Jason Johnston Create the border-image rect shapes immediately rather than waiting u…
…ntil the image loads; works around an issue where the rects would sometimes not display their image and would have a black border instead.
Jason Johnston Fix alpha value in rgb and hsl colors; was getting set to 0, should be 1
Jason Johnston Sometimes the body doesn't exist yet when doing length units calculat…
…ion (e.g. inclusion of PIE*.js), so fall back to documentElement
Jason Johnston Don't use uniqueID in PIE.Util.getUID to avoid the check on non-eleme…
…nts. Make getUID for objects only.
Jason Johnston Ditch the top-level PIE var in the .htc file, since it is very unreli…
…able and was allowing the conditional to get entered twice on different behavior attachments, resulting in double .js downloads.
Commits on Nov 27, 2011
Jason Johnston Combine htc wrapper files into one
Commits on Dec 01, 2011
@lojjic Add second background-size value to gradient patterns demo, since bro…
…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 -- thanks to David Carson for the heads-up.
Commits on Dec 25, 2011
Jason Johnston updatePos is only used by the root renderer, so move it there instead…
… of being in all renderers
Jason Johnston Change border-image renderer to use simple shapes with an image fill …
…rather than rects with imagedata. This prevents the images from sometimes not getting painted after a long load, and fixes the issue with gaps sometimes appearing between slices.

 Fixes #52
 Fixes #186
Jason Johnston Remove imagedata handling from VmlShape, as it is no longer used in b…
…order-image rendering.
Jason Johnston Merge branch 'master' of
Jason Johnston Fix errors when printing: reinstate el reference on Element instance …
…since it's used during print cleanup, and remove the printing logic entirely in IE9 as it isn't needed.
Commits on Dec 27, 2011
Jason Johnston Implement rendering of background-clip. Fix order of gradient opacity.
Commits on Dec 31, 2011
Jason Johnston Make sure the element still exists after the add/removeClass delay. F…
…ixes #191.
Commits on Feb 09, 2012
@lojjic Fix printing error in IE9 by putting the print media check before att…
…empting to access window.PIE
@lojjic Bump build number to start 2.0 beta series
Commits on Feb 13, 2012
@CSSJS CSSJS Update documentation/pie-js.html
Commits on Feb 27, 2012
@betalb betalb Strip single quotes as well as double from `pie-load-path`
@lojjic Merge pull request #202 from betalb/patch-1
Strip single quotes as well as double from `pie-load-path`
Commits on Feb 29, 2012
@lojjic Fix typo. Thanks to Yochai Weiss
Commits on Mar 14, 2012
@lojjic Add to sites list. Add rel="nofollow" to all sit…
…e links.
Commits on Mar 25, 2012
@lojjic Merge pull request #200 from CSSJS/patch-1
Update documentation/pie-js.html
Commits on Mar 28, 2012
@lojjic Add -pie-track-active:false flag to prevent toggling the active class…
… name on mousedown/up on a case by case basis. This can be used to avoid the IE6-7 bug where you couldn't drag the scrollbar of a descendant. Fixes issue #190.
@lojjic Merge branch 'master' of
Commits on May 12, 2012
@lojjic Add support for -pie-track-hover property to allow disabling of autom…
…atic :hover tracking
@lojjic Adjust for IE7's inconsistent application of logical vs. device pixel…
… ratio when zoomed. Issue #79
@lojjic IE7 zoom: use offsetWidth/Height directly in boundsInfo width/height …
…instead of multiplying so they are always rounded, as VML doesn't like fractional values. Apply the ratio to the background image size.
@lojjic Update build doc with info about the 1.x branch
@lojjic Update title of z-index known issues section to be more obvious for u…
…sers experiencing the problem
Commits on May 13, 2012
@lojjic Add docs for -pie-track-hover and -pie-track-active
Commits on May 20, 2012
@lojjic Honor background-clip for the background color in IE9. Fixed issue #207.