Releases: cburgmer/csscritic
Releases · cburgmer/csscritic
2.0.1
2.0.0
1.3.1
1.3.0
1.2.0
Features
- The "DOM view" is now available for all comparison outcomes (passed, reference missing, failed). It can be accessed through the "eye" toggle button next to the page image.
- The header now shrinks even more on scrolling, showing the full state on hover.
(No changes since 1.2.0-alpha)
1.2.0-alpha
Features
- The "DOM view" is now available for all comparison outcomes (passed, reference missing, failed). It can be accessed through the "eye" toggle button next to the page image.
- The header now shrinks even more on scrolling, showing the full state on hover.
1.1.0
Features
- A table of contents is shown when using the
.component()
grouping function. - The header now remains fixed at the top of the page while scrolling.
Bug fixes
- Jumping to test cases from the progress bar would break for some characters when opening the page through the file:// protocol (#59).
1.0.0
Features
- A run will now fail if no test cases have been provided (#55).
Bug fixes
- When switching to the DOM view (iframe on double click) the correct breakpoint is now triggered (and the scroll bar hidden).
- Text is now not selected anymore in Chrome when double clicking on the page image.
- Media queries with
em
s are now supported in Chrome. - An issue under Linux with empty space showing on the right side (place for the scroll bar) has been fixed.
- Superfluous scrollbars now don't show for Chrome under Linux.
- Local storage as storage for reference images was depracted and has now been removed. Migration support has been dropped. If you need to migrate reference images from older versions of CSS Critic make sure to upgrade to 0.7.0 first before upgrading to 1.0.0.
- The deprecated BasicHTMLReporter has been removed. Please use the
NiceReporter
(it's nice). - The depracted reporter method
reporter.reportComparisonStarting()
is not supported any more. It has been replaced byreporter.reportSelectedComparison()
.
0.7.0
Features
-
Initial support for Chrome.
-
A new
desc
option is available to describe the test case, e.g.csscritic.add({url: 'my_page.html', desc: 'Page in simple layout'})
-
A new
.component()
method allows grouping test cases, e.g.csscritic .component('My component') .add({url: 'my_page.html'}) .add({url: 'another_page.html'})
-
Render errors are shown in the progress bar.
-
Double clicking the image of a green test will load the underlying page in an iframe. This should make debugging simpler.
-
Methods can be chained to simplify setup.
-
The code is now available via CDN from http://cdn.jsdelivr.net/csscritic/0.7.0/csscritic.allinone.js.
Bug fixes
rem
sizes are now correctly applied.- Viewport size is now correctly calculated.
- The progress bar is now consistently updated from left to right.
0.6.0
Features/Bug fixes
NiceReporter
is now the default reporter and has received a few new features:- Errors while rendering are now shown.
- Test case parameters are now shown next to the entry's title.
- For multiple failing tests an accept all button is now available for accepting all failing entries or ones without a reference image at once.
- Entries can be selected by clicking on the title to improve feedback cycles.
- While the runner executes, the entry's reference image is shown until the page finished rendering.
- The constructor now accepts a dom node as a container.
- Some more UI improvements.
BasicHTMLReporter
is deprecated and will be removed in the next major version.- Randomly failing tests due to unstable font-rendering on certain Linux installations should be a thing of the past. The minimal color difference of
1
for RGB values is now tolerated and will not fail tests.
- The reporter's
reportComparisonStarting()
was changed toreportSelectedComparison()
and additionally receives the reference image. The old method name is deprecated and will be removed in an upcoming release. - Reporters can receive notifications about deselected tests (see selection feature above) via the new interface
reportDeselectedComparison()
.
Known issues
- Upgrading on case-insensitive file systems (Mac OSX) can lead to mangled files names. Removing the old files followed by installing from scratch should work around the issue.
- Selection of entries will not generate a nice URL when opened over file:// URLs due to https://bugzilla.mozilla.org/show_bug.cgi?id=1005634