Chromium Code Reviews| Index: content/test/data/gpu/pixel_canvas_display_linear-rgb.html |
| diff --git a/content/test/data/gpu/pixel_canvas_display_linear-rgb.html b/content/test/data/gpu/pixel_canvas_display_linear-rgb.html |
| index d09b8bfb76ab74908613df29d6087f2ee0fdd938..89efb76434b7ea2be11436154479c4890905ad8d 100644 |
| --- a/content/test/data/gpu/pixel_canvas_display_linear-rgb.html |
| +++ b/content/test/data/gpu/pixel_canvas_display_linear-rgb.html |
| @@ -1,11 +1,6 @@ |
| <!DOCTYPE HTML> |
| <html> |
| <head> |
| -<style type="text/css"> |
| -.nomargin { |
| - margin: 0px auto; |
| -} |
| -</style> |
| <script> |
| // This browser pixel test checks if the 2D canvas is properly displayed |
| // when the color space is set to linear-rgb. |
| @@ -42,13 +37,13 @@ function waitForFinish() |
| window.webkitRequestAnimationFrame(waitForFinish); |
| } |
| } |
| + |
| +main(); |
|
xidachen
2016/11/02 15:48:26
if we have a body onload="main()", do we still nee
zakerinasab
2016/11/02 15:54:55
Fixed.
|
| </script> |
| </head> |
| -<body onload="main()"> |
| -<div style="position:relative; width:300px; height:300px; background-color:white"> |
| -</div> |
| +<body onload="main()"> |
|
xidachen
2016/11/02 15:48:26
why is there a small symbol here after the '>'?
zakerinasab
2016/11/02 15:54:55
Hm. It couldn't be seen in the editor. Fixed.
|
| <div id="container" style="position:absolute; top:0px; left:0px"> |
| -<canvas id="c" width="200" height="200" class="nomargin"></canvas> |
| +<canvas id="c" width="140" height="140"></canvas> |
| </div> |
| </body> |
| </html> |