Skip to content
Commits on Sep 17, 2010
  1. (1) Only target IE6. (2) Don't cache the result of isPngFix() as the …

    Felix Gnass committed
    …caller already gets cached. (3) Don't use a regexp to parse the value. (4) Use PIE.CSS_PREFIX.
  2. Add support for -pie-png-fix

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

    Jason Johnston committed
    …ugly artifacts when non-px units are used, fixes issue #63.
Commits on Sep 7, 2010
  1. Performance-related changes:

    Jason Johnston committed
    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.
  2. Change the Length class's caching of parsed units and number values s…

    Jason Johnston committed
    …o it spans across instances rather than just being for the current instance.
Commits on Sep 6, 2010
  1. Check that the border styles require rendering when determining if th…

    Jason Johnston committed
    …e BorderRenderer is active
  2. 1) Make the lazy initialization based on viewport optional, controlle…

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

    Jason Johnston committed
    …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
    …nd-image is specified
  2. Add logic to shortcut BoundsInfo positionChanged and sizeChanged meth…

    Jason Johnston committed
    …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
    … images
  4. Use the BoundsInfo object when positioning the element to take advant…

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

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

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

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

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

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

    Jason Johnston committed
    …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
    …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
    … 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
  8. Fix for issue #64: Prevent rounding in BgPosition calculation and add…

    Jason Johnston committed
    … 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
    … 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
    …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
  3. Move the .htc event listeners and event handling logic into an Elemen…

    Jason Johnston committed
    …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
    …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
    …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
    …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
  2. Add Peculiar CSS icon set, modified to use PIE, as test case. Sourced…

    Jason Johnston committed
    … from -- 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
    … 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
    …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
Something went wrong with that request. Please try again.