Commit 92db70c9 authored by alokp@chromium.org's avatar alokp@chromium.org

gpu testing: Fix viewport initial-scale for pixel tests.

Fix the zoom level so that the layout is predictable. Otherwise tests
that sample pixels would sample incorrect pixels.

BUG=368495

Review URL: https://codereview.chromium.org/308033002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273755 0039d316-1c4b-4281-b951-d872f2087c98
parent 241cbd6b
......@@ -8,12 +8,9 @@ that the baseline images are regenerated on the next run.
<html>
<head>
<meta name="viewport" content="initial-scale=1">
<title>CSS 3D Test: Projected Blue Box over Black Background</title>
<style type="text/css">
.nomargin {
margin: 0px auto;
}
#container {
-webkit-perspective: 500;
}
......
......@@ -24,4 +24,6 @@ class PixelExpectations(test_expectations.TestExpectations):
# self.Fail('Pixel.Canvas2DRedBox',
# ['mac', 'amd', ('nvidia', 0x1234)], bug=123)
self.Fail('Pixel.CSS3DBlueBox', bug=368495)
pass
......@@ -42,7 +42,7 @@ class PixelTestsPageSet(page_set_module.PageSet):
url='file://../../data/gpu/pixel_css3d.html',
name='Pixel.CSS3DBlueBox',
test_rect=[0, 0, 300, 300],
revision=6,
revision=7,
page_set=self))
self.AddPage(PixelTestsPage(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment