[Webkit-unassigned] [Bug 80292] Layout test for window.devicePixelRatio

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 9 04:28:37 PST 2012


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





--- Comment #12 from Konrad Piascik <kpiascik at rim.com>  2012-03-09 04:28:37 PST ---
(In reply to comment #9)
> This revision (r110197) causes fail on Qt and on GTK. The diffs are the same:
> 
> --- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/fast/viewport/viewport-133-expected.txt 
> +++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/fast/viewport/viewport-133-actual.txt 
> @@ -1,3 +1,3 @@
>  viewport size 480x534 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
> -PASS window.devicePixelRatio is within 0.001 of 0.7083333134651184
> +FAIL window.devicePixelRatio should be within 0.001 of 0.7083333134651184. Was 1.

This test is related to https://bugs.webkit.org/show_bug.cgi?id=80160 where I set the devicePixelRatio based based on the results from computeViewportAttributes.

This should work on Qt since I believe that they also set this value in the same way.  So the failure could be a genuine failure for Qt.  Looking further into other ports I see now the EFL and GTK don't do this so I'll post a patch soon that will add this new test to the skipped list for those ports.

-- 
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