All notable changes to this project will be documented in this file.
- Fix a bug where an element with automatic
height
and specifiedmax-height
caused subsequent elements to be clamped incorrectly.
- Fix the size calculation in IE for elements using rem
- Remove jQuery dependency
- Preserve non-breaking spaces when clamping
- Calling
reclampAll
with an event argument now reclamps the document
- Consider
max-height
/max-width
and improve calculation of fillable area - support clamping properly after a font change
- Trigger the
superclamp:done
event when an element was clamped
reclampAll()
accepts a container elementclamp()
returns a jQuery collection
- Initial release