Skip to content

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 Jul 17, 2010
Jason Johnston Ancestors require z-index other than 'auto' in IE8 in addition to pos…
Jason Johnston Site template updates f6dc8fb
Commits on Jul 18, 2010
Jason Johnston Add testcase for issue #40 063dfde
Commits on Jul 19, 2010
Jason Johnston Huge improvement to box-shadow rendering performance and accuracy! No…
… longer uses any Blur filter, instead it now uses a radial gradient from opaque to transparent with the undocumented 'gradienttitle' fill type so it follows the rounded box shape. There is no longer any lag with initial rendering, updating size, or scrolling the page. It also gives better control over the size of the blur gradient so it more accurately matches the blur metrics of other browsers in most cases.
Jason Johnston Add testcase for issue #41 d619c5f
Jason Johnston Add workaround, commented out 4a4246b
Commits on Jul 22, 2010
Jason Johnston Don't perform any rendering of backgrounds if the element has a width…
… or height of zero; this prevents a divide-by-zero error in the background-image position calculation and has a performance benefit as well. Fixes issue #30.
Commits on Jul 23, 2010
Jason Johnston When hiding the element's normal background, give it a background-ima…
…ge of about:blank so that the entire background area remains reactive to mouse events. Fixes issue #47.
Commits on Jul 24, 2010
Jason Johnston Rework box-shadow rendering to handle the case where the blur is larg…
…er than half the element's smaller dimension. Before this would result in a gradient focussize less than zero, causing rendering artifacts. Now it creates four shapes and each is clipped to show only a single quadrant of the shape; this allows each shape to shift its gradient focusposition across the halfway mark.
Jason Johnston Bump build number 6f49746
Jason Johnston Relicense PIE under a dual Apache 2 and GPL 2 license. Adding GPL all…
…ows redistribution in more channels, e.g. public open source theme repositories for WordPress and Drupal which require all code to be under GPL.
Jason Johnston Fix some clipping issues with background images:
1) Removed 1px addition to clip bottom/right in IE8 as it is not needed and was resulting in one extra pixel of the image tiling to be shown
2) Make the bottom/right default clip values extend 1px beyond the box size, to prevent bug where a subpixel of the background was showing through.
Commits on Jul 25, 2010
Jason Johnston Update to buttons testcase document: add input[type=button] example t…
…o each testcase, add github style, add .pie_hover selectors to make non-link hovers work in IE6
Jason Johnston Add special case for <button> and <input> buttons: if the border is n…
…on-zero width, even if transparent, then IE adds an extra opaque white 1px border-like thing inside the real border. To get rid of this we have to increase the padding by the border width and then remove the border altogether. Closes #18.
Jason Johnston Add testcase for issue #23 00d3916
Jason Johnston Don't set the dimensions on updateSize in the root renderer, as it's …
…not needed and was taking up a lot of processing time. Pretty decent performance gain.
Commits on Jul 26, 2010
Jason Johnston Add ondocumentready listener which fires init, to handle rare cases w…
…hen init is not fired by the initial script execution nor by the element oncontentready handler. Fixes issue #23.
Jason Johnston Only add the window resize listener for IE8 as that's the only versio…
…n that needs it
Jason Johnston Only call init() indirectly, and make those handlers which were calli…
…ng it call update() instead. It has the same effect since init() is called from update() anyway, and this prevents double-execution of update() if it happens to be called first (thanks to Paul Irish for pointing that out).
Jason Johnston Workaround for IE8 clipping bug in menu dcb5046
Commits on Jul 27, 2010
Jason Johnston Link directly to distribution package rather than the downloads page 968d61d
Commits on Jul 28, 2010
Jason Johnston Work around weird bug in IE7 (at least) where sometimes the box-shado…
…w would be rendered too tall, even though the dimensions and path were all set correctly. Moving the width/height setting to the end seems to work around it.
Jason Johnston Implement a pretty nasty hack to try and work around the issues in IE…
…8 where the onmove/onresize events don't always fire when elements are moved or resized, causing rendering elements to get out of sync with their targets. This is a big hammer: sets up an interval timer which fires 4 times a second (timing to be adjusted as real-world impact is measured) and makes each element check if it needs to be moved or resized. This is only done in IE8 standards mode as that's the only place it's needed.
Jason Johnston Hook up the window onresize event listener in all versions of IE, not…
… just IE8. It seems there are still some rare cases where it's needed, and it's not expensive.
Jason Johnston Bump build number to 1.0beta2 b136f4c
Jason Johnston Link download button to 1.0beta2 0048d50
Commits on Jul 29, 2010
Jason Johnston Add test case for border-images, submitted by Raphael Goetter. Applie…
…s to issues #51 and #52.
Jason Johnston Do not render anything for border segments which have a color of tran…
…sparent. Fixes issue #34.
Jason Johnston Don't create a shape for the background color if it is fully transpar…
Commits on Jul 31, 2010
Jason Johnston Handle non-px units in border/padding values when hiding border for b…
Jason Johnston Implement lazy initialization. Elements which are outside the browser…
… viewport upon first init are delayed and initialized once they are scrolled into view. This results in a significant improvement in initial page rendering speed for long documents.
Jason Johnston Add CSS3 buttons from f2fa76c
Jason Johnston Bump version number 07d5b65
Commits on Aug 01, 2010
Jason Johnston Add standard background:linear-gradient line to demo CSS 157383a
Jason Johnston Some bug fixes and polish in the tabs demo 3d8013d
Jason Johnston Add onscroll listener to window in all IE versions. 9a09fb8
Jason Johnston Put twitter and rss links at bottom of menu as icons 0ea9d4b
Jason Johnston Only add the .pie_hover class in IE6, and only on non-link elements. ccf04b3
Commits on Aug 02, 2010
Jason Johnston Add pie_first-child class to the target element if it is a first chil…
…d, for CSS authors to use as a workaround for the fact that the rendering element gets inserted as previous sibling and therefore breaks the :first-child pseudo-class.
Commits on Aug 13, 2010
Jason Johnston Delay accessing .style property of newly created box-shadow shapes to…
… avoid triggering strange "Failed" error
Commits on Aug 19, 2010
Jason Johnston Add Peculiar CSS icon set, modified to use PIE, as test case. Sourced…
… from -- for educational purposes only, per the license.
Jason Johnston Add testcase showing basic CSS3 features 694dd02
Commits on Aug 22, 2010
Jason Johnston Change IE version detection to use conditional-comment method courtes…
…y of James Padolsey, as it is more reliable than the old approach (DynaTrace magically makes XMLHttpRequest defined in IE6!)
Commits on Aug 28, 2010
Jason Johnston Use a single length-calc element for calculating relative unit measur…
…ements rather than creating a new element each time.
Jason Johnston Delay the first getBoundingClientRect call until after the element ha…
…s been given hasLayout; this improves performance by preventing an extra reflow and possibly an onmove/onresize event from being fired.
Commits on Aug 31, 2010
Jason Johnston Move the .htc event listeners and event handling logic into an Elemen…
…t wrapper class, and add a couple public API methods which the .htc calls. Also enhance the build to create standalone .js files which can be used to programatically apply PIE to elements rather than having to use the behavior.
Jason Johnston Fix referencing the document object in the JS version 88e7e45
Jason Johnston Cache the parsed CSS object structures for each unique CSS value stri…
…ng. This gives a decent performance boost when the same styles are used on several elements.
Commits on Sep 01, 2010
Jason Johnston Move all accesses of element dimensions into a new BoundsInfo object,…
… which queries the element dimensions once at the start of an update and caches that value through the update process. This prevents potentially dozens of reflows by the browser and gives a huge performance boost in IE8 particularly.
Commits on Sep 03, 2010
Jason Johnston Fix for issue #64: Prevent rounding in BgPosition calculation and add…
… special-case logic for perfectly horizontal/vertical angles to prevent them from getting slightly off.
Jason Johnston Add testcase for issue 75 8f0b72b
Jason Johnston Prevent infinite loop when applied to table elements; for some reason…
… IE fires onpropertychange events for legacy element.background and element.bgColor properties when those properties aren't actually being changed but the element's runtimeStyle is, which results in an infinite loop. Therefore we just filter out events for those property names.
Jason Johnston IE6: Create list of elements for which we should not attempt to wrap …
…the element's children in the ie6-mask for hiding the border, so it uses the additional-padding method instead. This prevents errors and funky behavior on elements which do not accept custom child elements.
Jason Johnston Minor optimization: cache single instances of some utility objects us…
…ed in BgPosition.getValues() rather than creating them every time.
Jason Johnston Pulled out too many objects in last commit; vals array needs to be cr…
…eated every invocation.
Jason Johnston Make border-image testcase not fail so completely 15e58c4
Jason Johnston Rename some common private object properties to allow closure compile…
…r to shrink them.
Commits on Sep 04, 2010
Jason Johnston Force the BackgroundImageCache to be used 027487f
Commits on Sep 05, 2010
Jason Johnston Remove unused vars de0be44
Jason Johnston Use the BoundsInfo object when positioning the element to take advant…
…age of the cached x/y
Jason Johnston Return null object if parsing of -pie-background returns no colors or…
… images
Jason Johnston Add logic to shortcut BoundsInfo positionChanged and sizeChanged meth…
…ods so that when it is the first time the object is queried they return true right away without invoking getBoundingClientRect.
Jason Johnston Fix error in BackgroundStyleInfo when no CSS3 present and no backgrou…
…nd-image is specified
Commits on Sep 06, 2010
Jason Johnston Make the lock/unlock methods of BoundsInfo able to be called more tha…
…n once in nested logic
Jason Johnston 1) Make the lazy initialization based on viewport optional, controlle…
…d by a -pie-lazy-init property, and turned off by default.

