Permalink
Commits on Sep 6, 2010
  1. 1) Make the lazy initialization based on viewport optional, controlle…

    Jason Johnston committed Sep 6, 2010
    …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.
  2. Make the lock/unlock methods of BoundsInfo able to be called more tha…

    Jason Johnston committed Sep 6, 2010
    …n once in nested logic
Commits on Sep 5, 2010
  1. Fix error in BackgroundStyleInfo when no CSS3 present and no backgrou…

    Jason Johnston committed Sep 5, 2010
    …nd-image is specified
  2. Add logic to shortcut BoundsInfo positionChanged and sizeChanged meth…

    Jason Johnston committed Sep 5, 2010
    …ods so that when it is the first time the object is queried they return true right away without invoking getBoundingClientRect.
  3. Return null object if parsing of -pie-background returns no colors or…

    Jason Johnston committed Sep 5, 2010
    … images
  4. Use the BoundsInfo object when positioning the element to take advant…

    Jason Johnston committed Sep 5, 2010
    …age of the cached x/y
  5. Remove unused vars

    Jason Johnston committed Sep 5, 2010
Commits on Sep 4, 2010
  1. Force the BackgroundImageCache to be used

    Jason Johnston committed Sep 4, 2010
Commits on Sep 3, 2010
  1. Rename some common private object properties to allow closure compile…

    Jason Johnston committed Sep 3, 2010
    …r to shrink them.
  2. Make border-image testcase not fail so completely

    Jason Johnston committed Sep 3, 2010
  3. Pulled out too many objects in last commit; vals array needs to be cr…

    Jason Johnston committed Sep 3, 2010
    …eated every invocation.
  4. Minor optimization: cache single instances of some utility objects us…

    Jason Johnston committed Sep 3, 2010
    …ed in BgPosition.getValues() rather than creating them every time.
  5. IE6: Create list of elements for which we should not attempt to wrap …

    Jason Johnston committed Sep 3, 2010
    …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.
  6. Prevent infinite loop when applied to table elements; for some reason…

    Jason Johnston committed Sep 3, 2010
    … 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.
  7. Add testcase for issue 75

    Jason Johnston committed Sep 3, 2010
  8. Fix for issue #64: Prevent rounding in BgPosition calculation and add…

    Jason Johnston committed Sep 3, 2010
    … special-case logic for perfectly horizontal/vertical angles to prevent them from getting slightly off.
Commits on Sep 1, 2010
  1. Move all accesses of element dimensions into a new BoundsInfo object,…

    Jason Johnston committed Sep 1, 2010
    … 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 Aug 31, 2010
  1. Cache the parsed CSS object structures for each unique CSS value stri…

    Jason Johnston committed Aug 31, 2010
    …ng. This gives a decent performance boost when the same styles are used on several elements.
  2. Fix referencing the document object in the JS version

    Jason Johnston committed Aug 31, 2010
  3. Move the .htc event listeners and event handling logic into an Elemen…

    Jason Johnston committed Aug 31, 2010
    …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.
Commits on Aug 28, 2010
  1. Delay the first getBoundingClientRect call until after the element ha…

    Jason Johnston committed Aug 28, 2010
    …s been given hasLayout; this improves performance by preventing an extra reflow and possibly an onmove/onresize event from being fired.
  2. Use a single length-calc element for calculating relative unit measur…

    Jason Johnston committed Aug 28, 2010
    …ements rather than creating a new element each time.
Commits on Aug 22, 2010
  1. Change IE version detection to use conditional-comment method courtes…

    Jason Johnston committed Aug 22, 2010
    …y of James Padolsey, as it is more reliable than the old approach (DynaTrace magically makes XMLHttpRequest defined in IE6!)
Commits on Aug 19, 2010
  1. Add testcase showing basic CSS3 features

    Jason Johnston committed Aug 19, 2010
  2. Add Peculiar CSS icon set, modified to use PIE, as test case. Sourced…

    Jason Johnston committed Aug 19, 2010
    … from http://lucianmarin.com/peculiar/ -- for educational purposes only, per the license.
Commits on Aug 13, 2010
  1. Delay accessing .style property of newly created box-shadow shapes to…

    Jason Johnston committed Aug 13, 2010
    … avoid triggering strange "Failed" error
Commits on Aug 2, 2010
  1. Add pie_first-child class to the target element if it is a first chil…

    Jason Johnston committed Aug 2, 2010
    …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 1, 2010
  1. Put twitter and rss links at bottom of menu as icons

    Jason Johnston committed Aug 1, 2010
  2. Add onscroll listener to window in all IE versions.

    Jason Johnston committed Aug 1, 2010
  3. Some bug fixes and polish in the tabs demo

    Jason Johnston committed Aug 1, 2010
  4. Add standard background:linear-gradient line to demo CSS

    Jason Johnston committed Aug 1, 2010
Commits on Jul 31, 2010
  1. Bump version number

    Jason Johnston committed Jul 31, 2010
  2. Add CSS3 buttons from webdesignerwall.com

    Jason Johnston committed Jul 31, 2010
  3. Implement lazy initialization. Elements which are outside the browser…

    Jason Johnston committed Jul 31, 2010
    … 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.