Changeset 58629 in webkit
- Timestamp:
- Apr 30, 2010 10:34:28 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r58627 r58629 1 2010-04-30 Shinichiro Hamaji <hamaji@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 Add layoutTestController.setPrinting() 6 https://bugs.webkit.org/show_bug.cgi?id=37203 7 8 * platform/mac/Skipped: 9 * platform/mac/printing/media-queries-print-expected.txt: 10 1 11 2010-04-28 Joseph Pecoraro <joepeck@webkit.org> 2 12 -
trunk/LayoutTests/platform/mac/Skipped
r58548 r58629 176 176 fast/css/font-face-woff.html 177 177 178 # It seems this depends on the size of physical screen?179 printing/media-queries-print.html180 181 178 # EventSendingController does not send events on areas outside the WebView. 182 179 scrollbars/scrollbar-click-does-not-blur-content.html -
trunk/LayoutTests/platform/mac/printing/media-queries-print-expected.txt
r58396 r58629 1 layer at (0,0) size 2400x5852 RenderView at (0,0) size 2400x5853 layer at (0,0) size 2400x5854 RenderBlock {HTML} at (0,0) size 2400x5855 RenderBody {BODY} at (8,8) size 2384x5691 layer at (0,0) size 1000x585 2 RenderView at (0,0) size 1000x585 3 layer at (0,0) size 1000x585 4 RenderBlock {HTML} at (0,0) size 1000x585 5 RenderBody {BODY} at (8,8) size 984x569 6 6 RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000] 7 RenderBlock (anonymous) at (0,100) size 2384x187 RenderBlock (anonymous) at (0,100) size 984x18 8 8 RenderInline {SPAN} at (0,0) size 533x18 9 9 RenderText {#text} at (0,0) size 533x18 -
trunk/WebCore/ChangeLog
r58628 r58629 1 2010-04-30 Shinichiro Hamaji <hamaji@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 Add layoutTestController.setPrinting() 6 https://bugs.webkit.org/show_bug.cgi?id=37203 7 8 Use the renderer's width insteead of screen's width as the width of 9 a screen depends on machines. 10 11 * rendering/RenderTreeAsText.cpp: 12 (WebCore::externalRepresentation): 13 1 14 2010-04-30 Joseph Pecoraro <joepeck@webkit.org> 2 15 -
trunk/WebCore/rendering/RenderTreeAsText.cpp
r58389 r58629 30 30 #include "CharacterNames.h" 31 31 #include "Document.h" 32 #include "DOMWindow.h"33 32 #include "Frame.h" 34 33 #include "FrameView.h" … … 46 45 #include "RenderView.h" 47 46 #include "RenderWidget.h" 48 #include "Screen.h"49 47 #include "SelectionController.h" 50 48 #include "TextStream.h" … … 622 620 { 623 621 PrintContext printContext(frame); 624 if (behavior & RenderAsTextPrintingMode) 625 printContext.begin(frame->domWindow()->screen()->width()); 622 if (behavior & RenderAsTextPrintingMode) { 623 if (!frame->contentRenderer()) 624 return String(); 625 printContext.begin(frame->contentRenderer()->width()); 626 } 626 627 627 628 frame->document()->updateLayout();
Note: See TracChangeset
for help on using the changeset viewer.