Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 3, 2010
  1. Move the updateSize and updateProps methods up into RendererBase as t…

    Jason Johnston authored
    …hey do the same thing for every renderer
  2. Test uneven aspect scaling on img

    Jason Johnston authored
  3. Add testcase for -pie-png-fix on img element

    Jason Johnston authored
  4. Offset img by half pixel to counteract the half-pixel shape offset, s…

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

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

    Jason Johnston authored
    …. Fixes issue #74.
  2. Update -pie-png-fix testcase title and description

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

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

    Jason Johnston authored
  3. Create common function for attaching events and automatically detachi…

    Jason Johnston authored
    …ng them onbeforeunload
  4. Rework isPngFix method to use STYLE_PREFIX constant, prevent strange …

    Jason Johnston authored
    …error when uncompressed, and reduce code size. Add testcase.
  5. When printing, revert all elements to their default non-CSS3 state, t…

    Jason Johnston authored
    …o avoid positioning errors and to honor the browser's settings for printing backgrounds etc.
Commits on Sep 20, 2010
  1. (1) Only target IE6. (2) Don't cache the result of isPngFix() as the …

    Felix Gnass authored 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 authored committed
Commits on Sep 11, 2010
  1. Round border widths to whole-pixel values before rendering; prevents …

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

    Jason Johnston authored
    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 authored
    …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 authored
    …e BorderRenderer is active
  2. 1) Make the lazy initialization based on viewport optional, controlle…

    Jason Johnston authored
    …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 authored
    …n once in nested logic
Commits on Sep 5, 2010
  1. Fix error in BackgroundStyleInfo when no CSS3 present and no backgrou…

    Jason Johnston authored
    …nd-image is specified
  2. Add logic to shortcut BoundsInfo positionChanged and sizeChanged meth…

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

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

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

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

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

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

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

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

    Jason Johnston authored
    … special-case logic for perfectly horizontal/vertical angles to prevent them from getting slightly off.
Something went wrong with that request. Please try again.