commit ed047083ea72a56de3e9bb0136ba1d44eeca316e Author: Thiago Marcos P. Santos Date: Fri Aug 10 16:15:55 2012 +0300 Test should verify font property of the non-attached canvas The test was suppose to verify if the percentage value is correctly applied to a canvas not attached to the DOM. It was creating a canvas element (ctx2) but verifying the properties on another one (ctx). diff --git a/LayoutTests/canvas/philip/tests/2d.text.font.parse.size.percentage.default.html b/LayoutTests/canvas/philip/tests/2d.text.font.parse.size.percentage.default.html index 3a67870..b88d3b8 100644 --- a/LayoutTests/canvas/philip/tests/2d.text.font.parse.size.percentage.default.html +++ b/LayoutTests/canvas/philip/tests/2d.text.font.parse.size.percentage.default.html @@ -14,8 +14,8 @@ _addTest(function(canvas, ctx) { var canvas2 = document.createElement('canvas'); var ctx2 = canvas2.getContext('2d'); -ctx.font = '1000% serif'; -_assertSame(ctx.font, '100px serif', "ctx.font", "'100px serif'"); +ctx2.font = '1000% serif'; +_assertSame(ctx2.font, '100px serif', "ctx.font", "'100px serif'"); });