2) Optimize the case where an element has no CSS3 styling in its initial state, by preventing any queries to getBoundingClientRect which would invoke a reflow.
3) Fix positioning of the rendering element when there was initially no CSS3 rendering but it gained rendering on hover/class change/etc.
Jason Johnston Check that the border styles require rendering when determining if th…
…e BorderRenderer is active
Commits on Sep 07, 2010
Jason Johnston Change the Length class's caching of parsed units and number values s…
…o it spans across instances rather than just being for the current instance.
Jason Johnston Performance-related changes:
1) Make the root renderer check all its sub-renderers' isActive state, rather than all the styleInfos, to determine if the main box should be created; this prevents the css3-container from being created and then not getting anything put in it.
2) Prevent the background and border StyleInfo objects from modifying the background/border runtimeStyle if that runtimeStyle has not been modified previously; also don't worry about resetting the border-style as that never gets modified when hiding the border.
3) Wrap several of the StyleInfo methods so that their return values are cached over the course of an update; gives a decent speed bump, especially now that isActive is called more often (see #1)
4) Move the attachment of event handlers down after the first call to update(); this prevents the changes to the element that occur during rendering from triggering update checks.
5) When handling onresize/onmove events, quit early if the element's bounds have not been previously queried; this prevents the extra loops which were firing after all the elements were initted when those elements have no initial CSS3 rendering.
Commits on Sep 11, 2010
Jason Johnston Round border widths to whole-pixel values before rendering; prevents …
…ugly artifacts when non-px units are used, fixes issue #63.
Commits on Sep 20, 2010
Felix Gnass Add support for -pie-png-fix d8e2f5a
Felix Gnass (1) Only target IE6. (2) Don't cache the result of isPngFix() as the …
…caller already gets cached. (3) Don't use a regexp to parse the value. (4) Use PIE.CSS_PREFIX.
Commits on Oct 31, 2010
Jason Johnston When printing, revert all elements to their default non-CSS3 state, t…
…o avoid positioning errors and to honor the browser's settings for printing backgrounds etc.
Jason Johnston Rework isPngFix method to use STYLE_PREFIX constant, prevent strange …
…error when uncompressed, and reduce code size. Add testcase.
Jason Johnston Create common function for attaching events and automatically detachi…
…ng them onbeforeunload
Jason Johnston Fix lazy init functionality which stopped working due to boundsInfo l…
Jason Johnston Fix rendering of td/th elements. Border is not rendered if table's bo…
…rder-collapse is 'collapse', to match other browsers.
Commits on Nov 01, 2010
Jason Johnston Update -pie-png-fix testcase title and description 7e497de
Jason Johnston Fix positioning of CSS3 element when target element is position:fixed…
…. Fixes issue #74.
Commits on Nov 02, 2010
Jason Johnston Add support for rendering rounded corners etc. on <img> tags -- the i…
…mg is set to transparent opacity and rendered as a top layer.
Commits on Nov 03, 2010
Jason Johnston Offset img by half pixel to counteract the half-pixel shape offset, s…
…o it is sharp
Jason Johnston Add testcase for -pie-png-fix on img element 014ad00
Jason Johnston Test uneven aspect scaling on img d611144
Jason Johnston Remove inset box-shadow renderer from the build until it's implemented 1e1b0fa
Jason Johnston Move the updateSize and updateProps methods up into RendererBase as t…
…hey do the same thing for every renderer
Jason Johnston Move -pie-png-fix test from img test doc into png-fix test doc 94c2b9f
Commits on Nov 05, 2010
Jason Johnston Prevent occasional errors when unloading the page f83a87f
Jason Johnston Fix positioning of table cell elements when the owner table is positi…
Jason Johnston Change onbeforeunload handler to only remove event listeners rather t…
…han invoking a full destroy on all elements. This prevents the flash of unstyled elements while leaving the page before the next page loads.
Commits on Nov 06, 2010
Jason Johnston Disable PIE in IE9, hopefully temporarily, until we know for sure wha…
…t it's going to support natively
Commits on Nov 07, 2010
Jason Johnston No need for closure var ae84ccc
Jason Johnston Fix re-rendering of border-image after it has been destroyed ab2a6d3
Jason Johnston Add menu to hovering testcase 4601535
Jason Johnston Remove debugging code 2dff7dd
Commits on Nov 08, 2010
Jason Johnston Use the StyleInfo locking mechanism to cache the 'changed' value at t…
…he beginning of an update; this allows the changed method to handle tracking itself rather than relying on a side-effect from another method, resulting in more accurate change tracking. Fixes hovering when the unhovered state has no css3 styles.
Jason Johnston Re-enable the pie_hover mouseover class in all IE versions for better…
… consistency, and let the setting of the className trigger a propertychange update rather than manually calling it a second time.
Commits on Nov 13, 2010
Jason Johnston Wrap the BackgroundImageCache execCommand call in try/catch to avoid …
…errors in some IE versions like the IE6. Suggested by Bryan Elliott (@fordiman on Twitter).
Commits on Dec 05, 2010
Jason Johnston Documentation updates to sync with site and recent changes ee110db
Jason Johnston Minor compressibility improvements 8a6f3ac
Commits on Dec 06, 2010
Jason Johnston Fix error when toggling style.display on the target element; ignores …
…the onpropertychange event since size calculation is not accurate during that event and it triggers an onresize event anyway; also work around a weird error thrown when removing the length-calc element from what should be its parent but sometimes isn't.
Jason Johnston Bump build number to 1.0beta3 in prep for release 49dd7b3
Jason Johnston Documentation updates fbbd13e
Commits on Dec 11, 2010
Jason Johnston Add mapping to hex codes for color keywords not recognized natively b…
…y VML. Mapping provided by Don Retzlaff.
Commits on Dec 13, 2010
@ziggythehamster ziggythehamster Check that p (which is window['PIE']) exists.
Some other scripts might remove window['PIE'] mid-function-call, which would be bad and generates 'Object does not support this property or method' errors.
Should resolve issue 89.
Commits on Dec 15, 2010
Jason Johnston Check for existence of el before adding/removing hover className. Fix…
…es error in situation where the element is destroyed in between a mouseenter/mouseleave event and the execution of the 0ms setTimeout. Bug and fix submitted by David Herman.
Commits on Dec 19, 2010
Jason Johnston Add table of contents, move sections around a bit to group thing better 61e36da
Commits on Jan 08, 2011
Jason Johnston Force ltr direction on rendering element to prevent incorrect positio…
…ning in rtl environments - via
Jason Johnston Fix divide-by-zero error when image has no dimensions a76770d
Jason Johnston Add test for changing img src 096a596
Commits on Jan 10, 2011
Jason Johnston Check for existence of el before adding/removing hover className. Fix…
…es error in situation where the element is destroyed in between a mouseenter/mouseleave event and the execution of the 0ms setTimeout. Bug and fix submitted by David Herman.
Commits on Jan 21, 2011
@lojjic lojjic Remove invisible characters at start of URLs 3d7a1a8
Commits on Jan 23, 2011
Jason Johnston Merge branch 'master' of e8ccbd6
Jason Johnston Merge branch 'master' of into …
Commits on Feb 06, 2011
Jason Johnston Change id generation to use a simple incrementor rather than Date+ran…
…dom. Convert singleton values used by Util methods from properties stored on the top-level PIE object to local vars in a closure.
Commits on Feb 19, 2011
Jason Johnston Prevent obfuscation of border namedWidths so border-width values like…
… 'medium' will work with the compressed version
Jason Johnston First attempt at fixing box path for shrink values larger than corner…
… radii
Jason Johnston Revert "First attempt at fixing box path for shrink values larger tha…
…n corner radii"

