Skip to content
  • hamaji@chromium.org's avatar
    2010-04-27 Shinichiro Hamaji <hamaji@chromium.org> · fbee9667
    hamaji@chromium.org authored
            Reviewed by Darin Adler and Eric Seidel.
    
            Add layoutTestController.setPrinting()
            https://bugs.webkit.org/show_bug.cgi?id=37203
    
            Now we can test media queries with the new function because the
            render tree has the color information of the box.
    
            Note that the pixel test is currently failing. We'll need another
            patch to enable printing mode for pixel tests.
    
            * platform/mac/Skipped:
            * platform/mac/printing/media-queries-print-expected.checksum: Added.
            * platform/mac/printing/media-queries-print-expected.png: Added.
            * platform/mac/printing/media-queries-print-expected.txt: Added.
            * printing/media-queries-print.html:
    2010-04-27  Shinichiro Hamaji  <hamaji@chromium.org>
    
            Reviewed by Darin Adler and Eric Seidel.
    
            Add layoutTestController.setPrinting()
            https://bugs.webkit.org/show_bug.cgi?id=37203
    
            Added RenderAsTextPrintingMode as a behavior of externalRepresentation.
    
            Now ~PrintContext() calls end() automatically.
    
            * page/PrintContext.cpp:
            (WebCore::PrintContext::~PrintContext):
            * rendering/RenderTreeAsText.cpp:
            (WebCore::externalRepresentation):
            * rendering/RenderTreeAsText.h:
            (WebCore::):
    2010-04-27  Shinichiro Hamaji  <hamaji@chromium.org>
    
            Reviewed by Darin Adler and Eric Seidel.
    
            Add layoutTestController.setPrinting()
            https://bugs.webkit.org/show_bug.cgi?id=37203
    
            * Misc/WebCoreStatistics.h:
            * Misc/WebCoreStatistics.mm:
            (-[WebFrame renderTreeAsExternalRepresentationForPrinting:]):
    2010-04-27  Shinichiro Hamaji  <hamaji@chromium.org>
    
            Reviewed by Darin Adler and Eric Seidel.
    
            Add layoutTestController.setPrinting()
            https://bugs.webkit.org/show_bug.cgi?id=37203
    
            * DumpRenderTree/LayoutTestController.cpp:
            (LayoutTestController::LayoutTestController):
            (setPrintingCallback):
            (LayoutTestController::staticFunctions):
            * DumpRenderTree/LayoutTestController.h:
            (LayoutTestController::isPrinting):
            (LayoutTestController::setIsPrinting):
            * DumpRenderTree/mac/DumpRenderTree.mm:
            (dump):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fbee9667