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 .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Commits on Mar 06, 2011
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 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