Commit 134db825 authored by mdelaney@apple.com's avatar mdelaney@apple.com

2011-04-20 Matthew Delaney <mdelaney@apple.com>

        Reviewed by Dan Bernstein.

        Update fast/canvas/font-update.html to use dumpAsText.
        https://bugs.webkit.org/show_bug.cgi?id=59003

        * fast/canvas/font-update-expected.txt:
        * fast/canvas/font-update.html: This test is only useful as a pixel test. Dumping the render tree will always show the same thing regardless of what's done on the canvas in the test. However, with new render tree schemes (canvases in layers and such) the render trees will even look different but not actually failing what the test tests.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f50ed795
2011-04-20 Matthew Delaney <mdelaney@apple.com>
Reviewed by Dan Bernstein.
Update fast/canvas/font-update.html to use dumpAsText.
https://bugs.webkit.org/show_bug.cgi?id=59003
* fast/canvas/font-update-expected.txt:
* fast/canvas/font-update.html: This test is only useful as a pixel test. Dumping the render tree will always show the same thing regardless of what's done on the canvas in the test. However, with new render tree schemes (canvases in layers and such) the render trees will even look different but not actually failing what the test tests.
2011-04-20 Mike Reed <reed@google.com>
Reviewed by Steve Block.
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
RenderHTMLCanvas {CANVAS} at (0,0) size 300x150
......@@ -13,8 +13,10 @@
ctx.fillText("B", 0, 100);
ctx.fillStyle = "green";
canvas.parentNode.removeChild(canvas);
if (window.layoutTestController)
if (window.layoutTestController) {
layoutTestController.dumpAsText(true);
layoutTestController.waitUntilDone();
}
setTimeout(function()
{
ctx.fillText("A", 0, 100);
......
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