This reverts commit 0d702c0.
Commits on Feb 27, 2011
Jason Johnston Replace all direct instantiation of PIE.Length and PIE.Color objects …
…with calls to PIE.getLength and PIE.getColor factories, which return shared singleton instances per unique input value. Effect on speed and memory usage is negligible if any, but should prevent some unnecessary garbage collection.
Jason Johnston Fix tokenizer test doc 77a0c4b
Jason Johnston Save a few bytes c9b97d5
Commits on Mar 06, 2011
Jason Johnston Prevent position flickering in basic test ad97e7a
Jason Johnston Enhance withImageSize utility function so it queues up requests for t…
…he same image's dimensions if the image has not yet been loaded; this prevents creating a new Image object for each of those requests.
Jason Johnston Prevent error in border image renderer when side slices get calculate…
…d to less than zero width or height
Jason Johnston Don't include opening paren in function token values eafbafa
Jason Johnston Fix test 311a01e
Jason Johnston Add -SNAPSHOT to build number 89785e2
Jason Johnston Rename some properties and methods to allow name shrinking, saves a f…
…ew hundred bytes
Jason Johnston Fix reversed condition causing occasional errors 5564212
Jason Johnston Add detection for functioning VML support -- some small number of IE …
…installs don't have a working VML engine, so for those cases we short-circuit initialization so the users see the CSS3-less fallbacks instead of having styling removed and JS errors.
Commits on Mar 07, 2011
Jason Johnston Docs: add background-origin to list of unsupported bg properties 0cfca98
Commits on Mar 21, 2011
Jason Johnston Known Issues docs: add info about fieldsets, em units on childless el…
…ements, and browser zoom
Jason Johnston Examples sites updates 5cd48c9
Commits on Mar 31, 2011
Jason Johnston Adjust version detection for IE9: CSS3 is only supported natively in …
…documentMode=9 (regardless of browser mode) so base the decision to attach on that rather than the detected IE version.
Commits on Apr 03, 2011
Jason Johnston Implement -pie-poll flag which allows forcing the heartbeat polling i…
…n IE6/7, as well as turning it off in IE 8, on a per-element basis. Should serve as a good workaround for many of the IE6/7 issues with onmove/onresize not firing correctly.
Jason Johnston Bump build number in prep for beta4 release 5c30a55
Jason Johnston Fix output in tokenizer test f6c09b4
Commits on Apr 04, 2011
Jason Johnston Add docs for -pie-poll da3012b
Commits on Apr 10, 2011
Jason Johnston Merge branch 'vml-detect'
Commits on Apr 27, 2011
Jason Johnston Bump build number to 1.0beta5-SNAPSHOT 65b832d
Jason Johnston When calculating em unit size on elements that don't accept children,…
… insert the length calc element into the parent and perform an additional calculation based on the specified font-size. Prevents error trying to insert into the childless element. Fixes #99.
Commits on May 01, 2011
Jason Johnston Remove old unused color name list 67cf521
Commits on May 15, 2011
Jason Johnston Add support for rendering of linear-gradient in IE9 standards mode. T…
…he gradient is translated to SVG and inserted into the background style as a data URI. Unlike the downlevel VML, per-stop opacity is supported.
Jason Johnston Ensure IE9 gradient background runtimeStyle gets removed when -pie-ba…
…ckground becomes inactive.
Commits on May 22, 2011
Jason Johnston Add tests for reacting to show/hide of ancestor elements 55cce89
Jason Johnston Turn polling on by default in IE9. This works around lack of onresize…
… firing when toggling display of ancestor element. Hoping for a less heavy-handed solution.
Commits on May 30, 2011
Jason Johnston Add conditional comment and object presence check to PIE.js documenta…
…tion example
Jason Johnston Refresh sample site links fc4d073
Jason Johnston Add "mark of the web" to htc file, to prevent activex warnings in loc…
…al zone settings
Commits on Jun 27, 2011
Jason Johnston Factor out logic common to IE9 and IE<9 gradient renderers into a sha…
…red GradientUtil file, to decrease total code size
Jason Johnston Work around strange bug in IE9 where it sometimes reports the getBoun…
…dingClientRect()'s right - left or bottom - top as 1px larger than the element's actual dimensions when scrolling the page. This was causing many extraneous redraws because it thought the element's size was changing when scrolling.
Commits on Jul 02, 2011
Jason Johnston Update docs and demos to include updated browser gradient support: -w…
…ebkit-linear-gradient, -o-linear-gradient, -ms-linear-gradient
Jason Johnston Recognize 'transparent' keyword as a color when parsing 36b8510
Commits on Jul 03, 2011
Jason Johnston Honor background-size when rendering linear-gradients in IE9. Allows …
…correct rendering of some of Lea Verou's gradient patterns.
Jason Johnston Remove debugging code 4043943
Jason Johnston Fix error when bg-size is last item in -pie-background shorthand 8aa170f
Jason Johnston Support bg-position for each linear-gradient in IE9 280945a
Jason Johnston Add Lea Verou's CSS3 Patterns Gallery to test cases 3fa06be
Jason Johnston Require bg-position before bg-size in -pie-background shorthand d0323d9
Jason Johnston Work in progress on border-image support for IE9. ef5ccac
Commits on Jul 04, 2011
Jason Johnston Add border-image tests from mozilla layout reftests, with modifications dde610e
Jason Johnston border-image fixes: fix parsing of unitless lengths in width and outs…
…et length parameters, force element border to solid transparent to prevent it from collapsing, override border-width with border-image width params if present.
Commits on Jul 09, 2011
Jason Johnston Add playground file for quick testing of arbitrary VML 81fcabe
Commits on Jul 24, 2011
Jason Johnston Share no-op function f034c08
Jason Johnston Update background parser to handle background-origin and background-c…
…lip correctly
Commits on Aug 08, 2011
Jason Johnston Make getUID return a valid HTML id value rather than a plain number f51449e
Jason Johnston Access window.PIE directly within init and cleanup functions rather t…
…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.
Jason Johnston IE9: Allow border-image and -pie-background:linear-gradient to work t…
…ogether by delegating management of the runtimeStyle background to the root renderer. Allow linear-gradient to handle background-size properly. Prevent border-image renderer's destroy method from clobbering border hiding in IE<9.
Commits on Aug 10, 2011
Jason Johnston IE<9 border-image: treat everything like 'stretch', which is likely a…
… more sane fallback than not clipping the image at all.
Jason Johnston Honor padding on img elements 2a6ae13
Commits on Aug 17, 2011
Jason Johnston Fix destruction of border and border-image renderers so they unset th…
…eir runtimeStyle border styles only when appropriate.
Commits on Aug 19, 2011
Jason Johnston Check again for non-zero element dimensions after the bg image is loa…
…ded, to prevent divide-by-zero error if in some rare case the element has non-zero dimensions during the initial update but zero dimensions after the image finishes loading.
Commits on Aug 20, 2011
Jason Johnston Add listeners for handling changes due to :focus and :active pseudocl…
…asses. Addresses issues #78 and #131.
Jason Johnston Simplify removal of element event listeners so that it just keeps a r…
…unning list of attached listeners and then loops through to remove them all, rather than manually removing them individually.
Jason Johnston Switch from using onbeforeunload to using onunload, to prevent destru…
…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.
Jason Johnston Update build file a69573d
Commits on Aug 29, 2011
Jason Johnston Duh, actually remove the class 24f662c
Jason Johnston Add check for random case where the fill.colors object doesn't exist ded481a
Commits on Sep 04, 2011
Jason Johnston Allow border-image renderer to properly hide border on button/input e…
Jason Johnston Fix IE6 img rendering so it ignores the original border-width which w…
…ill have been moved to the padding already by the hideBorder logic.
Jason Johnston Bump build number to 1.0beta5 401e817
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 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 lojjic Add to example sites 6a0b613
@lojjic 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 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 lojjic Fix printing error in IE9 by putting the print media check before att…
…empting to access window.PIE
@lojjic 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 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 lojjic Fix typo. Thanks to Yochai Weiss 34fe48b
Commits on Mar 14, 2012
@lojjic lojjic Add to sites list. Add rel="nofollow" to all sit…
…e links.
Commits on Mar 25, 2012
@lojjic lojjic Merge pull request #200 from CSSJS/patch-1
Update documentation/pie-js.html
Commits on Mar 28, 2012
@lojjic 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 lojjic Merge branch 'master' of e7d3630
Commits on May 12, 2012
@lojjic lojjic Add support for -pie-track-hover property to allow disabling of autom…
…atic :hover tracking
@lojjic lojjic Adjust for IE7's inconsistent application of logical vs. device pixel…
… ratio when zoomed. Issue #79
@lojjic 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 lojjic Update build doc with info about the 1.x branch 0b22935
@lojjic 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 lojjic Add docs for -pie-track-hover and -pie-track-active cae6bc8
Commits on May 20, 2012
@lojjic lojjic Honor background-clip for the background color in IE9. Fixed issue #207. 5e2c432