[Webkit-unassigned] [Bug 89715] devicePixelRatio media query layout tests fail when deviceScaleFactor is greater than 1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 10 11:51:09 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=89715





--- Comment #3 from Beth Dakin <bdakin at apple.com>  2012-08-10 11:51:37 PST ---
(In reply to comment #2)
> Could these tests could be rewritten to be text-only and use js/dom to query the color being rendered, or is it critical that we actually verify the pixels themselves?

The pixels are not critical in this case, but I think that they only way to truly convert these to text-only tests would be to extend DRT/WTR to be able report back the current device scale factor. The JS/DOM query for devicePixelRatio should not be used because these tests are essentially testing whether or not that very mechanism is accurate, so it needs to be compared against an alternate source of the information.

So it would be possibly to avoid separate text expectations in this case if we extended the test harness. But I think it would be simpler to have a platform directory for results since there are still other tests that cannot be translated into text-only tests. For example, all of the canvas tests: https://bugs.webkit.org/show_bug.cgi?id=89709

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list