0.5.0
Features/Fixes
- New UI preview: CSS Critic is getting a new look. While not feature complete, the
NiceReporter
can already substitute theBasicHTMLReporter
for many use cases (example:csscritic.addReporter(csscritic.NiceReporter());
). Missing features are tracked in #51. The motivation behind the UI rework is to move CSS Critic towards becoming a tool for supporting development of a style guide. At the same time the UI has been somewhat neglected, and the new reporter is designed to make testing as much fun as possible. - Reference images are now stored in the browser's IndexedDB (https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API). This solves the quota limit of LocalStorage (#50). References are automatically migrated from LocalStorage to IndexedDB on the first run. Due to https://bugzilla.mozilla.org/show_bug.cgi?id=790468 reference images containing transparent colors will in the migration process trigger a failing test with no visible changes. These tests will need to be manually re-accepted.
- While including the script loader via
./csscritic.js
is still the preferred way, the all in one bundle (./dist/csscritic.allinone.js
) has been improved to automatically include the necessary CSS. The previously seperatecsscritic.min.css
has been removed from the package.