Permalink
Commits on Dec 6, 2010
  1. 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 committed Dec 6, 2010
Commits on Dec 5, 2010
  1. Minor compressibility improvements

    Jason Johnston committed Dec 5, 2010
  2. Documentation updates to sync with site and recent changes

    Jason Johnston committed Dec 5, 2010
Commits on Nov 13, 2010
  1. Wrap the BackgroundImageCache execCommand call in try/catch to avoid …

    …errors in some IE versions like the spoon.net IE6. Suggested by Bryan Elliott (@fordiman on Twitter).
    Jason Johnston committed Nov 13, 2010
Commits on Nov 8, 2010
  1. 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.
    Jason Johnston committed Nov 8, 2010
  2. 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 committed Nov 8, 2010
Commits on Nov 7, 2010
  1. Remove debugging code

    Jason Johnston committed Nov 7, 2010
  2. Add css3pie.com menu to hovering testcase

    Jason Johnston committed Nov 7, 2010
  3. No need for closure var

    Jason Johnston committed Nov 7, 2010
Commits on Nov 6, 2010
  1. Disable PIE in IE9, hopefully temporarily, until we know for sure wha…

    …t it's going to support natively
    Jason Johnston committed Nov 6, 2010
Commits on Nov 5, 2010
  1. 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.
    Jason Johnston committed Nov 5, 2010
  2. Fix positioning of table cell elements when the owner table is positi…

    …oned
    Jason Johnston committed Nov 5, 2010
  3. Prevent occasional errors when unloading the page

    Jason Johnston committed Nov 5, 2010
Commits on Nov 3, 2010
  1. Move the updateSize and updateProps methods up into RendererBase as t…

    …hey do the same thing for every renderer
    Jason Johnston committed Nov 3, 2010
  2. Test uneven aspect scaling on img

    Jason Johnston committed Nov 3, 2010
  3. Add testcase for -pie-png-fix on img element

    Jason Johnston committed Nov 3, 2010
  4. Offset img by half pixel to counteract the half-pixel shape offset, s…

    …o it is sharp
    Jason Johnston committed Nov 3, 2010
Commits on Nov 2, 2010
  1. Add support for rendering rounded corners etc. on <img> tags -- the i…

    …mg is set to transparent opacity and rendered as a top layer.
    Jason Johnston committed Nov 2, 2010
Commits on Nov 1, 2010
  1. Fix positioning of CSS3 element when target element is position:fixed…

    …. Fixes issue #74.
    Jason Johnston committed Nov 1, 2010
  2. Update -pie-png-fix testcase title and description

    Jason Johnston committed Nov 1, 2010
Commits on Oct 31, 2010
  1. Fix rendering of td/th elements. Border is not rendered if table's bo…

    …rder-collapse is 'collapse', to match other browsers.
    Jason Johnston committed Oct 31, 2010
  2. Fix lazy init functionality which stopped working due to boundsInfo l…

    …ocking
    Jason Johnston committed Oct 31, 2010
  3. Create common function for attaching events and automatically detachi…

    …ng them onbeforeunload
    Jason Johnston committed Oct 31, 2010
  4. Rework isPngFix method to use STYLE_PREFIX constant, prevent strange …

    …error when uncompressed, and reduce code size. Add testcase.
    Jason Johnston committed Oct 31, 2010
  5. 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 committed Oct 31, 2010
Commits on Sep 20, 2010
  1. (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.
    Felix Gnass committed with Sep 17, 2010
  2. Add support for -pie-png-fix

    Felix Gnass committed with Sep 17, 2010
Commits on Sep 11, 2010
  1. Round border widths to whole-pixel values before rendering; prevents …

    …ugly artifacts when non-px units are used, fixes issue #63.
    Jason Johnston committed Sep 11, 2010
Commits on Sep 7, 2010
  1. 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.
    Jason Johnston committed Sep 7, 2010
  2. 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 committed Sep 7, 2010
Commits on Sep 6, 2010
  1. Check that the border styles require rendering when determining if th…

    …e BorderRenderer is active
    Jason Johnston committed Sep 6, 2010
  2. 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 committed Sep 6, 2010