Skip to content


Subversion checkout URL

You can clone with
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.
Commits on Sep 05, 2011
Jason Johnston Partial fix for issue #79: explicitly set the size of the background …
…image fill tile in pixels so that IE will automatically adjust it to the user's zoom level.
Commits on Sep 09, 2011
Jason Johnston Add gradient patterns site demo 5424e71
Jason Johnston Site documentation updates to get up to date with beta5 release 67094db
Commits on Sep 10, 2011
Jason Johnston Merge branch 'zoom' c8a3864
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 4c8b877
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 762539a
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 4490ed5
Jason Johnston Merge branch 'loader' d04bc09
Commits on Oct 11, 2011
@lojjic Add to example sites 6a0b613
@lojjic Oops, bad copy-paste and lack of proofreading :/ 9cfa2ca
Commits on Nov 06, 2011
Jason Johnston Fix comma f07d54b
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 … 1da1423
Jason Johnston Use 'win' alias for window object 5b66b6c
Commits on Nov 07, 2011
Jason Johnston Remove zindex from shape id 47558e5
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. c2f711d
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 51ada2d
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 0b100c1
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 4538197
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 89769ea
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. 775ce0a
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 4b397f2
Commits on Feb 13, 2012
@CSSJS CSSJS Update documentation/pie-js.html 8f69083
Commits on Feb 27, 2012
@betalb betalb Strip single quotes as well as double from `pie-load-path` a1ac21f
@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 34fe48b
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 e7d3630
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 0b22935
@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 cae6bc8
Commits on May 20, 2012
@lojjic Honor background-clip for the background color in IE9. Fixed issue #207. 5e2c432
Commits on May 21, 2012
@lojjic Limit isPositioned optimization to updates triggered by onpropertycha…
…nge events
@lojjic Add ability in htc to override the js resource path, useful for debug…
…ging purposes.
Commits on May 26, 2012
@lojjic Store color keyword mapping in more compressed format; saves about 30…
…0 bytes
@lojjic Don't render paths for transparent border sides 9e1b42b
Commits on May 28, 2012
@lojjic Tweaks to polling heartbeat: use setTimeout rather than setInterval t…
…o prevent backing up. Allow setting html{-pie-poll-interval:N} to customize the interval on a page.
@lojjic Add -pie-load-path to submitted tests 3391158
@lojjic Combine the root renderer's position setting with its normal updating…
… process. Position/z-index/visibility properties are now built into a single CSS string and applied directly in the initial markup, or all at once as cssText in subsequent updates, which should make both faster. Also fixes issues with visibility not getting updated at proper times. Respond to style.* changes on watched ancestors.
Commits on Aug 08, 2012
Miles Elam Reducing the transfer size of the color names by about -170 bytes (-9…
…0 bytes gzipped). Instead of alphabetical order and encoding each RGB value, in ascending order according to RGB integer value where values are cumulative.
@lojjic Merge pull request #235 from ttfkam/colors
Reducing the transfer size of the color names...
Commits on Aug 20, 2012
@lojjic Fix for issue #239: fix indexes for border shapes so they get cleaned…
… up correctly
Commits on Nov 26, 2012
@lojjic Update documentation/demos.html babc9d8
Commits on Nov 29, 2012
@lojjic Update documentation/demos.html 694fc37
Commits on Jan 22, 2013
@lojjic Ditch loading from a CDN by default; instead look in the page's CSS f…
…or the behavior url and use its location as the default load path.
@lojjic Remove -pie-load-path from tests 8c409f8
Commits on Jan 24, 2013
@lojjic Update site theme with changes from live site c83ed96
@lojjic Change site CSS to reference new location 21ba0c8
Commits on Jan 25, 2013
@lojjic Add default styles for tables 320d4fb
@lojjic Updating to final linear-gradient syntax - work in progress e7fba1c
@lojjic Update rest of gradient patterns to final syntax 749f653