Open Bug 1734167 Opened 4 years ago Updated 4 years ago

Reftest comparison images should crop extraneous whitespace on bottom/right

Categories

(Testing :: Reftest, defect, P3)

Default
Desktop
All
defect

Tracking

(Not tracked)

People

(Reporter: Gijs, Unassigned)

Details

Reftests use pretty large canvases, and for a lot of tests those aren't really necessary.

It'd be neat if we did some kind of "smart clipping", where we checked for the smallest rect that contained all the non-#fff pixels for both comparison sites, and pick the larger one, then crop both images to that size. That'd make it a lot easier to analyze reftest failures.

Severity: -- → S4
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.