Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 10, 2013
  1. RenderIFrame should display its name correctly in DRT output.

    akling@apple.com authored
    <https://webkit.org/b/124117>
    
    Source/WebCore:
    
    Nuke an age-old FIXME about making RenderIFrame show its true name
    in DRT output. No more "RenderPartObject {IFRAME}"!
    
    Reviewed by Anders Carlsson.
    
    LayoutTests:
    
    Rebaseline results now that RenderIFrame correctly dumps its name
    as "RenderIFrame".
    
    Reviewed by Anders Carlsson.
    
    * compositing/iframes/composited-iframe-scroll-expected.txt:
    * compositing/iframes/iframe-content-flipping-expected.txt:
    * compositing/iframes/nested-iframe-scrolling-expected.txt:
    * fast/css/replaced-element-implicit-size-expected.txt:
    * fast/css/resize-corner-tracking-expected.txt:
    * fast/dom/attr_dead_doc-expected.txt:
    * fast/frames/content-opacity-1-expected.txt:
    * fast/frames/content-opacity-2-expected.txt:
    * fast/frames/iframe-scaling-with-scroll-expected.txt:
    * fast/frames/iframe-text-contents-expected.txt:
    * fast/frames/paint-iframe-background-expected.txt:
    * fast/repaint/4774354-expected.txt:
    * fast/repaint/iframe-scroll-repaint-expected.txt:
    * fast/repaint/repaint-during-scroll-with-zoom-expected.txt:
    * fast/replaced/percent-height-in-anonymous-block-expected.txt:
    * http/tests/misc/acid3-expected.txt:
    * media/media-document-audio-repaint-expected.txt:
    * platform/efl/compositing/iframes/composited-iframe-alignment-expected.txt:
    * platform/efl/compositing/iframes/iframe-copy-on-scroll-expected.txt:
    * platform/efl/compositing/iframes/iframe-in-composited-layer-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-004-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-005-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-007-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-011-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-012-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-014-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-018-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-019-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-021-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-025-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-026-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-028-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-032-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-033-expected.txt:
    * platform/efl/css2.1/20110323/absolute-replaced-height-035-expected.txt:
    * platform/efl/css2.1/20110323/block-replaced-height-004-expected.txt:
    * platform/efl/css2.1/20110323/block-replaced-height-005-expected.txt:
    * platform/efl/css2.1/20110323/block-replaced-height-007-expected.txt:
    * platform/efl/css2.1/20110323/float-replaced-height-004-expected.txt:
    * platform/efl/css2.1/20110323/float-replaced-height-005-expected.txt:
    * platform/efl/css2.1/20110323/float-replaced-height-007-expected.txt:
    * platform/efl/css2.1/20110323/inline-block-replaced-height-004-expected.txt:
    * platform/efl/css2.1/20110323/inline-block-replaced-height-005-expected.txt:
    * platform/efl/css2.1/20110323/inline-block-replaced-height-007-expected.txt:
    * platform/efl/css2.1/20110323/inline-replaced-height-004-expected.txt:
    * platform/efl/css2.1/20110323/inline-replaced-height-005-expected.txt:
    * platform/efl/css2.1/20110323/inline-replaced-height-007-expected.txt:
    * platform/efl/editing/pasteboard/4631972-expected.txt:
    * platform/efl/editing/selection/4776665-expected.txt:
    * platform/efl/editing/selection/4960137-expected.txt:
    * platform/efl/editing/selection/4975120-expected.txt:
    * platform/efl/editing/selection/drag-in-iframe-expected.txt:
    * platform/efl/editing/selection/drag-to-contenteditable-iframe-expected.txt:
    * platform/efl/editing/selection/iframe-expected.txt:
    * platform/efl/editing/selection/select-all-iframe-expected.txt:
    * platform/efl/fast/block/basic/013-expected.txt:
    * platform/efl/fast/block/positioning/window-height-change-expected.txt:
    * platform/efl/fast/css/line-height-overflow-expected.txt:
    * platform/efl/fast/css3-text/css3-text-decoration/text-decoration-line-scaled-expected.txt:
    * platform/efl/fast/dom/Window/open-existing-pop-up-blocking-expected.txt:
    * platform/efl/fast/flexbox/016-expected.txt:
    * platform/efl/fast/forms/basic-textareas-expected.txt:
    * platform/efl/fast/forms/tabbing-input-iframe-expected.txt:
    * platform/efl/fast/forms/targeted-frame-submission-expected.txt:
    * platform/efl/fast/frames/001-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-fixed-height-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-fixed-width-and-height-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-fixed-width-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-nested-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-offscreen-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-out-of-view-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.txt:
    * platform/efl/fast/frames/flattening/iframe-flattening-simple-expected.txt:
    * platform/efl/fast/frames/frameElement-iframe-expected.txt:
    * platform/efl/fast/frames/iframe-option-crash-expected.txt:
    * platform/efl/fast/frames/iframe-scrolling-attribute-expected.txt:
    * platform/efl/fast/frames/iframe-with-frameborder-expected.txt:
    * platform/efl/fast/frames/onlyCommentInIFrame-expected.txt:
    * platform/efl/fast/frames/take-focus-from-iframe-expected.txt:
    * platform/efl/fast/frames/viewsource-attribute-expected.txt:
    * platform/efl/fast/frames/viewsource-on-image-file-expected.txt:
    * platform/efl/fast/images/favicon-as-image-expected.txt:
    * platform/efl/fast/overflow/scrollRevealButton-expected.txt:
    * platform/efl/fast/repaint/fixed-move-after-keyboard-scroll-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-1-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-10-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-2-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-3-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-4-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-5-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-6-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-7-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-8-expected.txt:
    * platform/efl/fast/repaint/line-flow-with-floats-9-expected.txt:
    * platform/efl/fast/repaint/text-selection-rect-in-overflow-2-expected.txt:
    * platform/efl/fast/replaced/007-expected.txt:
    * platform/efl/fast/replaced/border-radius-clip-expected.txt:
    * platform/efl/fast/replaced/percent-height-in-anonymous-block-in-table-expected.txt:
    * platform/efl/fast/replaced/replaced-breaking-expected.txt:
    * platform/efl/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.txt:
    * platform/efl/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.txt:
    * platform/efl/fast/table/quote-text-around-iframe-expected.txt:
    * platform/efl/fast/text/selection-hard-linebreak-expected.txt:
    * platform/efl/http/tests/loading/simple-subframe-expected.txt:
    * platform/efl/http/tests/local/file-url-sent-as-referer-expected.txt:
    * platform/efl/http/tests/misc/acid3-expected.txt:
    * platform/efl/http/tests/misc/favicon-as-image-expected.txt:
    * platform/efl/http/tests/misc/frame-access-during-load-expected.txt:
    * platform/efl/http/tests/misc/iframe404-expected.txt:
    * platform/efl/http/tests/misc/location-replace-crossdomain-expected.txt:
    * platform/efl/http/tests/multipart/invalid-image-data-standalone-expected.txt:
    * platform/efl/media/media-document-audio-repaint-expected.txt:
    * platform/efl/svg/hixie/rendering-model/003-expected.txt:
    * platform/efl/svg/in-html/by-reference-expected.txt:
    * platform/efl/tables/mozilla/bugs/bug131020-expected.txt:
    * platform/efl/tables/mozilla/bugs/bug38916-expected.txt:
    * platform/efl/tables/mozilla/bugs/bug4527-expected.txt:
    * platform/gtk-wk1/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.txt:
    * platform/gtk-wk1/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-004-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-005-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-007-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-011-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-012-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-014-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-018-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-019-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-021-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-025-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-026-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-028-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-032-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-033-expected.txt:
    * platform/gtk/css2.1/20110323/absolute-replaced-height-035-expected.txt:
    * platform/gtk/css2.1/20110323/block-replaced-height-004-expected.txt:
    * platform/gtk/css2.1/20110323/block-replaced-height-005-expected.txt:
    * platform/gtk/css2.1/20110323/block-replaced-height-007-expected.txt:
    * platform/gtk/css2.1/20110323/float-replaced-height-004-expected.txt:
    * platform/gtk/css2.1/20110323/float-replaced-height-005-expected.txt:
    * platform/gtk/css2.1/20110323/float-replaced-height-007-expected.txt:
    * platform/gtk/css2.1/20110323/inline-block-replaced-height-004-expected.txt:
    * platform/gtk/css2.1/20110323/inline-block-replaced-height-005-expected.txt:
    * platform/gtk/css2.1/20110323/inline-block-replaced-height-007-expected.txt:
    * platform/gtk/css2.1/20110323/inline-replaced-height-004-expected.txt:
    * platform/gtk/css2.1/20110323/inline-replaced-height-005-expected.txt:
    * platform/gtk/css2.1/20110323/inline-replaced-height-007-expected.txt:
    * platform/gtk/editing/execCommand/find-after-replace-expected.txt:
    * platform/gtk/editing/execCommand/paste-1-expected.txt:
    * platform/gtk/editing/pasteboard/4631972-expected.txt:
    * platform/gtk/editing/pasteboard/copy-standalone-image-expected.txt:
    * platform/gtk/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.txt:
    * platform/gtk/editing/pasteboard/paste-2-expected.txt:
    * platform/gtk/editing/pasteboard/subframe-dragndrop-1-expected.txt:
    * platform/gtk/editing/selection/4776665-expected.txt:
    * platform/gtk/editing/selection/4960137-expected.txt:
    * platform/gtk/editing/selection/4975120-expected.txt:
    * platform/gtk/editing/selection/drag-in-iframe-expected.txt:
    * platform/gtk/editing/selection/drag-to-contenteditable-iframe-expected.txt:
    * platform/gtk/editing/selection/iframe-expected.txt:
    * platform/gtk/editing/selection/select-all-iframe-expected.txt:
    * platform/gtk/fast/block/basic/013-expected.txt:
    * platform/gtk/fast/block/positioning/window-height-change-expected.txt:
    * platform/gtk/fast/css/line-height-overflow-expected.txt:
    * platform/gtk/fast/css/resize-corner-tracking-expected.txt:
    * platform/gtk/fast/css/resize-corner-tracking-transformed-iframe-expected.txt:
    * platform/gtk/fast/css3-text/css3-text-decoration/text-decoration-line-scaled-expected.txt:
    * platform/gtk/fast/dom/Window/open-existing-pop-up-blocking-expected.txt:
    * platform/gtk/fast/flexbox/016-expected.txt:
    * platform/gtk/fast/forms/basic-textareas-expected.txt:
    * platform/gtk/fast/forms/tabbing-input-iframe-expected.txt:
    * platform/gtk/fast/forms/targeted-frame-submission-expected.txt:
    * platform/gtk/fast/frames/001-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-height-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-width-and-height-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-width-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-nested-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-offscreen-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-out-of-view-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.txt:
    * platform/gtk/fast/frames/flattening/iframe-flattening-simple-expected.txt:
    * platform/gtk/fast/frames/frameElement-iframe-expected.txt:
    * platform/gtk/fast/frames/iframe-option-crash-expected.txt:
    * platform/gtk/fast/frames/iframe-scrolling-attribute-expected.txt:
    * platform/gtk/fast/frames/iframe-with-frameborder-expected.txt:
    * platform/gtk/fast/frames/onlyCommentInIFrame-expected.txt:
    * platform/gtk/fast/frames/scrolling-iframe-out-of-viewport-expected.txt:
    * platform/gtk/fast/frames/take-focus-from-iframe-expected.txt:
    * platform/gtk/fast/frames/viewsource-attribute-expected.txt:
    * platform/gtk/fast/frames/viewsource-on-image-file-expected.txt:
    * platform/gtk/fast/images/favicon-as-image-expected.txt:
    * platform/gtk/fast/overflow/scrollRevealButton-expected.txt:
    * platform/gtk/fast/repaint/fixed-move-after-keyboard-scroll-expected.txt:
    * platform/gtk/fast/repaint/iframe-scroll-repaint-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-1-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-10-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-2-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-3-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-4-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-5-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-6-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-7-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-8-expected.txt:
    * platform/gtk/fast/repaint/line-flow-with-floats-9-expected.txt:
    * platform/gtk/fast/repaint/text-selection-rect-in-overflow-2-expected.txt:
    * platform/gtk/fast/replaced/007-expected.txt:
    * platform/gtk/fast/replaced/border-radius-clip-expected.txt:
    * platform/gtk/fast/replaced/percent-height-in-anonymous-block-in-table-expected.txt:
    * platform/gtk/fast/replaced/replaced-breaking-expected.txt:
    * platform/gtk/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.txt:
    * platform/gtk/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.txt:
    * platform/gtk/fast/table/quote-text-around-iframe-expected.txt:
    * platform/gtk/fast/text/selection-hard-linebreak-expected.txt:
    * platform/gtk/http/tests/loading/simple-subframe-expected.txt:
    * platform/gtk/http/tests/local/file-url-sent-as-referer-expected.txt:
    * platform/gtk/http/tests/misc/favicon-as-image-expected.txt:
    * platform/gtk/http/tests/misc/frame-access-during-load-expected.txt:
    * platform/gtk/http/tests/misc/iframe404-expected.txt:
    * platform/gtk/http/tests/misc/location-replace-crossdomain-expected.txt:
    * platform/gtk/http/tests/multipart/invalid-image-data-standalone-expected.txt:
    * platform/gtk/media/media-document-audio-repaint-expected.txt:
    * platform/gtk/plugins/iframe-plugin-bgcolor-expected.txt:
    * platform/gtk/svg/as-object/svg-embedded-in-html-in-iframe-expected.txt:
    * platform/gtk/svg/custom/embedding-external-svgs-expected.txt:
    * platform/gtk/svg/hixie/rendering-model/003-expected.txt:
    * platform/gtk/svg/in-html/by-reference-expected.txt:
    * platform/gtk/tables/mozilla/bugs/bug131020-expected.txt:
    * platform/gtk/tables/mozilla/bugs/bug38916-expected.txt:
    * platform/gtk/tables/mozilla/bugs/bug4527-expected.txt:
    * platform/iphone-simulator/text-autosizing/contenteditable-expected.txt:
    * platform/mac-mountainlion/editing/selection/4975120-expected.txt:
    * platform/mac-mountainlion/fast/forms/basic-textareas-expected.txt:
    * platform/mac-mountainlion/fast/forms/tabbing-input-iframe-expected.txt:
    * platform/mac-mountainlion/fast/frames/take-focus-from-iframe-expected.txt:
    * platform/mac-mountainlion/fast/replaced/replaced-breaking-expected.txt:
    * platform/mac-mountainlion/tables/mozilla/bugs/bug4527-expected.txt:
    * platform/mac-wk2/fast/repaint/fixed-move-after-keyboard-scroll-expected.txt:
    * platform/mac/compositing/iframes/composited-iframe-alignment-expected.txt:
    * platform/mac/compositing/iframes/iframe-copy-on-scroll-expected.txt:
    * platform/mac/compositing/iframes/iframe-in-composited-layer-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-004-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-005-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-007-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-011-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-012-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-014-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-018-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-019-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-021-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-025-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-026-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-028-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-032-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-033-expected.txt:
    * platform/mac/css2.1/20110323/absolute-replaced-height-035-expected.txt:
    * platform/mac/css2.1/20110323/block-replaced-height-004-expected.txt:
    * platform/mac/css2.1/20110323/block-replaced-height-005-expected.txt:
    * platform/mac/css2.1/20110323/block-replaced-height-007-expected.txt:
    * platform/mac/css2.1/20110323/float-replaced-height-004-expected.txt:
    * platform/mac/css2.1/20110323/float-replaced-height-005-expected.txt:
    * platform/mac/css2.1/20110323/float-replaced-height-007-expected.txt:
    * platform/mac/css2.1/20110323/inline-block-replaced-height-004-expected.txt:
    * platform/mac/css2.1/20110323/inline-block-replaced-height-005-expected.txt:
    * platform/mac/css2.1/20110323/inline-block-replaced-height-007-expected.txt:
    * platform/mac/css2.1/20110323/inline-replaced-height-004-expected.txt:
    * platform/mac/css2.1/20110323/inline-replaced-height-005-expected.txt:
    * platform/mac/css2.1/20110323/inline-replaced-height-007-expected.txt:
    * platform/mac/editing/execCommand/find-after-replace-expected.txt:
    * platform/mac/editing/execCommand/paste-1-expected.txt:
    * platform/mac/editing/pasteboard/4631972-expected.txt:
    * platform/mac/editing/pasteboard/copy-standalone-image-expected.txt:
    * platform/mac/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.txt:
    * platform/mac/editing/pasteboard/paste-2-expected.txt:
    * platform/mac/editing/pasteboard/subframe-dragndrop-1-expected.txt:
    * platform/mac/editing/selection/4776665-expected.txt:
    * platform/mac/editing/selection/4960137-expected.txt:
    * platform/mac/editing/selection/4975120-expected.txt:
    * platform/mac/editing/selection/drag-in-iframe-expected.txt:
    * platform/mac/editing/selection/drag-to-contenteditable-iframe-expected.txt:
    * platform/mac/editing/selection/iframe-expected.txt:
    * platform/mac/editing/selection/select-all-iframe-expected.txt:
    * platform/mac/fast/block/basic/013-expected.txt:
    * platform/mac/fast/block/positioning/window-height-change-expected.txt:
    * platform/mac/fast/css/line-height-overflow-expected.txt:
    * platform/mac/fast/css/resize-corner-tracking-transformed-iframe-expected.txt:
    * platform/mac/fast/css3-text/css3-text-decoration/text-decoration-line-scaled-expected.txt:
    * platform/mac/fast/dom/Window/open-existing-pop-up-blocking-expected.txt:
    * platform/mac/fast/flexbox/016-expected.txt:
    * platform/mac/fast/forms/basic-textareas-expected.txt:
    * platform/mac/fast/forms/tabbing-input-iframe-expected.txt:
    * platform/mac/fast/forms/targeted-frame-submission-expected.txt:
    * platform/mac/fast/frames/001-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-fixed-height-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-fixed-width-and-height-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-fixed-width-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-nested-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-offscreen-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.txt:
    * platform/mac/fast/frames/flattening/iframe-flattening-simple-expected.txt:
    * platform/mac/fast/frames/frameElement-iframe-expected.txt:
    * platform/mac/fast/frames/iframe-option-crash-expected.txt:
    * platform/mac/fast/frames/iframe-scrolling-attribute-expected.txt:
    * platform/mac/fast/frames/iframe-with-frameborder-expected.txt:
    * platform/mac/fast/frames/onlyCommentInIFrame-expected.txt:
    * platform/mac/fast/frames/take-focus-from-iframe-expected.txt:
    * platform/mac/fast/frames/viewsource-attribute-expected.txt:
    * platform/mac/fast/frames/viewsource-on-image-file-expected.txt:
    * platform/mac/fast/images/favicon-as-image-expected.txt:
    * platform/mac/fast/overflow/scrollRevealButton-expected.txt:
    * platform/mac/fast/repaint/4774354-expected.txt:
    * platform/mac/fast/repaint/fixed-move-after-keyboard-scroll-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-1-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-10-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-2-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-3-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-4-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-5-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-6-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-7-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-8-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-9-expected.txt:
    * platform/mac/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
    * platform/mac/fast/repaint/repaint-during-scroll-with-zoom-expected.txt:
    * platform/mac/fast/repaint/text-selection-rect-in-overflow-2-expected.txt:
    * platform/mac/fast/replaced/007-expected.txt:
    * platform/mac/fast/replaced/border-radius-clip-expected.txt:
    * platform/mac/fast/replaced/percent-height-in-anonymous-block-in-table-expected.txt:
    * platform/mac/fast/replaced/replaced-breaking-expected.txt:
    * platform/mac/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.txt:
    * platform/mac/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.txt:
    * platform/mac/fast/table/quote-text-around-iframe-expected.txt:
    * platform/mac/fast/text/selection-hard-linebreak-expected.txt:
    * platform/mac/http/tests/loading/simple-subframe-expected.txt:
    * platform/mac/http/tests/local/file-url-sent-as-referer-expected.txt:
    * platform/mac/http/tests/misc/acid3-expected.txt:
    * platform/mac/http/tests/misc/favicon-as-image-expected.txt:
    * platform/mac/http/tests/misc/frame-access-during-load-expected.txt:
    * platform/mac/http/tests/misc/iframe404-expected.txt:
    * platform/mac/http/tests/misc/location-replace-crossdomain-expected.txt:
    * platform/mac/http/tests/multipart/invalid-image-data-standalone-expected.txt:
    * platform/mac/plugins/update-widget-from-style-recalc-expected.txt:
    * platform/mac/plugins/update-widget-from-style-recalc.html:
    * platform/mac/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.txt:
    * platform/mac/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.txt:
    * platform/mac/svg/custom/embedding-external-svgs-expected.txt:
    * platform/mac/svg/hixie/rendering-model/003-expected.txt:
    * platform/mac/svg/in-html/by-reference-expected.txt:
    * platform/mac/tables/mozilla/bugs/bug131020-expected.txt:
    * platform/mac/tables/mozilla/bugs/bug38916-expected.txt:
    * platform/mac/tables/mozilla/bugs/bug4527-expected.txt:
    * platform/mac/webarchive/loading/cache-expired-subresource-expected.txt:
    * platform/win-xp/media/media-document-audio-repaint-expected.txt:
    * platform/win/http/tests/misc/acid3-expected.txt:
    * plugins/iframe-plugin-bgcolor-expected.txt:
    * printing/iframe-print-expected.txt:
    * scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.txt:
    * scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.txt:
    * svg/as-object/svg-embedded-in-html-in-iframe-expected.txt:
    * tables/mozilla/bugs/bug137388-1-expected.txt:
    * tables/mozilla/bugs/bug137388-2-expected.txt:
    * tables/mozilla/bugs/bug137388-3-expected.txt:
    * tables/mozilla/bugs/bug50695-2-expected.txt:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Oct 28, 2013
  1. Methods on window.internals shouldn't pass a document.

    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=107301
    
    Patch by Afonso R. Costa Jr. <afonso.costa@samsung.com> on 2013-10-28
    Reviewed by Alexey Proskuryakov.
    
    Each 'Internals' instance is associated with a 'Document'. So, it
    is not necessary to pass a document as argument. Only nodesFromRect and
    layerTreeAsText methods were kept because, in some Layout Tests, the
    'Document' object is not the same used by Internals::contextDocument.
    
    Source/WebCore:
    
    * testing/Internals.cpp: Removed 'document' parameter.
    (WebCore::Internals::animationsAreSuspended):
    (WebCore::Internals::suspendAnimations):
    (WebCore::Internals::resumeAnimations):
    (WebCore::Internals::inspectorHighlightRects):
    (WebCore::Internals::inspectorHighlightObject):
    (WebCore::Internals::setScrollViewPosition):
    (WebCore::Internals::setPagination):
    (WebCore::Internals::configurationForViewport):
    (WebCore::Internals::paintControlTints):
    (WebCore::Internals::setDelegatesScrolling):
    (WebCore::Internals::touchPositionAdjustedToBestClickableNode):
    (WebCore::Internals::touchNodeAdjustedToBestClickableNode):
    (WebCore::Internals::touchPositionAdjustedToBestContextMenuNode):
    (WebCore::Internals::touchNodeAdjustedToBestContextMenuNode):
    (WebCore::Internals::bestZoomableAreaForTouchPoint):
    (WebCore::Internals::lastSpellCheckRequestSequence):
    (WebCore::Internals::lastSpellCheckProcessedSequence):
    (WebCore::Internals::wheelEventHandlerCount):
    (WebCore::Internals::touchEventHandlerCount):
    (WebCore::Internals::setBatteryStatus):
    (WebCore::Internals::setNetworkInformation):
    (WebCore::Internals::setDeviceProximity):
    (WebCore::Internals::hasSpellingMarker):
    (WebCore::Internals::hasAutocorrectedMarker):
    (WebCore::Internals::isOverwriteModeEnabled):
    (WebCore::Internals::toggleOverwriteModeEnabled):
    (WebCore::Internals::consoleMessageArgumentCounts):
    (WebCore::Internals::hasGrammarMarker):
    (WebCore::Internals::numberOfScrollableAreas):
    (WebCore::Internals::isPageBoxVisible):
    (WebCore::Internals::repaintRectsAsText):
    (WebCore::Internals::scrollingStateTreeAsText):
    (WebCore::Internals::mainThreadScrollingReasons):
    (WebCore::Internals::nonFastScrollableRects):
    (WebCore::Internals::garbageCollectDocumentResources):
    (WebCore::Internals::insertAuthorCSS):
    (WebCore::Internals::insertUserCSS):
    (WebCore::Internals::shortcutIconURLs):
    (WebCore::Internals::allIconURLs):
    (WebCore::Internals::setHeaderHeight):
    (WebCore::Internals::setFooterHeight):
    (WebCore::Internals::webkitWillEnterFullScreenForElement):
    (WebCore::Internals::webkitDidEnterFullScreenForElement):
    (WebCore::Internals::webkitWillExitFullScreenForElement):
    (WebCore::Internals::webkitDidExitFullScreenForElement):
    (WebCore::Internals::startTrackingRepaints):
    (WebCore::Internals::stopTrackingRepaints):
    (WebCore::Internals::getCurrentCursorInfo):
    * testing/Internals.h:
    (WebCore::Internals::setPagination):
    * testing/Internals.idl:
    
    LayoutTests:
    
    * animations/added-while-suspended.html: Removed 'document' parameter.
    * animations/play-state-suspend.html:
    * animations/stop-animation-on-suspend.html:
    * animations/suspend-resume-animation-events.html:
    * animations/suspend-resume-animation.html:
    * animations/suspend-transform-animation.html:
    * batterystatus/resources/event-after-navigation-new.html:
    * batterystatus/script-tests/add-listener-from-callback.js:
    (firstListener):
    * batterystatus/script-tests/basic-all-types-of-events.js:
    * batterystatus/script-tests/basic-operation.js:
    * batterystatus/script-tests/multiple-frames.js:
    * batterystatus/script-tests/updates.js:
    (setBatteryStatus):
    * compositing/columns/ancestor-clipped-in-paginated.html:
    * compositing/columns/clipped-in-paginated.html:
    * compositing/columns/composited-columns-vertical-rl.html:
    * compositing/columns/composited-in-paginated-rl.html:
    * compositing/columns/composited-in-paginated-writing-mode-rl.html:
    * compositing/columns/composited-in-paginated.html:
    * compositing/columns/composited-lr-paginated-repaint.html:
    * compositing/columns/composited-rl-paginated-repaint.html:
    * compositing/columns/geometry-map-paginated-assert.html:
    * compositing/columns/hittest-composited-in-paginated.html:
    * compositing/columns/rotated-in-paginated.html:
    * compositing/columns/untransformed-composited-in-paginated.html:
    * compositing/iframes/iframe-composited-scrolling.html:
    * compositing/layer-creation/fixed-position-in-view-dynamic.html:
    * compositing/layer-creation/fixed-position-no-content-scroll-reason.html:
    * compositing/layer-creation/fixed-position-out-of-view-dynamic.html:
    * compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html:
    * compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html:
    * compositing/overflow/dynamic-composited-scrolling-status.html:
    * compositing/overflow/scrolling-without-painting.html:
    * compositing/overflow/updating-scrolling-content.html:
    * compositing/repaint/absolute-painted-into-composited-ancestor.html:
    * compositing/repaint/fixed-background-scroll.html:
    * compositing/repaint/invalidations-on-composited-layers.html:
    * compositing/repaint/positioned-movement.html:
    * compositing/repaint/repaint-on-layer-grouping-change.html:
    * compositing/repaint/resize-repaint.html:
    * compositing/repaint/scroll-fixed-layer-no-content.html:
    * compositing/repaint/scroll-fixed-layer-out-of-view.html:
    * editing/caret/selection-with-caret-type-progress.html:
    * editing/execCommand/overtype.html:
    * editing/selection/block-cursor-overtype-mode.html:
    * editing/spelling/design-mode-spellcheck-off.html:
    * editing/spelling/grammar-edit-word-expected.txt:
    * editing/spelling/grammar-edit-word.html:
    * editing/spelling/grammar-markers-hidpi.html:
    * editing/spelling/grammar-markers.html:
    * editing/spelling/grammar.html:
    * editing/spelling/script-tests/spellcheck-paste.js:
    (verifyMarker):
    * editing/spelling/script-tests/spelling-attribute-at-child.js:
    (childHasSpellingMarker):
    * editing/spelling/script-tests/spelling-attribute-change.js:
    (testSpellCheckingEnabled):
    * editing/spelling/script-tests/spelling-backspace-between-lines.js:
    (testWithDelete):
    (testWithForwardDelete):
    * editing/spelling/script-tests/spelling-hasspellingmarker.js:
    (hasMarked):
    * editing/spelling/spellcheck-async-mutation.html:
    * editing/spelling/spellcheck-attribute-expected.txt:
    * editing/spelling/spellcheck-attribute.html:
    * editing/spelling/spellcheck-paste-continuous-disabled-expected.txt:
    * editing/spelling/spellcheck-paste-continuous-disabled.html:
    * editing/spelling/spellcheck-paste-disabled-expected.txt:
    * editing/spelling/spellcheck-paste-disabled.html:
    * editing/spelling/spellcheck-sequencenum.html:
    * editing/spelling/spelling-attribute-change-expected.txt:
    * editing/spelling/spelling-backspace-between-lines-expected.txt:
    * editing/spelling/spelling-linebreak.html:
    * fast/box-shadow/shadow-repaint.html:
    * fast/css/webkit-mask-crash-fieldset-legend.html:
    * fast/css/webkit-mask-crash-figure.html:
    * fast/css/webkit-mask-crash-table.html:
    * fast/css/webkit-mask-crash-td-2.html:
    * fast/css/webkit-mask-crash-td.html:
    * fast/dom/icon-url-change.html:
    * fast/dom/icon-url-list-apple-touch.html:
    * fast/dom/icon-url-list.html:
    * fast/dom/icon-url-property.html:
    * fast/events/mouse-cursor-change.html:
    * fast/events/mouse-cursor-image-set.html:
    * fast/events/mouse-cursor-multiframecur.html:
    * fast/events/mouse-cursor-no-mousemove.html:
    * fast/events/mouse-cursor.html:
    * fast/events/touch/touch-handler-count-expected.txt:
    * fast/events/touch/touch-handler-count.html:
    * fast/events/touch/touch-input-element-change-documents-expected.txt:
    * fast/events/touch/touch-input-element-change-documents.html:
    * fast/multicol/hit-test-gap-between-pages-flipped.html:
    * fast/multicol/hit-test-gap-between-pages.html:
    * fast/multicol/pagination-h-horizontal-bt.html:
    * fast/multicol/pagination-h-horizontal-tb.html:
    * fast/multicol/pagination-h-vertical-lr.html:
    * fast/multicol/pagination-h-vertical-rl.html:
    * fast/multicol/pagination-v-horizontal-bt.html:
    * fast/multicol/pagination-v-horizontal-tb.html:
    * fast/multicol/pagination-v-vertical-lr.html:
    * fast/multicol/pagination-v-vertical-rl.html:
    * fast/multicol/pagination/BottomToTop-bt.html:
    * fast/multicol/pagination/BottomToTop-lr.html:
    * fast/multicol/pagination/BottomToTop-rl.html:
    * fast/multicol/pagination/BottomToTop-tb.html:
    * fast/multicol/pagination/LeftToRight-bt.html:
    * fast/multicol/pagination/LeftToRight-lr.html:
    * fast/multicol/pagination/LeftToRight-rl.html:
    * fast/multicol/pagination/LeftToRight-tb.html:
    * fast/multicol/pagination/RightToLeft-bt.html:
    * fast/multicol/pagination/RightToLeft-lr.html:
    * fast/multicol/pagination/RightToLeft-rl.html:
    * fast/multicol/pagination/RightToLeft-tb.html:
    * fast/multicol/pagination/TopToBottom-bt.html:
    * fast/multicol/pagination/TopToBottom-lr.html:
    * fast/multicol/pagination/TopToBottom-rl.html:
    * fast/multicol/pagination/TopToBottom-tb.html:
    * fast/multicol/shrink-to-column-height-for-pagination.html:
    * fast/repaint/background-shorthand-with-gradient-and-height-changes.html:
    * fast/repaint/obscured-background-no-repaint.html:
    * fast/repaint/resources/text-based-repaint.js:
    (runRepaintTest):
    * fast/scrolling/resources/scrollable-area.js:
    (end):
    * fast/viewport/scroll-delegates-switch-on-page-with-no-composition-mode-asserts.html:
    * fast/viewport/viewport-1.html:
    * fast/viewport/viewport-10.html:
    * fast/viewport/viewport-100.html:
    * fast/viewport/viewport-101.html:
    * fast/viewport/viewport-102.html:
    * fast/viewport/viewport-103.html:
    * fast/viewport/viewport-104.html:
    * fast/viewport/viewport-105.html:
    * fast/viewport/viewport-106.html:
    * fast/viewport/viewport-107.html:
    * fast/viewport/viewport-108.html:
    * fast/viewport/viewport-109.html:
    * fast/viewport/viewport-11.html:
    * fast/viewport/viewport-110.html:
    * fast/viewport/viewport-111.html:
    * fast/viewport/viewport-112.html:
    * fast/viewport/viewport-113.html:
    * fast/viewport/viewport-114.html:
    * fast/viewport/viewport-115.html:
    * fast/viewport/viewport-116.html:
    * fast/viewport/viewport-117.html:
    * fast/viewport/viewport-118.html:
    * fast/viewport/viewport-119.html:
    * fast/viewport/viewport-12.html:
    * fast/viewport/viewport-120.html:
    * fast/viewport/viewport-121.html:
    * fast/viewport/viewport-122.html:
    * fast/viewport/viewport-123.html:
    * fast/viewport/viewport-124.html:
    * fast/viewport/viewport-125.html:
    * fast/viewport/viewport-126.html:
    * fast/viewport/viewport-127.html:
    * fast/viewport/viewport-128.html:
    * fast/viewport/viewport-129.html:
    * fast/viewport/viewport-13.html:
    * fast/viewport/viewport-130.html:
    * fast/viewport/viewport-131.html:
    * fast/viewport/viewport-132.html:
    * fast/viewport/viewport-133.html:
    * fast/viewport/viewport-134.html:
    * fast/viewport/viewport-14.html:
    * fast/viewport/viewport-15.html:
    * fast/viewport/viewport-16.html:
    * fast/viewport/viewport-17.html:
    * fast/viewport/viewport-18.html:
    * fast/viewport/viewport-19.html:
    * fast/viewport/viewport-2.html:
    * fast/viewport/viewport-20.html:
    * fast/viewport/viewport-21.html:
    * fast/viewport/viewport-22.html:
    * fast/viewport/viewport-23.html:
    * fast/viewport/viewport-24.html:
    * fast/viewport/viewport-25.html:
    * fast/viewport/viewport-26.html:
    * fast/viewport/viewport-27.html:
    * fast/viewport/viewport-28.html:
    * fast/viewport/viewport-29.html:
    * fast/viewport/viewport-3.html:
    * fast/viewport/viewport-30.html:
    * fast/viewport/viewport-31.html:
    * fast/viewport/viewport-32.html:
    * fast/viewport/viewport-33.html:
    * fast/viewport/viewport-34.html:
    * fast/viewport/viewport-35.html:
    * fast/viewport/viewport-36.html:
    * fast/viewport/viewport-37.html:
    * fast/viewport/viewport-38.html:
    * fast/viewport/viewport-39.html:
    * fast/viewport/viewport-4.html:
    * fast/viewport/viewport-40.html:
    * fast/viewport/viewport-41.html:
    * fast/viewport/viewport-42.html:
    * fast/viewport/viewport-43.html:
    * fast/viewport/viewport-44.html:
    * fast/viewport/viewport-45.html:
    * fast/viewport/viewport-46.html:
    * fast/viewport/viewport-47.html:
    * fast/viewport/viewport-48.html:
    * fast/viewport/viewport-49.html:
    * fast/viewport/viewport-5.html:
    * fast/viewport/viewport-50.html:
    * fast/viewport/viewport-51.html:
    * fast/viewport/viewport-52.html:
    * fast/viewport/viewport-53.html:
    * fast/viewport/viewport-54.html:
    * fast/viewport/viewport-55.html:
    * fast/viewport/viewport-56.html:
    * fast/viewport/viewport-57.html:
    * fast/viewport/viewport-58.html:
    * fast/viewport/viewport-59.html:
    * fast/viewport/viewport-6.html:
    * fast/viewport/viewport-60.html:
    * fast/viewport/viewport-61.html:
    * fast/viewport/viewport-62.html:
    * fast/viewport/viewport-63.html:
    * fast/viewport/viewport-64.html:
    * fast/viewport/viewport-65.html:
    * fast/viewport/viewport-66.html:
    * fast/viewport/viewport-67.html:
    * fast/viewport/viewport-68.html:
    * fast/viewport/viewport-69.html:
    * fast/viewport/viewport-7.html:
    * fast/viewport/viewport-70.html:
    * fast/viewport/viewport-71.html:
    * fast/viewport/viewport-72.html:
    * fast/viewport/viewport-73.html:
    * fast/viewport/viewport-74.html:
    * fast/viewport/viewport-75.html:
    * fast/viewport/viewport-76.html:
    * fast/viewport/viewport-77.html:
    * fast/viewport/viewport-78.html:
    * fast/viewport/viewport-79.html:
    * fast/viewport/viewport-8.html:
    * fast/viewport/viewport-80.html:
    * fast/viewport/viewport-81.html:
    * fast/viewport/viewport-82.html:
    * fast/viewport/viewport-83.html:
    * fast/viewport/viewport-84.html:
    * fast/viewport/viewport-85.html:
    * fast/viewport/viewport-86.html:
    * fast/viewport/viewport-87.html:
    * fast/viewport/viewport-88.html:
    * fast/viewport/viewport-9.html:
    * fast/viewport/viewport-90.html:
    * fast/viewport/viewport-91.html:
    * fast/viewport/viewport-legacy-handheldfriendly.html:
    * fast/viewport/viewport-legacy-mobileoptimized-2.html:
    * fast/viewport/viewport-legacy-mobileoptimized-3.html:
    * fast/viewport/viewport-legacy-mobileoptimized.html:
    * fast/viewport/viewport-legacy-ordering-1.html:
    * fast/viewport/viewport-legacy-ordering-2.html:
    * fast/viewport/viewport-legacy-ordering-3.html:
    * fast/viewport/viewport-legacy-ordering-4.html:
    * fast/viewport/viewport-legacy-ordering-5.html:
    * fast/viewport/viewport-legacy-ordering-6.html:
    * fast/viewport/viewport-legacy-ordering-7.html:
    * fast/viewport/viewport-legacy-ordering-8.html:
    * fast/viewport/viewport-legacy-ordering-9.html:
    * fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html:
    * fast/viewport/viewport-legacy-xhtmlmp-ordering.html:
    * fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html:
    * fast/viewport/viewport-legacy-xhtmlmp.html:
    * fast/viewport/viewport-limits-adjusted-for-no-user-scale-control.html:
    * fast/viewport/viewport-limits-adjusted-for-no-user-scale.html:
    * fast/viewport/viewport-warnings-1.html:
    * fast/viewport/viewport-warnings-2.html:
    * fast/viewport/viewport-warnings-3.html:
    * fast/viewport/viewport-warnings-4.html:
    * fast/viewport/viewport-warnings-5.html:
    * fast/viewport/viewport-warnings-6.html:
    * fullscreen/video-cursor-auto-hide-expected.txt:
    * fullscreen/video-cursor-auto-hide.html:
    * http/tests/inspector-enabled/resources/console-clear-arguments-test.js:
    (dumpConsoleMessageArgumentCounts):
    * http/tests/inspector/elements-test.js:
    * networkinformation/resources/event-after-navigation-new.html:
    * networkinformation/script-tests/add-listener-from-callback.js:
    (firstListener):
    * networkinformation/script-tests/basic-all-types-of-events.js:
    * networkinformation/script-tests/basic-operation.js:
    * networkinformation/script-tests/multiple-frames.js:
    * networkinformation/script-tests/updates.js:
    (setNetworkInformation):
    * platform/efl-wk2/editing/spelling/spellcheck-paste-continuous-disabled-expected.txt:
    * platform/mac-wk2/tiled-drawing/clamp-out-of-bounds-scrolls.html:
    * platform/mac-wk2/tiled-drawing/fixed/absolute-inside-fixed.html:
    * platform/mac-wk2/tiled-drawing/fixed/absolute-inside-out-of-view-fixed.html:
    * platform/mac-wk2/tiled-drawing/fixed/fixed-in-overflow.html:
    * platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view-negative-zindex.html:
    * platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view.html:
    * platform/mac-wk2/tiled-drawing/fixed/four-bars-with-header-and-footer.html:
    * platform/mac-wk2/tiled-drawing/fixed/four-bars-zoomed.html:
    * platform/mac-wk2/tiled-drawing/fixed/four-bars.html:
    * platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset-in-view.html:
    * platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset.html:
    * platform/mac-wk2/tiled-drawing/fixed/nested-fixed.html:
    * platform/mac-wk2/tiled-drawing/fixed/percentage-inside-fixed.html:
    * platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-in-frame.html:
    * platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-with-page-scale.html:
    * platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing.html:
    * platform/mac-wk2/tiled-drawing/scrolling-tree-after-scroll.html:
    * platform/mac-wk2/tiled-drawing/scrolling-tree-slow-scrolling.html:
    * platform/mac-wk2/tiled-drawing/slow-scrolling-background-toggle.html:
    * platform/mac-wk2/tiled-drawing/slow-scrolling-hidden-background-toggle.html:
    * platform/mac-wk2/tiled-drawing/slow-scrolling.html:
    * platform/mac-wk2/tiled-drawing/sticky/negative-scroll-offset.html:
    * platform/mac-wk2/tiled-drawing/sticky/sticky-horizontal.html:
    * platform/mac-wk2/tiled-drawing/sticky/sticky-vertical.html:
    * platform/mac/editing/spelling/autocorrection-blockquote-crash-expected.txt:
    * platform/mac/editing/spelling/autocorrection-blockquote-crash.html:
    * platform/mac/editing/spelling/delete-into-misspelled-word.html:
    * platform/mac/editing/spelling/editing-multiple-words-with-markers.html:
    * platform/mac/editing/spelling/editing-word-with-marker-1.html:
    * platform/mac/editing/spelling/editing-word-with-marker-2.html:
    * platform/mac/editing/spelling/move-cursor-around-misspelled-word.html:
    * platform/win/editing/spelling/spelling-backspace-between-lines-expected.txt:
    * printing/page-format-data-expected.txt:
    * printing/page-format-data.html:
    * proximity/add-listener-from-callback.html:
    * proximity/basic-operation.html:
    * proximity/multiple-frames.html:
    * proximity/resources/event-after-navigation-new.html:
    * proximity/updates.html:
    * scrollingcoordinator/resources/non-fast-scrollable-region-testing.js:
    (runNonFastScrollableRegionTest):
    * touchadjustment/big-div.html:
    * touchadjustment/event-triggered-widgets.html:
    * touchadjustment/iframe.html:
    * touchadjustment/nested-shadow-node.html:
    * touchadjustment/resources/touchadjustment.js:
    (testTouchPoint):
    (testTouchPointContextMenu):
    (adjustTouchPoint):
    (adjustTouchPointContextMenu):
    * touchadjustment/scroll-delegation/iframe-with-mainframe-scroll-offset.html:
    * touchadjustment/scroll-offset.html:
    * touchadjustment/search-cancel.html:
    * touchadjustment/zoom-basic.html:
    * touchadjustment/zoom-fatfinger.html:
    * transitions/created-while-suspended.html:
    * transitions/started-while-suspended.html:
    * transitions/suspend-transform-transition.html:
    * userscripts/insert-stylesheets.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Sep 8, 2013
  1. Change LayoutTests' m*-p* files to use pre and post js files in Layou…

    mark.lam@apple.com authored
    …tTests/resources.
    
    
    https://bugs.webkit.org/show_bug.cgi?id=120899.
    
    Rubber stamped by Filip Pizlo.
    
    * media/W3C/w3cwrapper.js:
    * media/network-no-source-const-shadow.html:
    * media/nodesFromRect-shadowContent.html:
    * media/track/track-node-add-remove.html:
    * media/video-buffered-too-few-arguments.html:
    * media/video-canvas-source.html:
    * networkinformation/add-listener-from-callback.html:
    * networkinformation/basic-all-types-of-events.html:
    * networkinformation/basic-operation.html:
    * networkinformation/event-after-navigation.html:
    * networkinformation/multiple-frames.html:
    * networkinformation/updates.html:
    * networkinformation/window-property.html:
    * platform/blackberry/editing/text-iterator/findString-markers.html:
    * platform/blackberry/external/search-provider/search-provider-installed.html:
    * platform/gtk/accessibility/aria-listbox-crash.html:
    * platform/gtk/accessibility/aria-options-and-menuitems-crash.html:
    * platform/gtk/accessibility/aria-roles-unignored.html:
    * platform/gtk/accessibility/aria-slider-required-attributes.html:
    * platform/gtk/accessibility/aria-table-hierarchy.html:
    * platform/gtk/accessibility/aria-toggle-button-role.html:
    * platform/gtk/accessibility/button-accessible-name.html:
    * platform/gtk/accessibility/caret-browsing-select-focus.html:
    * platform/gtk/accessibility/caret-browsing-text-focus.html:
    * platform/gtk/accessibility/combo-box-collapsed-selection-changed.html:
    * platform/gtk/accessibility/entry-and-password.html:
    * platform/gtk/accessibility/list-items-always-exposed.html:
    * platform/gtk/accessibility/media-controls-panel-title.html:
    * platform/gtk/accessibility/name-from-label.html:
    * platform/gtk/accessibility/object-attributes.html:
    * platform/gtk/accessibility/object-with-title.html:
    * platform/gtk/accessibility/remapped-aria-crash.html:
    * platform/gtk/accessibility/replaced-objects-in-anonymous-blocks.html:
    * platform/gtk/accessibility/spans-paragraphs-and-divs.html:
    * platform/gtk/accessibility/spans.html:
    * platform/gtk/accessibility/table-hierarchy.html:
    * platform/gtk/accessibility/title-and-alt.html:
    * platform/gtk/accessibility/unknown-roles-not-exposed.html:
    * platform/gtk/editing/pasteboard/middle-click-onpaste.html:
    * platform/gtk/editing/pasteboard/script-tests/TEMPLATE.html:
    * platform/gtk/editing/selection/caret-mode-document-begin-end.html:
    * platform/iphone-simulator/accessibility/accessibility-aria-table-children.html:
    * platform/iphone-simulator/accessibility/accessibility-crash-in-axcontainer.html:
    * platform/iphone-simulator/accessibility/accessibility-hint.html:
    * platform/iphone-simulator/accessibility/aria-label-with-internal-text.html:
    * platform/iphone-simulator/accessibility/aria-pressed-state.html:
    * platform/iphone-simulator/accessibility/centerpoint.html:
    * platform/iphone-simulator/accessibility/dom-focus-fires-on-correct-element.html:
    * platform/iphone-simulator/accessibility/element-paths.html:
    * platform/iphone-simulator/accessibility/file-upload-button.html:
    * platform/iphone-simulator/accessibility/focus-change-notifications.html:
    * platform/iphone-simulator/accessibility/header-elements.html:
    * platform/iphone-simulator/accessibility/identifier.html:
    * platform/iphone-simulator/accessibility/internal-link.html:
    * platform/iphone-simulator/accessibility/landmark-type.html:
    * platform/iphone-simulator/accessibility/link-with-images-text.html:
    * platform/iphone-simulator/accessibility/link-with-only-image.html:
    * platform/iphone-simulator/accessibility/math.html:
    * platform/iphone-simulator/accessibility/mixed-checkboxes.html:
    * platform/iphone-simulator/accessibility/password-value.html:
    * platform/iphone-simulator/accessibility/placeholder-value.html:
    * platform/iphone-simulator/accessibility/popup-button-value-label.html:
    * platform/iphone-simulator/accessibility/progressbar.html:
    * platform/iphone-simulator/accessibility/radio-button.html:
    * platform/iphone-simulator/accessibility/selected-buttons.html:
    * platform/iphone-simulator/accessibility/selected-text.html:
    * platform/iphone-simulator/accessibility/svg-group-element-with-title.html:
    * platform/iphone-simulator/accessibility/svg-path-crash.html:
    * platform/iphone-simulator/accessibility/tab-role.html:
    * platform/iphone-simulator/accessibility/table-cell-for-row-col.html:
    * platform/iphone-simulator/accessibility/table-cell-ranges.html:
    * platform/iphone-simulator/accessibility/tables-lists.html:
    * platform/iphone-simulator/accessibility/text-line-no-ignored-elements.html:
    * platform/iphone-simulator/accessibility/text-marker-list-item.html:
    * platform/iphone-simulator/accessibility/text-marker-validation.html:
    * platform/iphone-simulator/accessibility/text-role.html:
    * platform/iphone-simulator/accessibility/textfield-in-axvalue.html:
    * platform/iphone-simulator/accessibility/url-test.html:
    * platform/mac-wk2/plugins/asychronous-deadlock-with-timer-and-evaluate.html:
    * platform/mac-wk2/plugins/asynchronous-destroy-before-initialization.html:
    * platform/mac-wk2/plugins/contents-scale-factor.html:
    * platform/mac-wk2/plugins/destroy-during-async-npp-new.html:
    * platform/mac-wk2/plugins/npp-setwindow-called-on-scroll.html:
    * platform/mac-wk2/plugins/npruntime/remove-property-from-javascript.html:
    * platform/mac-wk2/plugins/script-object-access-fails-during-slow-initialization.html:
    * platform/mac-wk2/plugins/slow/asynchronous-plugin-initialization-multiple.html:
    * platform/mac-wk2/plugins/slow/asynchronous-plugin-initialization.html:
    * platform/mac-wk2/plugins/slow/resources/asynchronous-plugin-initialization-multiple-finish.html:
    * platform/mac/accessibility/area-with-aria-label.html:
    * platform/mac/accessibility/aria-alerts.html:
    * platform/mac/accessibility/aria-columnrowheaders.html:
    * platform/mac/accessibility/aria-directory.html:
    * platform/mac/accessibility/aria-divs-not-ignored.html:
    * platform/mac/accessibility/aria-drag-drop.html:
    * platform/mac/accessibility/aria-expanded-not-exposed-when-undefined.html:
    * platform/mac/accessibility/aria-expanded-notifications.html:
    * platform/mac/accessibility/aria-expanded-standard-items.html:
    * platform/mac/accessibility/aria-flowto.html:
    * platform/mac/accessibility/aria-grid-with-strange-hierarchy.html:
    * platform/mac/accessibility/aria-grouping-roles.html:
    * platform/mac/accessibility/aria-hidden-changes-for-non-ignored-elements.html:
    * platform/mac/accessibility/aria-image-emits-object-replacement.html:
    * platform/mac/accessibility/aria-label-overrides-visible-text.html:
    * platform/mac/accessibility/aria-listbox-selectedchildren-change.html:
    * platform/mac/accessibility/aria-liveregion-marquee-default.html:
    * platform/mac/accessibility/aria-liveregion-on-image.html:
    * platform/mac/accessibility/aria-liveregions-addedelement.html:
    * platform/mac/accessibility/aria-liveregions-attributes.html:
    * platform/mac/accessibility/aria-liveregions-changedalt.html:
    * platform/mac/accessibility/aria-liveregions-changedtext.html:
    * platform/mac/accessibility/aria-liveregions-notifications-always-sent.html:
    * platform/mac/accessibility/aria-liveregions-notifications.html:
    * platform/mac/accessibility/aria-liveregions-removedelement.html:
    * platform/mac/accessibility/aria-menu-role-descriptions.html:
    * platform/mac/accessibility/aria-menubar.html:
    * platform/mac/accessibility/aria-menuitem-checked-value.html:
    * platform/mac/accessibility/aria-multiline.html:
    * platform/mac/accessibility/aria-multiselectable.html:
    * platform/mac/accessibility/aria-owns.html:
    * platform/mac/accessibility/aria-popup-buttons-on-native-elements.html:
    * platform/mac/accessibility/aria-popup.html:
    * platform/mac/accessibility/aria-radiobutton-text.html:
    * platform/mac/accessibility/aria-radiogroup.html:
    * platform/mac/accessibility/aria-required-popup-button.html:
    * platform/mac/accessibility/aria-setsize-posinset.html:
    * platform/mac/accessibility/aria-slider-value-change.html:
    * platform/mac/accessibility/aria-spinbutton-crash.html:
    * platform/mac/accessibility/aria-table-with-colspan-cells.html:
    * platform/mac/accessibility/aria-toolbar.html:
    * platform/mac/accessibility/aria-tree-activedescendant.html:
    * platform/mac/accessibility/aria-tree-index-of-items.html:
    * platform/mac/accessibility/aria-tree.html:
    * platform/mac/accessibility/aria-treegrid.html:
    * platform/mac/accessibility/aria-valuetext-on-native-slider.html:
    * platform/mac/accessibility/aria-valuetext.html:
    * platform/mac/accessibility/attributed-string-includes-highlighting.html:
    * platform/mac/accessibility/attributed-string-includes-misspelled-with-selection.html:
    * platform/mac/accessibility/button-shouldnot-have-axvalue.html:
    * platform/mac/accessibility/clipped-text-under-element.html:
    * platform/mac/accessibility/combobox-activedescendant-notifications.html:
    * platform/mac/accessibility/combox-box-value.html:
    * platform/mac/accessibility/content-editable-range-properties.html:
    * platform/mac/accessibility/crash-in-element-for-text-marker.html:
    * platform/mac/accessibility/crash-invalid-text-marker-node.html:
    * platform/mac/accessibility/css-content-attribute.html:
    * platform/mac/accessibility/css-speech-speak.html:
    * platform/mac/accessibility/definition-list-term.html:
    * platform/mac/accessibility/div-containing-div-with-aria.html:
    * platform/mac/accessibility/document-title-used-for-description.html:
    * platform/mac/accessibility/editable-webarea-context-menu-point.html:
    * platform/mac/accessibility/element-focus.html:
    * platform/mac/accessibility/element-for-text-marker.html:
    * platform/mac/accessibility/element-is-ignored.html:
    * platform/mac/accessibility/element-level.html:
    * platform/mac/accessibility/element-paths.html:
    * platform/mac/accessibility/estimated-progress.html:
    * platform/mac/accessibility/file-upload-button-subrole.html:
    * platform/mac/accessibility/footer-roledescription.html:
    * platform/mac/accessibility/footer.html:
    * platform/mac/accessibility/form-control-value-settable.html:
    * platform/mac/accessibility/frame-with-title.html:
    * platform/mac/accessibility/header.html:
    * platform/mac/accessibility/heading-clickpoint.html:
    * platform/mac/accessibility/html-section-elements.html:
    * platform/mac/accessibility/html-slider-indicator.html:
    * platform/mac/accessibility/html-with-aria-label.html:
    * platform/mac/accessibility/html5-input-number.html:
    * platform/mac/accessibility/iframe-aria-hidden.html:
    * platform/mac/accessibility/iframe-with-title-correct-hierarchy.html:
    * platform/mac/accessibility/inherited-presentational-lists.html:
    * platform/mac/accessibility/input-title.html:
    * platform/mac/accessibility/internal-link-when-document-has-fragment.html:
    * platform/mac/accessibility/label-element-with-hidden-control.html:
    * platform/mac/accessibility/link-with-title.html:
    * platform/mac/accessibility/list-items-ignored.html:
    * platform/mac/accessibility/listbox-hit-test.html:
    * platform/mac/accessibility/listmarker-suffix.html:
    * platform/mac/accessibility/live-region-on-span.html:
    * platform/mac/accessibility/main-element.html:
    * platform/mac/accessibility/math-alttext.html:
    * platform/mac/accessibility/mathml-elements.html:
    * platform/mac/accessibility/mathml-line-fraction.html:
    * platform/mac/accessibility/mathml-multiscript.html:
    * platform/mac/accessibility/misspelled-attributed-string.html:
    * platform/mac/accessibility/mixed-checkbox.html:
    * platform/mac/accessibility/native-vs-nonnative-checkboxes.html:
    * platform/mac/accessibility/no-unknown-objects-when-title-attribute-present.html:
    * platform/mac/accessibility/option-with-arialabel.html:
    * platform/mac/accessibility/option-with-lang.html:
    * platform/mac/accessibility/parent-of-table-row-is-table.html:
    * platform/mac/accessibility/popup-button-exposes-axvalue.html:
    * platform/mac/accessibility/press-action-is-first.html:
    * platform/mac/accessibility/press-action-not-exposed-when-body-is-click-handler.html:
    * platform/mac/accessibility/progressbar.html:
    * platform/mac/accessibility/range-alter-by-step.html:
    * platform/mac/accessibility/range-for-line-textarea.html:
    * platform/mac/accessibility/range-for-position.html:
    * platform/mac/accessibility/removing-textarea-after-edit-crash.html:
    * platform/mac/accessibility/role-subrole-roledescription.html:
    * platform/mac/accessibility/rowheader-outside-table-role.html:
    * platform/mac/accessibility/scroll-to-visible-action.html:
    * platform/mac/accessibility/scrollbars.html:
    * platform/mac/accessibility/seamless-iframe.html:
    * platform/mac/accessibility/search-field-cancel-button.html:
    * platform/mac/accessibility/search-predicate.html:
    * platform/mac/accessibility/search-subrole.html:
    * platform/mac/accessibility/search-when-element-starts-in-table.html:
    * platform/mac/accessibility/search-with-frames.html:
    * platform/mac/accessibility/select-element-selection-with-optgroups.html:
    * platform/mac/accessibility/selected-rows-table.html:
    * platform/mac/accessibility/selected-tab-crash.html:
    * platform/mac/accessibility/selected-text-range-for-empty-textarea.html:
    * platform/mac/accessibility/selection-value-changes-for-aria-textbox.html:
    * platform/mac/accessibility/slider-allows-title-ui-element.html:
    * platform/mac/accessibility/slider-supports-actions.html:
    * platform/mac/accessibility/spinbutton-valuedescription.html:
    * platform/mac/accessibility/stale-table-rows.html:
    * platform/mac/accessibility/stale-textmarker-crash.html:
    * platform/mac/accessibility/static-text-role-uses-text-under-element.html:
    * platform/mac/accessibility/static-text-with-aria-label.html:
    * platform/mac/accessibility/string-range-contains-listmarker.html:
    * platform/mac/accessibility/submit-button-default-value.html:
    * platform/mac/accessibility/supports-focus-setting.html:
    * platform/mac/accessibility/table-with-row-col-of-headers.html:
    * platform/mac/accessibility/table-with-zebra-rows.html:
    * platform/mac/accessibility/text-marker-length.html:
    * platform/mac/accessibility/textbox-role-reports-line-number.html:
    * platform/mac/accessibility/textbox-role-reports-notifications.html:
    * platform/mac/accessibility/textmarker-for-index-out-of-bounds-crash.html:
    * platform/mac/accessibility/textmarker-routines.html:
    * platform/mac/accessibility/title-attribute-not-used-as-axtitle.html:
    * platform/mac/accessibility/title-attribute-used-as-last-resort.html:
    * platform/mac/accessibility/unexpected-help-text.html:
    * platform/mac/accessibility/unsupported-attribute-does-not-crash.html:
    * platform/mac/accessibility/update-children-when-aria-role-changes.html:
    * platform/mac/accessibility/updating-attribute-in-table-row-crash.html:
    * platform/mac/accessibility/visible-position-crash-for-text-node.html:
    * platform/mac/accessibility/webarea-can-set-focus.html:
    * platform/mac/accessibility/webarea-size-equals-content-size.html:
    * platform/mac/accessibility/webkit-scrollarea-position.html:
    * platform/mac/accessibility/webkit-scrollarea.html:
    * platform/mac/editing/deleting/id-in-deletebutton.html:
    * platform/mac/editing/input/edit-dictated-text-with-alternative.html:
    * platform/mac/editing/input/firstrectforcharacterrange-caret-in-br.html:
    * platform/mac/editing/input/firstrectforcharacterrange-vertical.html:
    * platform/mac/editing/input/insert-dictated-text.html:
    * platform/mac/editing/input/maxlength.html:
    * platform/mac/editing/input/unconfirmed-text-navigation-with-page-cache.html:
    * platform/mac/editing/selection/doubleclick-should-not-expand-across-lines.html:
    * platform/mac/editing/selection/script-tests/TEMPLATE.html:
    * platform/mac/editing/spelling/autocorrection-blockquote-crash.html:
    * platform/mac/editing/spelling/autocorrection-respets-undo.html:
    * platform/mac/editing/spelling/click-autocorrected-word.html:
    * platform/mac/editing/spelling/delete-into-autocorrected-word.html:
    * platform/mac/editing/spelling/forward-delete-into-autocorrected-word.html:
    * platform/mac/editing/spelling/move-cursor-to-autocorrected-word.html:
    * platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word.html:
    * platform/mac/fast/css/dashboard-region-parser.html:
    * platform/mac/fast/dom/objc-wrapper-identity.html:
    * platform/mac/fast/dom/wrapper-classes-objc.html:
    * platform/mac/fast/dom/wrapper-round-tripping.html:
    * platform/mac/fast/encoding/xnextstep-decoding.html:
    * platform/mac/fast/events/non-roman-key-code.html:
    * platform/mac/fast/events/numpad-keycode-mapping.html:
    * platform/mac/fast/forms/focus-option-control-on-page.html:
    * platform/mac/fast/forms/input-appearance-spinbutton-size.html:
    * platform/mac/fast/forms/input-number-click.html:
    * platform/mac/fast/objc/dom-html-select-live-pseudo-selectors.html:
    * platform/mac/fast/objc/script-tests/TEMPLATE.html:
    * platform/mac/fast/objc/webScriptObject-hasWebScriptKey.html:
    * platform/mac/fast/speechsynthesis/speech-synthesis-boundary-events.html:
    * platform/mac/fast/speechsynthesis/speech-synthesis-cancel-crash.html:
    * platform/mac/fast/speechsynthesis/speech-synthesis-cancel.html:
    * platform/mac/fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance.html:
    * platform/mac/fast/speechsynthesis/speech-synthesis-elapsed-time.html:
    * platform/mac/fast/speechsynthesis/speech-synthesis-pause-resume.html:
    * platform/mac/fast/speechsynthesis/speech-synthesis-speak.html:
    * platform/mac/fast/speechsynthesis/speech-synthesis-utterance-uses-voice.html:
    * platform/mac/fast/speechsynthesis/speech-synthesis-voices.html:
    * platform/mac/fast/text/ligature-subdivision.html:
    * platform/mac/fast/text/script-tests/TEMPLATE.html:
    * platform/mac/plugins/bindings-objc-long-method-name.html:
    * platform/mac/plugins/bindings-objc-method-name-conversion.html:
    * platform/qt/fast/spatial-navigation/resources/ensure-scrolls-with-scrollbars-disabled-by-webkit.html:
    * platform/win/accessibility/detached-object-notification-crash.html:
    * platform/win/accessibility/document-enabled-state.html:
    * platform/win/accessibility/heading-elements.html:
    * platform/win/accessibility/img-alt-attribute.html:
    * platform/win/accessibility/linked-elements.html:
    * platform/win/accessibility/list-item-role.html:
    * platform/win/accessibility/list-marker-role.html:
    * platform/win/accessibility/list-role.html:
    * platform/win/accessibility/multiple-select-element-role.html:
    * platform/win/accessibility/option-element-position-and-size.html:
    * platform/win/accessibility/parent-element.html:
    * platform/win/accessibility/select-element-role.html:
    * platform/win/accessibility/selection-and-focus.html:
    * platform/win/accessibility/single-select-children-changed.html:
    * platform/win/accessibility/single-select-children.html:
    * platform/win/accessibility/text-role.html:
    * platform/win/editing/selection/doubleclick-should-not-expand-across-lines.html:
    * platform/win/editing/selection/script-tests/TEMPLATE.html:
    * platform/win/fast/events/context-click-events.html:
    * platform/win/fast/events/panScroll-click-hyperlink.html:
    * platform/win/fast/events/script-tests/TEMPLATE.html:
    * platform/win/fast/forms/file/drag-and-drop-files.html:
    * plugins/destroy-stream-twice.html:
    * plugins/focus.html:
    * plugins/navigator-mimeTypes-length.html:
    * plugins/navigator-plugins.html:
    * plugins/npp-new-fails.html:
    * plugins/npruntime/browser-object-identity.html:
    * plugins/npruntime/evaluate.html:
    * plugins/npruntime/identifier-conversion.html:
    * plugins/npruntime/npruntime.html:
    * plugins/npruntime/object-from-destroyed-plugin-in-subframe.html:
    * plugins/npruntime/object-from-destroyed-plugin.html:
    * plugins/npruntime/plugin-scriptable-object-invoke-default.html:
    * plugins/npruntime/remove-property.html:
    * plugins/npruntime/script-tests/TEMPLATE.html:
    * plugins/npruntime/tostring.html:
    * plugins/npruntime/valueof.html:
    * plugins/private-browsing-mode-2.html:
    * plugins/private-browsing-mode.html:
    * plugins/return-error-from-new-stream-doesnt-invoke-destroy-stream.html:
    * plugins/return-negative-one-from-write.html:
    * printing/allowed-page-breaks.html:
    * printing/no-content-empty-pages.html:
    * printing/numberOfPages.html:
    * printing/page-break-after-avoid.html:
    * printing/page-break-always.html:
    * printing/page-break-avoid.html:
    * printing/page-break-before-avoid.html:
    * printing/page-break-display-none.html:
    * printing/page-break-inside-avoid.html:
    * printing/page-break-margin-collapsed.html:
    * printing/page-break-orphans-and-widows.html:
    * printing/page-break-orphans.html:
    * printing/page-break-widows.html:
    * printing/page-count-percentage-height.html:
    * printing/page-format-data.html:
    * printing/page-rule-selection.html:
    * printing/pageNumerForElementById.html:
    * printing/script-tests/TEMPLATE.html:
    * printing/stretch-to-view-height.html:
    * proximity/add-listener-from-callback.html:
    * proximity/basic-operation.html:
    * proximity/check-event-deviceproximity.html:
    * proximity/create-event-deviceproximity.html:
    * proximity/create-event.html:
    * proximity/event-after-navigation.html:
    * proximity/multiple-frames.html:
    * proximity/no-page-cache.html:
    * proximity/optional-event-properties.html:
    * proximity/updates.html:
    * proximity/window-property.html:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jan 31, 2013
  1. REGRESSION(r128517): Percentage heights in quirks mode collapse when …

    ojan@chromium.org authored
    …printing
    
    
    https://bugs.webkit.org/show_bug.cgi?id=108382
    
    Reviewed by David Hyatt.
    
    Source/WebCore:
    
    r128517 clean up our containing block finding logic, but broke percentage
    heights in quirks mode during printing since the RenderView would have 0 height.
    Turns out we already had a long-standing bug where we'd incorrectly
    treat collapse percentage heights on the body when printing as well.
    
    Fix both bugs by changing the way we grab the logical height on the RenderView.
    RenderView::computeLogicalHeight returns 0 when printing. For the purposes of
    stretching and percentage heights, we instead need to return the pageLogicalHeight.
    
    Tests: printing/quirks-percentage-height-body.html
           printing/quirks-percentage-height.html
           printing/standards-percentage-heights.html
    
    * rendering/RenderBox.cpp:
    (WebCore::RenderBox::computeLogicalHeight):
    This FIXME is outdated and already fixed. Also, call viewLogicalHeightForPercentages
    which does the same logic except also correctly handles column RenderViews.
    (WebCore::RenderBox::viewLogicalHeightForPercentages):
    (WebCore::RenderBox::computePercentageLogicalHeight):
    * rendering/RenderBox.h:
    
    * rendering/RenderBox.cpp:
    (WebCore::RenderBox::computeLogicalHeight):
    (WebCore::RenderBox::viewLogicalHeightForPercentages):
    (WebCore):
    (WebCore::RenderBox::computePercentageLogicalHeight):
    * rendering/RenderBox.h:
    (RenderBox):
    
    LayoutTests:
    
    * platform/chromium/fast/multicol/shrink-to-column-height-for-pagination-expected.txt:
    We're just clipping more content that you can't scroll to anyways. This looks
    like an improvement to me.
    * printing/css2.1/page-break-inside-000-expected.txt:
    We pass this test now!
    * printing/quirks-percentage-height-body-expected.html: Added.
    * printing/quirks-percentage-height-body.html: Added.
    * printing/quirks-percentage-height-expected.html: Added.
    * printing/quirks-percentage-height.html: Added.
    * printing/standards-percentage-heights-expected.html: Added.
    * printing/standards-percentage-heights.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Dec 10, 2012
  1. Support for CSS widows and orphans

    dino@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=9410
    
    Reviewed by Darin Adler.
    
    Source/WebCore:
    
    The CSS 'widow' and 'orphan' properties were supported by the parser and
    style system, but were not actually doing anything in layout. Now they do!
    
    In order to not break existing content, I unfortunately had to go against
    the specification and change our default value from 2 to auto. A value of
    auto means that widows and orphans will not cause any page/column breaks.
    
    Supporting orphans was a small change. During line layout, if we realise
    we need to move to a new page in a situation that would create an orphan,
    move the entire block to the new page. There was already code to do this.
    
    Support for widows was trickier. When we finish laying out a block, count
    the number of hanging lines. If we've created a widow, and there are enough
    available lines on the previous page, then steal some and remember the line
    to break at. Trigger a relayout. Then notice the line that was marked for
    breaking and avoid the widow. This means some blocks go through layout
    twice, but as long as the widow value is small it shouldn't be a huge penalty.
    
    Tests: fast/multicol/widows-and-orphans.html (new test)
           printing/page-break-orphans.html
           printing/page-break-orphans-and-widows.html
           printing/page-break-widows.html
    
    * css/CSSComputedStyleDeclaration.cpp:
    (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Return CSSValueAuto for widows and orphans if necessary.
    * css/CSSParser.cpp:
    (WebCore::CSSParser::parseValue): Support "auto" in widow and orphan property parsing.
    * css/StyleBuilder.cpp:
    (WebCore::StyleBuilder::StyleBuilder): Change property handler to something that supports auto.
    * page/animation/CSSPropertyAnimation.cpp:
    (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add widows and orphans to the animation map.
    * rendering/RenderBlock.cpp:
    (WebCore::RenderBlock::layoutBlockChild): Detect if we've caused a widow-fixing break, and request relayout evaluation.
    (WebCore::RenderBlock::markForPaginationRelayoutIfNeeded): Test for a widow-fixing line.
    (WebCore::RenderBlock::setBreakAtLineToAvoidWidow): New function to remember where we should break on next layout.
    (WebCore::RenderBlock::adjustLinePositionForPagination): Move the entire block to a new page if this would create an orphan.
    * rendering/RenderBlock.h:
    (WebCore::RenderBlock::shouldBreakAtLineToAvoidWidow): New function to indicate if we are remembering a widow.
    (WebCore::RenderBlock::clearShouldBreakAtLineToAvoidWidow): Reset the line breaks.
    (WebCore::RenderBlock::lineBreakToAvoidWidow):
    (WebCore::RenderBlock::RenderBlockRareData::RenderBlockRareData): Add a flag for indicating if we are remembering a line, and the actual line itself.
    * rendering/RenderBlockLineLayout.cpp:
    (WebCore::RenderBlock::layoutRunsAndFloatsInRange): The code to detect and fix widows. Explained above.
    * rendering/style/RenderStyle.h: New methods for indicating if widows and orphans are non-default values.
    * rendering/style/StyleRareInheritedData.cpp: Ditto.
    * rendering/style/StyleRareInheritedData.h: Ditto.
    
    LayoutTests:
    
    A new, slightly more comprehensive, test for widows and orphans. We also
    now pass the existing widows and orphans tests from printing. And
    since the default value of the properties changed, update the
    computed style test as well.
    
    * fast/css/getComputedStyle/computed-style-expected.txt: New auto value.
    * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: New auto value.
    * fast/multicol/widows-and-orphans-expected.txt: Added.
    * fast/multicol/widows-and-orphans.html: Added.
    * printing/page-break-orphans-and-widows-expected.txt:
    * printing/page-break-orphans-expected.txt:
    * printing/page-break-widows-expected.txt:
    * svg/css/getComputedStyle-basic-expected.txt: New auto value.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Sep 5, 2012
  1. [DRT] LTC:: Move printing related APIs from LayoutTestController to I…

    kaustubh@motorola.com authored
    …nternals
    
    
    https://bugs.webkit.org/show_bug.cgi?id=92735
    
    Reviewed by Hajime Morita.
    
    .: 
    
    Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
    Added symbols for GTK builds for corresponding APIs.
    
    * Source/autotools/symbols.filter:
    
    Source/WebCore: 
    
    Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
    
    Covered by existing test cases.
    
    * testing/Internals.cpp:
    (WebCore::Internals::numberOfPages):
    (WebCore):
    (WebCore::Internals::pageProperty):
    (WebCore::Internals::pageSizeAndMarginsInPixels):
    * testing/Internals.h:
    (Internals):
    * testing/Internals.idl:
    
    Source/WebKit/efl: 
    
    Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
    
    * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
    * WebCoreSupport/DumpRenderTreeSupportEfl.h:
    
    Source/WebKit/gtk: 
    
    Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
    
    * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
    * WebCoreSupport/DumpRenderTreeSupportGtk.h:
    (DumpRenderTreeSupportGtk):
    
    Source/WebKit/qt: 
    
    Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
    
    * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
    (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
    * WebCoreSupport/DumpRenderTreeSupportQt.h:
    
    Source/WebKit/win: 
    
    Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
    Kept the function defination and declaration to keep binary compatibility for IWebFramePrivate.idl
    
    * WebFrame.cpp:
    (WebFrame::numberOfPages):
    
    Source/WebKit2: 
    
    Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
    Add symbols for Mac Win builds for corresponding newly added APIs.
    
    * win/WebKit2.def:
    * win/WebKit2CFLite.def:
    
    Tools: 
    
    Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
    
    * DumpRenderTree/TestRunner.cpp:
    (TestRunner::staticFunctions):
    * DumpRenderTree/TestRunner.h:
    (TestRunner):
    * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
    (TestRunner::addUserStyleSheet):
    * DumpRenderTree/chromium/DRTTestRunner.cpp:
    (DRTTestRunner::DRTTestRunner):
    (DRTTestRunner::hasCustomPageSizeStyle):
    * DumpRenderTree/chromium/DRTTestRunner.h:
    (DRTTestRunner):
    * DumpRenderTree/efl/TestRunnerEfl.cpp:
    * DumpRenderTree/gtk/TestRunnerGtk.cpp:
    * DumpRenderTree/mac/TestRunnerMac.mm:
    * DumpRenderTree/qt/TestRunnerQt.cpp:
    (TestRunner::evaluateScriptInIsolatedWorld):
    * DumpRenderTree/qt/TestRunnerQt.h:
    (TestRunner):
    * DumpRenderTree/win/TestRunnerWin.cpp:
    * DumpRenderTree/wx/TestRunnerWx.cpp:
    (TestRunner::abortModal):
    * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
    * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
    (WTR):
    * WebKitTestRunner/InjectedBundle/TestRunner.h:
    (TestRunner):
    
    LayoutTests: 
    
    Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
    Fixed test cases to use internals API instead of testRunner.
    
    * printing/numberOfPages-expected.txt:
    * printing/page-count-layout-overflow.html:
    * printing/page-count-relayout-shrink.html:
    * printing/page-count-with-one-word.html:
    * printing/page-format-data-display-none.html:
    * printing/page-format-data-expected.txt:
    * printing/page-format-data.html:
    * printing/page-rule-selection-expected.txt:
    * printing/page-rule-selection.html:
    * printing/resources/paged-media-test-utils.js:
    (numberOfPagesShouldBe):
    * printing/script-tests/numberOfPages.js:
    * printing/zoomed-document.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jul 26, 2012
  1. .: [DRT] LTC:: pageNumberForElementById() could be moved to Internals.

    kaustubh@motorola.com authored
    https://bugs.webkit.org/show_bug.cgi?id=92091
    
    Reviewed by Adam Barth.
    
    Exporting Internals::pageNumber symbols for the Gtk build.
    
    * Source/autotools/symbols.filter:
    
    Source/WebCore: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
    https://bugs.webkit.org/show_bug.cgi?id=92091
    
    Reviewed by Adam Barth.
    
    Move the pageNumberForElementById from LayoutTestCotroller to Internals and
    remove the old platform specific implementations as it exclusively tests WebCore functionality.
    
    Covered by existing test cases.
    
    * testing/Internals.cpp:
    (WebCore::Internals::counterValue):
    (WebCore):
    (WebCore::Internals::pageNumber):
    * testing/Internals.h:
    (Internals):
    (WebCore::Internals::pageNumber):
    * testing/Internals.idl:
    
    Source/WebKit/efl: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
    https://bugs.webkit.org/show_bug.cgi?id=92091
    
    Reviewed by Adam Barth.
    
    Move the pageNumberForElementById from LayoutTestCotroller to Internals and
    remove the old platform specific implementations as it exclusively tests WebCore functionality.
    
    * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
    
    Source/WebKit/gtk: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
    https://bugs.webkit.org/show_bug.cgi?id=92091
    
    Reviewed by Adam Barth.
    
    Move the pageNumberForElementById from LayoutTestCotroller to Internals and
    remove the old platform specific implementations as it exclusively tests WebCore functionality.
    
    * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
    * WebCoreSupport/DumpRenderTreeSupportGtk.h:
    (DumpRenderTreeSupportGtk):
    
    Source/WebKit/qt: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
    https://bugs.webkit.org/show_bug.cgi?id=92091
    
    Reviewed by Adam Barth.
    
    Move the pageNumberForElementById from LayoutTestCotroller to Internals and
    remove the old platform specific implementations as it exclusively tests WebCore functionality.
    
    * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
    * WebCoreSupport/DumpRenderTreeSupportQt.h:
    
    Source/WebKit/win: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
    https://bugs.webkit.org/show_bug.cgi?id=92091
    
    Reviewed by Adam Barth.
    
    Moved the pageNumberForElementById from LayoutTestCotroller to Internals and
    remove the old platform specific implementations as it exclusively tests WebCore functionality.
    
    * WebFrame.cpp: Added comment for removing the function. Removed implementation.
    
    Tools: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
    https://bugs.webkit.org/show_bug.cgi?id=92091
    
    Reviewed by Adam Barth.
    
    Move the pageNumberForElementById from LayoutTestCotroller to Internals and
    remove the old platform specific implementations as it exclusively tests WebCore functionality.
    
    * DumpRenderTree/LayoutTestController.cpp:
    (LayoutTestController::staticFunctions):
    * DumpRenderTree/LayoutTestController.h:
    (LayoutTestController):
    * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
    * DumpRenderTree/chromium/LayoutTestController.cpp:
    (LayoutTestController::LayoutTestController):
    (LayoutTestController::setPrinting):
    * DumpRenderTree/chromium/LayoutTestController.h:
    (LayoutTestController):
    * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
    * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
    * DumpRenderTree/mac/LayoutTestControllerMac.mm:
    * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
    * DumpRenderTree/qt/LayoutTestControllerQt.h:
    (LayoutTestController):
    * DumpRenderTree/win/LayoutTestControllerWin.cpp:
    * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
    * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
    * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
    (WTR):
    * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
    (LayoutTestController):
    
    LayoutTests: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
    https://bugs.webkit.org/show_bug.cgi?id=92091
    
    Reviewed by Adam Barth.
    
    Move the pageNumberForElementById from LayoutTestCotroller to Internals and
    remove the old platform specific implementations as it exclusively tests WebCore functionality.
    
    * printing/pageNumerForElementById-expected.txt:
    * printing/resources/paged-media-test-utils.js:
    (pageNumberForElementShouldBe):
    * printing/return-from-printing-mode.html:
    * printing/script-tests/pageNumerForElementById.js:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jun 15, 2012
  1. Use testRunner instead of layoutTestController in networkinformation,…

    rniwa@webkit.org authored
    … perf, plugins, pointer-lock, printing, scrollbars, and security tests
    
    
    https://bugs.webkit.org/show_bug.cgi?id=89181
    
    Reviewed by Kent Tamura.
    
    * perf/clone-with-focus.html:
    * perf/nested-combined-selectors.html:
    * perf/table-rows-length-caching.html:
    * platform/chromium/plugins/call-as-function.html:
    * platform/chromium/plugins/get-url-with-blank-target2.html:
    * platform/chromium/plugins/get-url-with-iframe-target-no-crash.html:
    * platform/chromium/printing/custom-page-size-style-expected.txt:
    * platform/chromium/printing/custom-page-size-style.html:
    * platform/gtk/plugins/invalidate-rect-with-null-npp-argument.html:
    * platform/gtk/scrollbars/overflow-scrollbar-horizontal-wheel-scroll.html:
    * platform/mac-wk2/plugins/contents-scale-factor.html:
    * platform/mac-wk2/plugins/mouse-events-scaled.html:
    * platform/mac/plugins/bindings-array-apply-crash.html:
    * platform/mac/plugins/bindings-objc-long-method-name.html:
    * platform/mac/plugins/bindings-objc-method-name-conversion.html:
    * platform/mac/plugins/bindings-test-objc.html:
    * platform/mac/plugins/call-as-function-test.html:
    * platform/mac/plugins/convert-point.html:
    * platform/mac/plugins/disable-plugins.html:
    * platform/mac/plugins/jsobjc-dom-wrappers.html:
    * platform/mac/plugins/jsobjc-simple.html:
    * platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html-disabled:
    * platform/mac/plugins/root-object-premature-delete-crash.html:
    * platform/mac/plugins/supports-carbon-event-model.html:
    * platform/mac/plugins/testplugin-onnew-onpaint.html:
    * platform/mac/plugins/throw-on-dealloc.html:
    * platform/mac/plugins/undefined-property-crash.html:
    * platform/mac/plugins/update-widget-from-style-recalc.html:
    * platform/mac/plugins/webScriptObject-exception-deadlock.html:
    * platform/mac/scrollbars/key-window-not-first-responder.html:
    * platform/qt/plugins/application-plugin-plugins-disabled.html:
    * platform/win/plugins/call-javascript-that-destroys-plugin.html:
    * platform/win/plugins/get-value-netscape-window.html:
    * platform/win/plugins/iframe-inside-overflow.html:
    * platform/win/plugins/npn-invalidate-rect-invalidates-window.html:
    * platform/win/plugins/visibility-hidden.html:
    * platform/win/plugins/window-geometry-initialized-before-set-window.html:
    * platform/win/plugins/window-region-is-set-to-clip-rect.html:
    * platform/win/plugins/windowless-paint-rect-coordinates.html:
    * plugins/:
    * pointer-lock/lock-fail-responses-expected.txt:
    * pointer-lock/lock-fail-responses.html:
    * pointer-lock/pointer-lock-api.html:
    * pointer-lock/pointerlockchange-pointerlockerror-events-expected.txt:
    * pointer-lock/pointerlockchange-pointerlockerror-events.html:
    * pointer-lock/pointerlocklost-event-expected.txt:
    * pointer-lock/pointerlocklost-event.html:
    * printing/compositing-layer-printing.html:
    * printing/css2.1/README.txt:
    * printing/css2.1/page-break-after-000.html:
    * printing/css2.1/page-break-after-001.html:
    * printing/css2.1/page-break-after-002.html:
    * printing/css2.1/page-break-after-003.html:
    * printing/css2.1/page-break-after-004.html:
    * printing/css2.1/page-break-before-000.html:
    * printing/css2.1/page-break-before-001.html:
    * printing/css2.1/page-break-before-002.html:
    * printing/css2.1/page-break-inside-000.html:
    * printing/iframe-print.html:
    * printing/media-queries-print.html:
    * printing/numberOfPages-expected.txt:
    * printing/page-count-layout-overflow.html:
    * printing/page-count-relayout-shrink.html:
    * printing/page-count-with-one-word.html:
    * printing/page-format-data-display-none.html:
    * printing/page-format-data-expected.txt:
    * printing/page-format-data.html:
    * printing/page-rule-css-text.html:
    * printing/page-rule-in-media-query.html:
    * printing/page-rule-selection-expected.txt:
    * printing/page-rule-selection.html:
    * printing/pageNumerForElementById-expected.txt:
    * printing/print-close-crash.html:
    * printing/pseudo-class-outside-page.html:
    * printing/resources/paged-media-test-utils.js:
    (pageNumberForElementShouldBe):
    (numberOfPagesShouldBe):
    (runPrintingTest):
    * printing/return-from-printing-mode.html:
    * printing/script-tests/numberOfPages.js:
    * printing/script-tests/pageNumerForElementById.js:
    * printing/setPrinting.html:
    * printing/simultaneous-position-float-change.html:
    * printing/single-line-must-not-be-split-into-two-pages.html:
    * printing/width-overflow.html:
    * printing/zoomed-document.html:
    * scrollbars/hidden-iframe-scrollbar-crash.html:
    * scrollbars/hidden-iframe-scrollbar-crash2.html:
    * scrollbars/hidden-scrollbar-prevents-layout.html:
    * scrollbars/overflow-custom-scrollbar-crash.html:
    * scrollbars/resources/hidden-iframe-scrollbar-crash2.html:
    * scrollbars/scroll-rtl-or-bt-layer.html:
    * scrollbars/scrollable-iframe-remove-crash.html:
    * scrollbars/scrollbar-click-does-not-blur-content.html:
    * scrollbars/scrollbar-crash-on-refresh.html:
    * scrollbars/scrollbar-drag-thumb-with-large-content.html:
    * scrollbars/scrollbar-gradient-crash.html:
    * scrollbars/scrollbar-iframe-click-does-not-blur-content.html:
    * scrollbars/scrollbar-initial-position.html:
    * scrollbars/scrollbar-middleclick-nopaste.html:
    * scrollbars/scrollbar-miss-mousemove-disabled.html:
    * scrollbars/scrollbar-miss-mousemove.html:
    * scrollbars/scrollbar-owning-renderer-crash.html:
    * scrollbars/scrollbar-part-created-with-no-parent-crash.html:
    * scrollbars/scrollbar-percent-padding-crash.html:
    * scrollbars/scrollbar-scrollbarparts-repaint-crash.html:
    * scrollbars/scrollevent-iframe-no-scrolling-wheel.html:
    * scrollbars/scrollevent-iframe-no-scrolling.html:
    * security/autocomplete-cleared-on-back.html:
    * security/block-test-no-port.html:
    * security/block-test.html:
    * security/set-form-autocomplete-attribute.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on May 22, 2012
  1. Source/WebCore: Fix iframe printing.

    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=85118
    
    Patch by Vitaly Buka <vitalybuka@chromium.org> on 2012-05-22
    Reviewed by Darin Adler, Eric Seidel.
    
    Patch fixed two issues by disabling special handling of subframes for printing.
    1. Regression. Division by zero when forceLayoutForPagination called for subframes
    and page sizes set to zero.
    2. Old issue. RendererView adjusted layout of subframes for printing and set invalid
    dimensions. Sometimes it caused missing iframe when printed.
    
    Test: printing/iframe-print.html
    
    * page/Frame.cpp:
    (WebCore::Frame::setPrinting): Calls forceLayoutForPagination for root frames only.
    (WebCore::Frame::resizePageRectsKeepingRatio): Added ASSERTs to catch division by zero.
    * rendering/RenderView.cpp: Replaced printing() with shouldUsePrintingLayout() for most calls.
    (WebCore::RenderView::computeLogicalHeight):
    (WebCore::RenderView::computeLogicalWidth):
    (WebCore::RenderView::layout):
    (WebCore::RenderView::shouldUsePrintingLayout): Returns true only if printing enabled and it's a root frame.
    (WebCore::RenderView::viewRect):
    (WebCore::RenderView::viewHeight):
    (WebCore::RenderView::viewWidth):
    * rendering/RenderView.h:
    
    LayoutTests: LayoutTest for iframe printing.
    https://bugs.webkit.org/show_bug.cgi?id=85118
    
    Patch by Vitaly Buka <vitalybuka@chromium.org> on 2012-05-22
    Reviewed by Darin Adler, Eric Seidel.
    
    * printing/iframe-print-expected.txt: Added.
    * printing/iframe-print.html: Added.
    * printing/resources/iframe-subframe-vertical-rl.html: Added.
    * printing/resources/iframe-subframe.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on May 6, 2012
  1. Convert isPageBoxVisible to use Internals interface.

    gyuyoung.kim@samsung.com authored
    https://bugs.webkit.org/show_bug.cgi?id=85692
    
    Reviewed by Darin Adler.
    
    .:
    
    * Source/autotools/symbols.filter: Add isPageBoxVisible symbol filter.
    
    Source/WebCore:
    
    Add isPageBoxVisible functions, because it is able to work in the
    cross-port way through the Internals interface.
    
    No new tests, since we are improving here the infra-structure for testing
    a specific method.
    
    * testing/Internals.cpp:
    (WebCore):
    (WebCore::Internals::isPageBoxVisible):
    * testing/Internals.h:
    (Internals):
    * testing/Internals.idl:
    
    Source/WebKit/efl:
    
    Remove isPageBoxVisible functions, because it is able to work in the
    cross-port way through the Internals interface.
    
    * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
    * WebCoreSupport/DumpRenderTreeSupportEfl.h:
    
    Source/WebKit/gtk:
    
    Remove isPageBoxVisible functions, because it is able to work in the
    cross-port way through the Internals interface.
    
    * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
    * WebCoreSupport/DumpRenderTreeSupportGtk.h:
    (DumpRenderTreeSupportGtk):
    
    Source/WebKit/qt:
    
    Remove isPageBoxVisible functions, because it is able to work in the
    cross-port way through the Internals interface.
    
    * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
    * WebCoreSupport/DumpRenderTreeSupportQt.h:
    
    Source/WebKit2:
    
    * win/WebKit2.def: Add isPageBoxVisible symbol filter.
    
    Tools:
    
    Remove isPageBoxVisible functions, because it is able to work in the
    cross-port way through the Internals interface.
    
    * DumpRenderTree/LayoutTestController.cpp:
    (LayoutTestController::staticFunctions):
    * DumpRenderTree/LayoutTestController.h:
    (LayoutTestController):
    * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
    * DumpRenderTree/chromium/LayoutTestController.cpp:
    (LayoutTestController::LayoutTestController):
    * DumpRenderTree/chromium/LayoutTestController.h:
    (LayoutTestController):
    * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
    * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
    * DumpRenderTree/mac/LayoutTestControllerMac.mm:
    * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
    * DumpRenderTree/qt/LayoutTestControllerQt.h:
    (LayoutTestController):
    * DumpRenderTree/win/LayoutTestControllerWin.cpp:
    * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
    
    LayoutTests:
    
    Call isPageBoxVisible functions from internals, because it is able to work in the
    cross-port way through the Internals interface.
    
    * printing/page-format-data-expected.txt:
    * printing/page-format-data.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Apr 25, 2012
  1. REGRESSION(r112177): listStyleType CSS property gets converted into l…

    rniwa@webkit.org authored
    …istStyle
    
    
    https://bugs.webkit.org/show_bug.cgi?id=83026
    
    Reviewed by Darin Adler.
    
    Source/WebCore: 
    
    Fixed the bug by not using shorthand notations when some values are missing.
    
    However, we still want to return a value when shorthand border property is explicitly
    requested so extract borderPropertyValue with a flag to support both behaviors.
    
    * css/StylePropertySet.cpp:
    (WebCore::borderPropertyValue): Extracted from getPropertyValue.
    (WebCore::StylePropertySet::getPropertyValue):
    (WebCore::StylePropertySet::get4Values): Don't return values when priority don't match.
    (WebCore::StylePropertySet::getShorthandValue):
    (WebCore::StylePropertySet::getCommonValue): Don't return null string for initial values
    to disambiguate missing values and "initial" in getPropertyValue. Also check propriety.
    (WebCore::StylePropertySet::asText): Support emitting border-width, border-style, and
    border-color when border doesn't work but the former properties do.
    
    LayoutTests: 
    
    Added test cases to cssText-shorthand.html and rebaselined some tests.
    
    * fast/css/cssText-shorthand-expected.txt:
    * fast/css/cssText-shorthand.html: Added more test cases.
    * fast/css/remove-shorthand-expected.txt: Correctly adds both border-width and border-style
    when border-color is missing.
    * printing/page-rule-css-text-expected.txt: Correctly uses border-width instead of border.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Mar 26, 2012
  1. cssText should use shorthand notations

    rniwa@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=81737
    
    Reviewed by Enrica Casucci.
    
    Source/JavaScriptCore: 
    
    Export symbols of BitVector on Windows.
    
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    
    Source/WebCore: 
    
    Use shorthand properties to serialize style properties for cssText.
    
    The overall algorithm is to look for any property that has a shorthand, and then check if
    the shorthand value could be obtained (the condition is quite complicated for border properties).
    If it could, then append that value to the string builder, and set the corresponding entries in
    shorthandPropertyAppeared and shorthandPropertyUsed. If not, only turn on the bit in
    shorthandPropertyAppeared on to avoid calling getPropertyValue again for longhand properties
    that use the same shorthand property when we cannot use the shorthand.
    
    Test: fast/css/cssText-shorthand.html
    
    * css/StylePropertySet.cpp:
    (WebCore::StylePropertySet::asText):
    
    Source/WTF: 
    
    * wtf/BitVector.h:
    (BitVector):
    (WTF::BitVector::ensureSizeAndSet): Added.
    
    LayoutTests: 
    
    Rebaseline existing tests and add a regression test for unprefixed CSS properties with
    the exception of -webkit-border-horizontal/vertical-spacing (the shorthand version of
    these properties (border-spacing) is unprefixed.
    
    * editing/pasteboard/paste-and-sanitize-expected.txt: Uses border instead of longhand
    properties as desired.
    * editing/pasteboard/paste-and-sanitize.html:
    * editing/style/non-inheritable-styles-expected.txt: Ditto.
    * fast/css/background-position-serialize-expected.txt: No longer emits "background-*:
    initial" as desired.
    * fast/css/cssText-shorthand-expected.txt: Added.
    * fast/css/cssText-shorthand.html: Added.
    * fast/css/remove-shorthand-expected.txt:
    * fast/css/remove-shorthand.html: Modified to do elaborative comparison of the lists of
    properties before and after removing a shorthand since now removing a shorthand property
    may end up adding new longhand property.
    * fast/css/uri-token-parsing-expected.txt:
    * fast/css/uri-token-parsing.html: Uses shorthand properties instead of longhand equivalents.
    * inspector/styles/styles-update-from-js-expected.txt: Ditto.
    * printing/page-rule-css-text-expected.txt: Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Feb 28, 2012
  1. Fix printing/zoomed-document.html for QT

    eae@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=79808
    
    Reviewed by Adam Barth.
    
    Fix zoomed document test case to work on QT port and remove it from skip
    list.
    
    * platform/qt/Skipped:
    * printing/zoomed-document.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  2. Printed font-size should not be dependant on zoom level

    eae@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=79717
    
    Reviewed by Adam Barth.
    
    Ignore full page zoom level when printing a document.
    
    Source/WebCore:
    
    Test: printing/zoomed-document.html
    
    * css/CSSStyleSelector.cpp:
    (WebCore::CSSStyleSelector::collectMatchingRulesForList):
    
    LayoutTests:
    
    * printing/zoomed-document-expected.txt: Added.
    * printing/zoomed-document.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Feb 22, 2012
  1. REGRESSION (r62632): page-break-inside: avoid is ignored

    mitz@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=79262
    
    Reviewed by Adele Peterson.
    
    Source/WebCore: 
    
    This was disabled in r62632 because of <http://webkit.org/b/41532>. Changes to the
    pagination code since then have invalidated that bug, so enabling the feature again does not
    re-introduce the bug.
    
    Updated expected results for printing/page-break-inside-avoid.html.
    
    * rendering/RenderBlock.cpp:
    (WebCore::RenderBlock::adjustForUnsplittableChild):
    
    LayoutTests: 
    
    * printing/page-break-inside-avoid-expected.txt:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Dec 8, 2011
  1. REGRESSION (r95249): Right side can be truncated when printing

    haraken@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=73868
    
    Reviewed by Darin Adler.
    
    Source/WebCore:
    
    When we print a page with an overflowed width, the right side of the page
    can be truncated. This is due to a wrong rendering calculation.
    Since 'maximumShrinkFactor' is a ratio based on 'pageSize',
    'maximumShrinkFactor' should multiply (not 'originalPageSize') but 'pageSize'.
    This bug happens if all the following conditions are met:
        - pageLogicalWidth < docLogicalWidth
        - originalPageSize.width * maximumShrinkFactor < docLogicalWidth
        - docLogicalWidth < pageLogicalWidth * maximumShrinkFactor
    
    Test: printing/width-overflow.html
    
    * page/FrameView.cpp:
    (WebCore::FrameView::forceLayoutForPagination):
    
    LayoutTests:
    
    width-overflow.html checks if the page is printed without its right side
    being truncated.
    
    * printing/width-overflow.html: Added.
    * platform/chromium-linux/printing/width-overflow-expected.png: Added.
    * platform/chromium-linux/printing/width-overflow-expected.txt: Added.
    * platform/mac-snowleopard/printing/width-overflow-expected.png: Added.
    * platform/mac-snowleopard/printing/width-overflow-expected.txt: Added.
    * platform/efl/Skipped: Skips width-overflow.html, since layoutTestController.setPrinting() is not implemented.
    * platform/gtk/Skipped: Ditto.
    * platform/qt/Skipped: Ditto.
    * platform/win/Skipped: Ditto.
    * platform/wincairo/Skipped: Ditto.
    * platform/wk2/Skipped: Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Nov 9, 2011
  1. Use dumpAsText() to avoid an image result being generated

    haraken@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=71386
    
    Reviewed by Tony Chang.
    
    single-line-must-not-be-split-into-two-pages.html had been producing
    a huge image result. What we need is a way by which we can generate a
    DumpRenderTree result but do not generate an image even if
    --pixel-test option is specified for ./Tools/Scripts/new-run-webkit-tests.
    This patch realizes it using dumpAsText() and
    window.internals.elementRenderTreeAsText.
    
    * printing/single-line-must-not-be-split-into-two-pages.html: Used dumpAsText() and window.internals.elementRenderTreeAsText.
    * platform/chromium-cg-mac-leopard/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
    * platform/chromium-cg-mac-snowleopard/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
    * platform/chromium-linux/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
    * platform/chromium-mac-leopard/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
    * platform/chromium-mac-snowleopard/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
    * platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.png: Removed.
    * platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Updated a test result.
    * platform/mac/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Nov 4, 2011
  1. JS Test Harness: Remove successfullyParsed from more tests

    arv@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=71533
    
    Reviewed by Ojan Vafai.
    
    * LayoutTests/*: Remove successfullyParsed
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Nov 3, 2011
  1. JS Test Harness: Remove more link tags

    arv@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=71339
    
    Reviewed by Ojan Vafai.
    
    Tools:
    
    * Scripts/make-new-script-test:
    (writeTestFile): Don't output <link>
    
    LayoutTests:
    
    * LayoutTest/*: Remove links to js-test-style.css.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Oct 27, 2011
  1. [Chromium] Need setPrinting

    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=46152
    
    Patch by Stephen Chenney <schenney@chromium.org> on 2011-10-27
    Reviewed by Hajime Morita.
    
    Source/WebKit/chromium:
    
    * public/WebFrame.h: Added pure virtual prototype for printPagesWithBoundaries. Added enum
    and changed parameters for renderTreeAsText.
    * src/WebFrameImpl.cpp:
    (WebKit::ChromePrintContext::spoolAllPagesWithBoundaries): Added this method, based on
    the static in PrintContext. This uses Chromium specific page spooling and transforms.
    (WebKit::WebFrameImpl::renderTreeAsText): Updated to allow text dump in printed format.
    (WebKit::WebFrameImpl::printPagesWithBoundaries): Added method for testing printing page
    breaks.
    * src/WebFrameImpl.h: Added prototype.
    
    Tools:
    
    * DumpRenderTree/chromium/LayoutTestController.cpp:
    (LayoutTestController::LayoutTestController): Added logic for handling setPrinting.
    (LayoutTestController::reset): Clearing flags for setPrinting.
    (LayoutTestController::setPrinting): Set flags for setPrinting.
    * DumpRenderTree/chromium/LayoutTestController.h:
    (LayoutTestController::setIsPrinting): Added the setPrinting methods and flags.
    (LayoutTestController::isPrinting): Method to return the setPrinting status.
    * DumpRenderTree/chromium/TestShell.cpp:
    (dumpFramesAsPrintedText): A method for creating a text dump in printed layout.
    (TestShell::dump): Modified to dump setPrinting-specific output.
    * DumpRenderTree/chromium/WebViewHost.cpp:
    (WebViewHost::paintPagesWithBoundaries): Handling for pixel tests when setPrinting is
    active.
    * DumpRenderTree/chromium/WebViewHost.h: Prototype for paintPagesWithBoundaries.
    
    LayoutTests:
    
    * platform/chromium/test_expectations.txt: Removing setPrinting tests from the expected failures.
    * platform/chromium-linux/printing/setPrinting-expected.png: Added.
    * platform/chromium-linux/printing/setPrinting-expected.txt: Added.
    * platform/chromium-linux/printing/single-line-must-not-be-split-into-two-pages-expected.png: Added.
    * platform/chromium-linux/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Added.
    * platform/chromium-mac/printing/setPrinting-expected.png: Added.
    * platform/chromium-mac/printing/setPrinting-expected.txt: Added.
    * platform/chromium-mac/printing/single-line-must-not-be-split-into-two-pages-expected.png: Added.
    * platform/chromium-mac/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Added.
    * platform/chromium-win/printing/setPrinting-expected.png: Added.
    * platform/chromium-win/printing/setPrinting-expected.txt: Added.
    * platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.png: Added.
    * platform/chromium-win/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Added.
    * platform/mac/printing/setPrinting-expected.png: Rebaselined for the change to the test html.
    * platform/mac/printing/setPrinting-expected.txt: Rebaselined for the change to the test html.
    * printing/setPrinting.html: Modified the test to make the box have a colored border
      instead of the solid background, as the solid background does not print on chromium.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Sep 16, 2011
  1. A single line must not be split into two pages.

    haraken@google.com authored
    https://bugs.webkit.org/show_bug.cgi?id=65005
    
    Reviewed by David Hyatt.
    
    When the document width of a page is overflowed, the last line of the page can be
    split into the next page. This is the regression caused by r88737. r88737 tried to
    fix rounding errors in rendering calculations by expanding and shrinking a page
    using one common method, resizePageRectsKeepingRatio(), but overlooked the case where
    a document width gets overflowed.
    
    Source/WebCore:
    
    This patch fixes the problem by also using resizePageRectsKeepingRatio() for the case
    where the document width gets overflowed.
    
    Test: printing/single-line-must-not-be-split-into-two-pages.html
    
    * WebCore.exp.in: Updated the signature of forceLayoutForPagination().
    * page/Frame.cpp:
    (WebCore::Frame::setPrinting): Added a new argument |originalPageSize|, which is an original page size before being expanded or shrunk.
    * page/Frame.h:
    * page/FrameView.cpp:
    (WebCore::FrameView::forceLayoutForPagination): Uses resizePageRectsKeepingRatio() in the case where the document width gets overflowed.
    * page/FrameView.h:
    * page/PrintContext.cpp:
    (WebCore::PrintContext::begin): Passes an original page size to setPrinting().
    (WebCore::PrintContext::end): Ditto.
    
    Source/WebKit/mac:
    
    Test: printing/single-line-must-not-be-split-into-two-pages.html
    
    * WebView/WebHTMLView.mm:
    (-[WebHTMLView _web_setPrintingModeRecursive]): Passes an original page size to setPrinting().
    (-[WebHTMLView _web_clearPrintingModeRecursive]): Ditto.
    (-[WebHTMLView _web_setPrintingModeRecursiveAndAdjustViewSize]): Ditto.
    (-[WebHTMLView _beginPrintModeWithMinimumPageWidth:height:maximumPageWidth:]): Ditto.
    (-[WebHTMLView _beginPrintModeWithPageWidth:height:shrinkToFit:]): Ditto.
    (-[WebHTMLView _endPrintMode]): Ditto.
    (-[WebHTMLView _beginScreenPaginationModeWithPageSize:shrinkToFit:]): Ditto.
    (-[WebHTMLView _endScreenPaginationMode]): Ditto.
    (-[WebHTMLView layoutToMinimumPageWidth:height:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustingViewSize:]): Ditto.
    (-[WebHTMLView layout]): Ditto.
    (-[WebHTMLView _setPrinting:minimumPageLogicalWidth:logicalHeight:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustViewSize:paginateScreenContent:]): Ditto.
    (-[WebHTMLView adjustPageHeightNew:top:bottom:limit:]): Ditto.
    (-[WebHTMLView setPageWidthForPrinting:]): Ditto.
    
    Source/WebKit/win:
    
    Test: printing/single-line-must-not-be-split-into-two-pages.html
    
    * WebFrame.cpp:
    (WebFrame::setPrinting): Passes an original page size to setPrinting().
    (WebFrame::setInPrintingMode): Ditto.
    * WebFrame.h:
    
    LayoutTests:
    
    The added test checks if the last line does not split across pages.
    
    * platform/chromium/test_expectations.txt: Skipped the added test since setPrinting() is not yet implemented.
    * platform/gtk/Skipped: Ditto.
    * platform/mac/printing/single-line-must-not-be-split-into-two-pages-expected.txt: Added.
    * platform/qt/Skipped: Ditto.
    * platform/win/Skipped: Ditto.
    * platform/wk2/Skipped: Ditto.
    * printing/single-line-must-not-be-split-into-two-pages.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jun 14, 2011
  1. 2011-06-13 Kentaro Hara <haraken@google.com>

    dominicc@chromium.org authored
            Reviewed by Alexey Proskuryakov.
    
            Add a new test for checking rounding error in printing codes
            https://bugs.webkit.org/show_bug.cgi?id=61256
    
            Add a new test (printing/page-count-with-one-word.html). This test
            checks if only one page is printed for an HTML page with one word for
            various paper sizes around A4 portrait size, i.e. [530px, 560px) for
            width and [730px, 760px) for height.
    
            * printing/page-count-with-one-word-expected.txt: Added.
            * printing/page-count-with-one-word.html: Added.
    2011-06-13  Kentaro Hara  <haraken@google.com>
    
            Reviewed by Alexey Proskuryakov.
    
            Add resizePageRectsKeepingRatio(), which expands/shrinks a page, keeping the ratio of the original page
            https://bugs.webkit.org/show_bug.cgi?id=61256
    
            In order to prevent rounding error caused by expanding/shrinking a page
            using different calculation here and there, I added a common calculation
            method, resizePageRectsKeepingRatio(), which expands/shrinks a page,
            keeping the ratio of width and height of the original page.
            PrintContext::computePageRects() and PrintContext::begin()
            use resizePageRectsKeepingRatio() to expand/shrink a page.
    
            Test: printing/page-count-with-one-word.html
    
            * WebCore.exp.in:
            * page/Frame.cpp:
            (WebCore::Frame::resizePageRectsKeepingRatio):
            * page/Frame.h:
            * page/PrintContext.cpp:
            (WebCore::PrintContext::computePageRects):
            (WebCore::PrintContext::begin):
    2011-06-13  Kentaro Hara  <haraken@google.com>
    
            Reviewed by Alexey Proskuryakov.
    
            Add resizePageRectsKeepingRatio(), which expands/shrinks a page, keeping the ratio of the original page
            https://bugs.webkit.org/show_bug.cgi?id=61256
    
            In order to prevent rounding error caused by expanding/shrinking a page
            using different calculation here and there, I added a common calculation
            method, resizePageRectsKeepingRatio(), which expands/shrinks a page,
            keeping the ratio of width and height of the original page.
            [WebHTMLView _beginPrintModeWithPageWidth:height:shrinkToFit:]
            and [WebHTMLView _beginScreenPaginationModeWithPageSize:shrinkToFit:]
            use resizePageRectsKeepingRatio() to expand/shrink a page.
    
            Test: printing/page-count-with-one-word.html
    
            * WebView/WebHTMLView.mm:
            (-[WebHTMLView _web_setPrintingModeRecursive]):
            (-[WebHTMLView _web_clearPrintingModeRecursive]):
            (-[WebHTMLView _web_setPrintingModeRecursiveAndAdjustViewSize]):
            (-[WebHTMLView _beginPrintModeWithMinimumPageWidth:height:maximumShrinkRatio:]):
            (-[WebHTMLView _beginPrintModeWithPageWidth:height:shrinkToFit:]):
            (-[WebHTMLView _endPrintMode]):
            (-[WebHTMLView _beginScreenPaginationModeWithPageSize:shrinkToFit:]):
            (-[WebHTMLView _endScreenPaginationMode]):
            (-[WebHTMLView layoutToMinimumPageWidth:height:maximumShrinkRatio:adjustingViewSize:]):
            (-[WebHTMLView layout]):
            (-[WebHTMLView _setPrinting:minimumPageLogicalWidth:logicalHeight:maximumShrinkRatio:adjustViewSize:paginateScreenContent:]):
            (-[WebHTMLView adjustPageHeightNew:top:bottom:limit:]):
            (-[WebHTMLView setPageWidthForPrinting:]):
    2011-06-13  Kentaro Hara  <haraken@google.com>
    
            Reviewed by Alexey Proskuryakov.
    
            Add resizePageRectsKeepingRatio(), which expands/shrinks a page, keeping the ratio of the original page
            https://bugs.webkit.org/show_bug.cgi?id=61256
    
            In order to prevent rounding error caused by expanding/shrinking a page
            using different calculation here and there, I added a common calculation
            method, resizePageRectsKeepingRatio(), which expands/shrinks a page,
            keeping the ratio of width and height of the original page.
            WebFrame::setInPrintingMode() uses resizePageRectsKeepingRatio() to
            expand/shrink a page.
    
            Test: printing/page-count-with-one-word.html
    
            * WebFrame.cpp:
            (WebFrame::setPrinting):
            (WebFrame::setInPrintingMode):
            * WebFrame.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jun 10, 2011
  1. 2011-06-10 Emil A Eklund <eae@chromium.org>

    eae@chromium.org authored
            Reviewed by Eric Seidel.
    
            Regression r85573: Blank pages appear at the end of some wikipedia documents.
            https://bugs.webkit.org/show_bug.cgi?id=62343
    
            Fix regression caused by r85573. Cached document size not updated after layout.
    
            * platform/chromium-linux/printing/page-count-relayout-shrink-expected.txt: Added.
            * platform/mac/printing/page-count-relayout-shrink-expected.txt: Added.
            * printing/page-count-relayout-shrink.html: Added.
    2011-06-10  Emil A Eklund  <eae@chromium.org>
    
            Reviewed by Eric Seidel.
    
            Regression r85573: Blank pages appear at the end of some wikipedia documents.
            https://bugs.webkit.org/show_bug.cgi?id=62343
    
            Fix regression caused by r85573. Cached document size not updated after layout.
    
            Test: printing/page-count-relayout-shrink.html
    
            * page/FrameView.cpp:
            (WebCore::FrameView::forceLayoutForPagination):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Mar 25, 2011
  1. 2011-03-25 Dimitri Glazkov <dglazkov@chromium.org>

    dglazkov@chromium.org authored
            Reviewed by Adele Peterson.
    
            REGRESSION(r77257): Only first page of a document is printed
            https://bugs.webkit.org/show_bug.cgi?id=56958
    
            * printing/page-count-layout-overflow-expected.txt: Added.
            * printing/page-count-layout-overflow.html: Added.
    2011-03-25  Dave Hyatt  <hyatt@apple.com>
    
            Reviewed by Adele Peterson.
    
            REGRESSION(r77257): Only first page of a document is printed
            https://bugs.webkit.org/show_bug.cgi?id=56958
    
            Test: printing/page-count-layout-overflow.html
    
            * page/FrameView.cpp:
            (WebCore::FrameView::forceLayoutForPagination): Moved clearing of overflow
                to the right place.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Mar 11, 2011
  1. 2011-03-10 Adam Barth <abarth@webkit.org>

    abarth@webkit.org authored
            Reviewed by Darin Adler.
    
            REGRESSION (r66428/r71892): Crash after assertion failure (!m_reachedTerminalState) in ResourceLoader::didCancel()
            https://bugs.webkit.org/show_bug.cgi?id=51357
    
            Test that we don't crash when calling close immedately after print.
    
            * printing/print-close-crash-expected.txt: Added.
            * printing/print-close-crash.html: Added.
    2011-03-10  Adam Barth  <abarth@webkit.org>
    
            Reviewed by Darin Adler.
    
            REGRESSION (r66428/r71892): Crash after assertion failure (!m_reachedTerminalState) in ResourceLoader::didCancel()
            https://bugs.webkit.org/show_bug.cgi?id=51357
    
            Previously, we would try to print from a callstack that didn't want a
            nested event loop, leading to re-entrancy problems.  In this patch, we
            complete the print call asynchronously, giving us a clean stack on
            which to run the nested event loop.
    
            Test: printing/print-close-crash.html
    
            * page/DOMWindow.cpp:
            (WebCore::DOMWindow::DOMWindow):
            (WebCore::DOMWindow::print):
            (WebCore::DOMWindow::printTimerFired):
            * page/DOMWindow.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jan 3, 2011
  1. https://bugs.webkit.org/show_bug.cgi?id=51328

    hyatt@apple.com authored
    Reviewed by Simon Fraser.
    
    WebCore: 
    
    Printing on a page with body { height: 100% } clips out the overflow contents.  This happened
    because the computePageRects function was never correct.  It was using the layer's width and height
    for the document's width and height, and the layer no longer includes overflow in its width and
    height.  It was also incorrectly assuming the first page would begin at (0,0), and this is an invalid
    assumption in RTL or vertical text environments.
    
    Added printing/page-count-percentage-height.html
    
    * page/PrintContext.cpp:
    (WebCore::PrintContext::computePageRects):
    (WebCore::PrintContext::computePageRectsWithPageSizeInternal):
    
    LayoutTests: 
    
    Add layout test for printing clipping bug.
    
    * printing/page-count-percentage-height-expected.txt: Added.
    * printing/page-count-percentage-height.html: Added.
    * printing/script-tests/page-count-percentage-height.js: Added.
    (test):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Nov 9, 2010
  1. 2010-11-09 Yuzo Fujishima <yuzo@google.com>

    yuzo@google.com authored
            Reviewed by Shinichiro Hamaji.
    
            Fix for Bug 48984 - [Chromium] @media print crash due to paged media support
            https://bugs.webkit.org/show_bug.cgi?id=48984
    
            * printing/page-format-data-display-none-expected.txt: Added.
            * printing/page-format-data-display-none.html: Added.
    2010-11-09  Yuzo Fujishima  <yuzo@google.com>
    
            Reviewed by Shinichiro Hamaji.
    
            Fix for Bug 48984 - [Chromium] @media print crash due to paged media support
            Page context has been inheriting from document element style that becomes null if display property is none.
            It should inherit from document style instead to properly handle direction property (and to avoid the null reference).
            https://bugs.webkit.org/show_bug.cgi?id=48984
    
            Test: printing/page-format-data-display-none.html
    
            * css/CSSStyleSelector.cpp:
            (WebCore::CSSStyleSelector::styleForPage): Page context inherits from
            document style.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Oct 13, 2010
  1. <rdar://problem/8488444> REGRESSION (r67771)

    hyatt@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=47434
    Crash when printing in RenderBlock::markDescendantBlocksAndLinesForLayout
            
    Reviewed by Dan Bernstein
    
    Added printing/simultaneous-position-float-change.html
    
    Remove the markDescendantBlocksAndLinesForLayout method since it can walk m_floatingObjects lists with deleted
    objects in them.  Make the mechanism for relayout when the page height changes the same as the one when pageY
    changes and just tie a concept of pageHeightChanged to the layout state.  If that is set, blocks will just
    automatically mark themselves as needing layout.
    
    WebCore: 
    
    * rendering/LayoutState.cpp:
    (WebCore::LayoutState::LayoutState):
    * rendering/LayoutState.h:
    (WebCore::LayoutState::LayoutState):
    (WebCore::LayoutState::pageHeight):
    (WebCore::LayoutState::pageHeightChanged):
    * rendering/RenderBlock.cpp:
    (WebCore::RenderBlock::layoutBlock):
    (WebCore::RenderBlock::layoutBlockChild):
    (WebCore::RenderBlock::layoutPositionedObjects):
    (WebCore::RenderBlock::markForPaginationRelayoutIfNeeded):
    (WebCore::RenderBlock::insertFloatingObject):
    (WebCore::RenderBlock::positionNewFloats):
    * rendering/RenderBlock.h:
    * rendering/RenderBox.cpp:
    * rendering/RenderBox.h:
    (WebCore::RenderBox::markForPaginationRelayoutIfNeeded):
    * rendering/RenderFlexibleBox.cpp:
    (WebCore::RenderFlexibleBox::layoutHorizontalBox):
    (WebCore::RenderFlexibleBox::layoutVerticalBox):
    * rendering/RenderView.cpp:
    (WebCore::RenderView::RenderView):
    (WebCore::RenderView::layout):
    * rendering/RenderView.h:
    (WebCore::RenderView::setPageHeight):
    (WebCore::RenderView::pushLayoutState):
    (WebCore::LayoutStateMaintainer::LayoutStateMaintainer):
    (WebCore::LayoutStateMaintainer::push):
    
    LayoutTests: 
    
    * platform/mac/printing/simultaneous-position-float-change-expected.checksum: Added.
    * platform/mac/printing/simultaneous-position-float-change-expected.png: Added.
    * platform/mac/printing/simultaneous-position-float-change-expected.txt: Added.
    * printing/simultaneous-position-float-change.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Sep 18, 2010
  1. https://bugs.webkit.org/show_bug.cgi?id=45993, convert printing to th…

    hyatt@apple.com authored
    …e new pagination model.
    
    Reviewed by Simon Fraser.
    
    WebCore: 
    
    Make printing store the page height in the RenderView and push that into the layout state to
    use the new pagination model.  The old pagination model is retained because it is still used
    for embedded WebViews.
    
    * page/FrameView.cpp:
    (WebCore::FrameView::reset):
    (WebCore::FrameView::layout):
    (WebCore::FrameView::forceLayout):
    (WebCore::FrameView::forceLayoutForPagination):
    (WebCore::FrameView::adjustPageHeight):
    * page/FrameView.h:
    * page/PrintContext.cpp:
    (WebCore::PrintContext::computePageRectsWithPageSizeInternal):
    * rendering/RenderBlock.cpp:
    (WebCore::RenderBlock::paintChildren):
    * rendering/RenderBox.cpp:
    (WebCore::RenderBox::calcHeight):
    * rendering/RenderImage.cpp:
    (WebCore::RenderImage::paintReplaced):
    * rendering/RenderLineBoxList.cpp:
    (WebCore::RenderLineBoxList::paint):
    * rendering/RenderVideo.cpp:
    (WebCore::RenderVideo::paintReplaced):
    * rendering/RenderView.cpp:
    (WebCore::RenderView::RenderView):
    (WebCore::RenderView::layout):
    (WebCore::RenderView::paint):
    (WebCore::RenderView::setBestTruncatedAt):
    * rendering/RenderView.h:
    (WebCore::RenderView::popLayoutState):
    (WebCore::RenderView::pageHeight):
    (WebCore::RenderView::setPageHeight):
    (WebCore::RenderView::bestTruncatedAt):
    (WebCore::RenderView::truncatedAt):
    (WebCore::RenderView::setTruncatedAt):
    (WebCore::RenderView::printRect):
    (WebCore::RenderView::setPrintRect):
    (WebCore::RenderView::pushLayoutState):
    (WebCore::LayoutStateMaintainer::LayoutStateMaintainer):
    (WebCore::LayoutStateMaintainer::push):
    (WebCore::LayoutStateMaintainer::pop):
    
    WebKit/mac: 
    
    Make printing store the page height in the RenderView and push that into the layout state to
    use the new pagination model.  The old pagination model is retained because it is still used
    for embedded WebViews.
    
    * WebView/WebHTMLView.mm:
    (-[WebHTMLView _adjustedBottomOfPageWithTop:bottom:limit:]):
    
    LayoutTests: 
    
    Remove the overflow test, since the new model treats overflow:auto/scroll as unsplittable.
    
    * printing/page-break-always-for-overflow-expected.txt: Removed.
    * printing/page-break-always-for-overflow.html: Removed.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jul 31, 2010
  1. <rdar://problem/8257783> Short documents may print a second blank page

    mitz@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=43271
    
    Reviewed by Darin Adler.
    
    WebCore: 
    
    Test: printing/stretch-to-view-height.html
    
    * WebCore.exp.in: Export Frame::forceLayoutForPagination(), replacing forceLayoutWithPageWidthRange().
    * page/Frame.cpp:
    (WebCore::Frame::setPrinting): Now takes a page width and height and a maximum shrink factor and passes
    them down to forceLayoutForPagination().
    * page/Frame.h:
    (WebCore::Frame::):
    * page/FrameView.cpp:
    (WebCore::FrameView::reset): Initialize m_pageHeight.
    (WebCore::FrameView::forceLayoutForPagination): Renamed forceLayoutWithPageWidthRange() to this and
    changed it to take a page width and height and a maximum shrink factor. Sets m_pageHeight, which is
    queried by RenderBox::calcHeight() during layout. If the given pageHeight is 0, m_pageHeight is set
    to the visible height, retaining the behavior before this change.
    * page/FrameView.h:
    (WebCore::FrameView::pageHeight): Added this accessor.
    * page/PrintContext.cpp:
    (WebCore::PrintContext::begin): Added a height parameter, used when calling setPrinting().
    (WebCore::PrintContext::end): Updated for setPrinting() changes.
    (WebCore::PrintContext::pageNumberForElement): Account for shrink-to-fit.
    (WebCore::PrintContext::pageProperty): Pass 0 for the height, retaining current behavior.
    (WebCore::PrintContext::numberOfPages): Account for shrink-to-fit.
    (WebCore::PrintContext::spoolAllPagesWithBoundaries): Pass the page width to begin().
    * page/PrintContext.h:
    * rendering/RenderBox.cpp:
    (WebCore::RenderBox::calcHeight): When printing, use FrameView::pageHeight() as the basis for
    viewport-relative heights.
    
    WebKit/mac: 
    
    * WebView/WebHTMLView.mm:
    (-[WebHTMLView _web_setPrintingModeRecursive]): Updated for additional height parameter
    to _setPrinting:minimumPageWidth:height:maximumPageWidth:adjustViewSize:.
    (-[WebHTMLView _web_clearPrintingModeRecursive]): Ditto.
    (-[WebHTMLView _web_setPrintingModeRecursiveAndAdjustViewSize]): Ditto.
    (-[WebHTMLView _beginPrintModeWithPageWidth:height:shrinkToFit:]): Added height parameter,
    which is scaled and passed on to _setPrinting:minimumPageWidth:height:maximumPageWidth:adjustViewSize:.
    (-[WebHTMLView _endPrintMode]): Updated for additional height parameter to
    _setPrinting:minimumPageWidth:height:maximumPageWidth:adjustViewSize:.
    (-[WebHTMLView layoutToMinimumPageWidth:height:maximumPageWidth:adjustingViewSize:]): Added
    height parameter, which is passed on to FrameView::forceLayoutForPagination().
    (-[WebHTMLView layout]): Updated for additional height parameter.
    (-[WebHTMLView _setPrinting:minimumPageWidth:height:maximumPageWidth:adjustViewSize:]): Added height
    parameter, which is passed on to -layoutToMinimumPageWidth:height:maximumPageWidth:adjustViewSize:.
    (-[WebHTMLView adjustPageHeightNew:top:bottom:limit:]): Updated for additional height
    parameter.
    (-[WebHTMLView setPageWidthForPrinting:]): Ditto.
    (-[WebHTMLView knowsPageRange:]): Pass the available height on the page on to
    _setPrinting:minimumPageWidth:height:maximumPageWidth:adjustViewSize.
    * WebView/WebHTMLViewPrivate.h: 
    
    WebKit/win: 
    
    * WebFrame.cpp:
    (WebFrame::setPrinting): Updated for changes to Frame::setPrinting(). Passing 0 for the
    page height, which maintains existing behavior.
    
    LayoutTests: 
    
    * platform/mac/printing/media-queries-print-expected.txt:
    * printing/page-break-margin-collapsed-expected.txt:
    * printing/resources/paged-media-test-utils.js:
    (ratioToPageHeightToPixels): Changed to reflect the default shrink factor of 1.25.
    * printing/script-tests/stretch-to-view-height.js: Added.
    (test):
    * printing/stretch-to-view-height-expected.txt: Added.
    * printing/stretch-to-view-height.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jul 28, 2010
  1. 2010-07-26 Yuzo Fujishima <yuzo@google.com>

    yuzo@google.com authored
            Reviewed by Shinichiro Hamaji.
    
            @page rules in media queries should be tested.
            Added tests for such rules.
            https://bugs.webkit.org/show_bug.cgi?id=42971
    
            * printing/page-rule-selection-expected.txt:
            * printing/page-rule-selection.html:
    2010-07-26  Yuzo Fujishima  <yuzo@google.com>
    
            Reviewed by Shinichiro Hamaji.
    
            @page rules in media queries should be tested.
            https://bugs.webkit.org/show_bug.cgi?id=42971
    
            * page/PrintContext.cpp:
            (WebCore::PrintContext::pageProperty): Fixed to properly begin
            printing. Added support for size property.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jul 16, 2010
  1. 2010-07-15 Shinichiro Hamaji <hamaji@chromium.org>

    hamaji@chromium.org authored
            Reviewed by Darin Adler.
    
            Printing test results differ between machines, we should use ImageDiff instead
            https://bugs.webkit.org/show_bug.cgi?id=20011
    
            Added printing/setPrinting.html to check there is the page boundary.
    
            Enabled printing/composite-layer-printing.html with setPrinting.
    
            The result of printing/media-queries-print.html shrunk because of
            PrintingMinimumShrinkFactor in PrintContext::begin().
    
            * platform/mac/Skipped:
            * platform/mac/printing/compositing-layer-printing-expected.checksum: Added.
            * platform/mac/printing/compositing-layer-printing-expected.png: Added.
            * platform/mac/printing/compositing-layer-printing-expected.txt: Added.
            * platform/mac/printing/media-queries-print-expected.checksum:
            * platform/mac/printing/media-queries-print-expected.png:
            * platform/mac/printing/setPrinting-expected.checksum: Added.
            * platform/mac/printing/setPrinting-expected.png: Added.
            * platform/mac/printing/setPrinting-expected.txt: Added.
            * printing/compositing-layer-printing.html:
            * printing/setPrinting.html: Added.
    2010-07-15  Shinichiro Hamaji  <hamaji@chromium.org>
    
            Reviewed by Darin Adler.
    
            Printing test results differ between machines, we should use ImageDiff instead
            https://bugs.webkit.org/show_bug.cgi?id=20011
    
            Added spoolAllPagesWithBoundaries into PrintContext.
    
            Test: printing/setPrinting.html
    
            * WebCore.base.exp:
            * page/PrintContext.cpp:
            (WebCore::PrintContext::spoolAllPagesWithBoundaries):
            * page/PrintContext.h:
    2010-07-15  Shinichiro Hamaji  <hamaji@chromium.org>
    
            Reviewed by Darin Adler.
    
            Printing test results differ between machines, we should use ImageDiff instead
            https://bugs.webkit.org/show_bug.cgi?id=20011
    
            * Misc/WebCoreStatistics.h:
            * Misc/WebCoreStatistics.mm:
            (-[WebFrame printToCGContext:cgContext:pageWidthInPixels:]):
    2010-07-15  Shinichiro Hamaji  <hamaji@chromium.org>
    
            Reviewed by Darin Adler.
    
            Printing test results differ between machines, we should use ImageDiff instead
            https://bugs.webkit.org/show_bug.cgi?id=20011
    
            * DumpRenderTree/PixelDumpSupport.cpp:
            (dumpWebViewAsPixelsAndCompareWithExpected):
            * DumpRenderTree/PixelDumpSupport.h:
            * DumpRenderTree/mac/PixelDumpSupportMac.mm:
            (createBitmapContext): This function was added to share bitmap context creation code.
            (createBitmapContextFromWebView):
            (createPagedBitmapContext):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jul 9, 2010
  1. 2010-07-09 Aaron Boodman <aa@chromium.org>

    aa@chromium.org authored
            Reviewed by Ojan Vafai.
    
            Fix regression from r62876.
            https://bugs.webkit.org/show_bug.cgi?id=41928
    
            * platform/mac/Skipped:
            * printing/page-rule-selection.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jul 7, 2010
  1. 2010-07-07 Hayato Ito <hayato@chromium.org>

    commit-queue@webkit.org authored
            Reviewed by Darin Adler.
    
            Rolling out 'page-break-inside:avoid' part of the r54929.
            Rebased the related layout tests, which are now expected to fail, as well.
    
            https://bugs.webkit.org/show_bug.cgi?id=41532
    
            * fast/multicol/break-properties-expected.txt:
            * printing/page-break-inside-avoid-expected.txt:
    2010-07-07  Hayato Ito  <hayato@chromium.org>
    
            Reviewed by Darin Adler.
    
            Rolling out 'page-break-inside:avoid' part of the r54929.
            Rebased the related layout tests, which are now expected to fail, as well.
    
            https://bugs.webkit.org/show_bug.cgi?id=41532
    
            * rendering/RenderBlock.cpp:
            (WebCore::RenderBlock::paintChildren):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jun 28, 2010
  1. 2010-06-25 Yuzo Fujishima <yuzo@google.com>

    yuzo@google.com authored
            Reviewed by Shinichiro Hamaji.
    
            Improve default value handling for page format properties.
            https://bugs.webkit.org/show_bug.cgi?id=41150
    
            * printing/page-format-data-expected.txt:
            * printing/page-format-data.html:
            * printing/page-rule-selection-expected.txt:
            * printing/page-rule-selection.html:
    2010-06-25  Yuzo Fujishima  <yuzo@google.com>
    
            Reviewed by Shinichiro Hamaji.
    
            Improve default value handling for page format properties.
    
            Default page size and orientation have been hard-coded.
            Instead, pass default page size and margins to
            WebCore::Document::pageSizeAndMarginsInPixels to handle auto page size
            and margins specified as percentages.
            Return margins instead of page rect.
    
            https://bugs.webkit.org/show_bug.cgi?id=41150
    
            * WebCore.base.exp:
            * css/CSSStyleSelector.cpp:
            (WebCore::CSSStyleSelector::applyPageSizeProperty):
            (WebCore::CSSStyleSelector::pageSizeFromName):
            * css/html.css:
            (@page):
            * dom/Document.cpp:
            (WebCore::Document::pageSizeAndMarginsInPixels):
            * dom/Document.h:
            * page/PrintContext.cpp:
            (WebCore::PrintContext::pageProperty):
            (WebCore::PrintContext::pageSizeAndMarginsInPixels):
            * page/PrintContext.h:
            * rendering/style/RenderStyle.h:
            (WebCore::InheritedFlags::pageSizeType):
            (WebCore::InheritedFlags::setPageSizeType):
            (WebCore::InheritedFlags::resetPageSizeType):
            * rendering/style/StyleRareNonInheritedData.cpp:
            (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
            (WebCore::StyleRareNonInheritedData::operator==):
            * rendering/style/StyleRareNonInheritedData.h:
            (WebCore::):
    2010-06-25  Yuzo Fujishima  <yuzo@google.com>
    
            Reviewed by Shinichiro Hamaji.
    
            Improve default value handling for page format properties.
            https://bugs.webkit.org/show_bug.cgi?id=41150
    
            * public/WebFrame.h:
            * src/WebFrameImpl.cpp:
            (WebKit::WebFrameImpl::pageSizeAndMarginsInPixels):
            * src/WebFrameImpl.h:
    2010-06-25  Yuzo Fujishima  <yuzo@google.com>
    
            Reviewed by Shinichiro Hamaji.
    
            Improve default value handling for page format properties.
            https://bugs.webkit.org/show_bug.cgi?id=41150
    
            * Misc/WebCoreStatistics.h:
            * Misc/WebCoreStatistics.mm:
            (-[WebFrame pageSizeAndMarginsInPixels:pageNumber:width:height:marginTop:marginRight:marginBottom:]):
    2010-06-25  Yuzo Fujishima  <yuzo@google.com>
    
            Reviewed by Shinichiro Hamaji.
    
            Improve default value handling for page format properties.
            https://bugs.webkit.org/show_bug.cgi?id=41150
    
            * DumpRenderTree/LayoutTestController.cpp:
            (parsePageNumber):
            (parsePageNumberSizeMarings):
            (pageSizeAndMarginsInPixelsCallback):
            (LayoutTestController::staticFunctions):
            * DumpRenderTree/LayoutTestController.h:
            * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
            (LayoutTestController::pageSizeAndMarginsInPixels):
            * DumpRenderTree/mac/LayoutTestControllerMac.mm:
            (LayoutTestController::pageSizeAndMarginsInPixels):
            * DumpRenderTree/win/LayoutTestControllerWin.cpp:
            (LayoutTestController::pageSizeAndMarginsInPixels):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Something went wrong with that request. Please try again.