Skip to content
This repository
  • 45 commits
  • 108 files changed
  • 1 contributor
Mar 06, 2011
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.
Apr 04, 2011
Add docs for -pie-poll da3012b
Apr 10, 2011
Merge branch 'vml-detect'
Apr 27, 2011
Bump build number to 1.0beta5-SNAPSHOT 65b832d
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.
May 01, 2011
Remove old unused color name list 67cf521
May 15, 2011
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.
Ensure IE9 gradient background runtimeStyle gets removed when -pie-ba…
…ckground becomes inactive.
May 22, 2011
Add tests for reacting to show/hide of ancestor elements 55cce89
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.
May 29, 2011
Add conditional comment and object presence check to PIE.js documenta…
…tion example
Refresh sample site links fc4d073
Add "mark of the web" to htc file, to prevent activex warnings in loc…
…al zone settings
Jun 26, 2011
Factor out logic common to IE9 and IE<9 gradient renderers into a sha…
…red GradientUtil file, to decrease total code size
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.
Jul 02, 2011
Update docs and demos to include updated browser gradient support: -w…
…ebkit-linear-gradient, -o-linear-gradient, -ms-linear-gradient
Recognize 'transparent' keyword as a color when parsing 36b8510
Honor background-size when rendering linear-gradients in IE9. Allows …
…correct rendering of some of Lea Verou's gradient patterns.
Remove debugging code 4043943
Jul 03, 2011
Fix error when bg-size is last item in -pie-background shorthand 8aa170f
Support bg-position for each linear-gradient in IE9 280945a
Add Lea Verou's CSS3 Patterns Gallery to test cases 3fa06be
Require bg-position before bg-size in -pie-background shorthand d0323d9
Work in progress on border-image support for IE9. ef5ccac
Jul 04, 2011
Add border-image tests from mozilla layout reftests, with modifications dde610e
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.
Jul 09, 2011
Add playground file for quick testing of arbitrary VML 81fcabe
Jul 24, 2011
Share no-op function f034c08
Update background parser to handle background-origin and background-c…
…lip correctly
Aug 07, 2011
Make getUID return a valid HTML id value rather than a plain number f51449e
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.
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.
Aug 09, 2011
IE<9 border-image: treat everything like 'stretch', which is likely a…
… more sane fallback than not clipping the image at all.
Honor padding on img elements 2a6ae13
Aug 16, 2011
Fix destruction of border and border-image renderers so they unset th…
…eir runtimeStyle border styles only when appropriate.
Aug 18, 2011
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.
Aug 20, 2011
Add listeners for handling changes due to :focus and :active pseudocl…
…asses. Addresses issues #78 and #131.
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.
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.
Update build file a69573d
Aug 28, 2011
Duh, actually remove the class 24f662c
Add check for random case where the fill.colors object doesn't exist ded481a
Sep 04, 2011
Allow border-image renderer to properly hide border on button/input e…
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.
Bump build number to 1.0beta5 401e817