Wed, 31 Dec 2014 06:55:46 +0100
Added tag TORBROWSER_REPLICA for changeset 6474c204b198
1 # Reftests for downscaling
2 #
3 # Downscaling can be a lossy process, so a bit of mismatch is acceptable here,
4 # as long as it's barely noticable visually. When necessary, this can be
5 # explicitly allowed via 'fuzzy'/'fuzzy-if' annotations.
6 #
7 # IMPORTANT: For robustness, each test should be listed *twice* in this
8 # manifest -- once with the high quality downscaling pref disabled, and once
9 # with this pref enabled. The pref is set via "default-preferences", so
10 # simply appending a new test to the lists below each of those lines should be
11 # sufficient.
12 #
13 # Also note that Mac OS X has its own system-level downscaling algorithm, so
14 # tests here may need Mac-specific "fuzzy-if(cocoaWidget,...)" annotations.
16 # RUN TESTS WITH HIGH QUALITY DOWNSCALING DISABLED:
17 # =================================================
18 default-preferences pref(image.high_quality_downscaling.enabled,false)
20 fuzzy-if(cocoaWidget,106,31) == downscale-1.html downscale-1-ref.html
23 # RUN TESTS WITH HIGH QUALITY DOWNSCALING ENABLED:
24 # ================================================
25 # High-quality downscaling enabled:
26 default-preferences pref(image.high_quality_downscaling.enabled,true)
28 fuzzy(31,127) == downscale-1.html downscale-1-ref.html