haikuwebkit/LayoutTests/printing/page-rule-selection.html

102 lines
5.3 KiB
HTML
Raw Permalink Normal View History

2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
<!DOCTYPE html>
<html id="html_element">
<head id="head_element">
Change LayoutTests' m*-p* files to use pre and post js files in LayoutTests/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: Canonical link: https://commits.webkit.org/138886@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-09-08 04:22:45 +00:00
<script src="../resources/js-test-pre.js"></script>
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests page style selection.");
function appendStyle(styleString)
{
var styleElement = document.createElement("style");
styleElement.innerHTML = styleString;
document.getElementById("head_element").appendChild(styleElement);
}
Use testRunner instead of layoutTestController in networkinformation, 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: Canonical link: https://commits.webkit.org/107031@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-06-15 07:38:37 +00:00
if (window.testRunner) {
testRunner.dumpAsText();
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
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 * 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): Canonical link: https://commits.webkit.org/52955@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-28 01:59:51 +00:00
debug("Default margin is auto.");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "auto");
shouldBeEqualToString("internals.pageProperty('margin-left', 1)", "auto");
shouldBeEqualToString("internals.pageProperty('margin-left', 2)", "auto");
shouldBeEqualToString("internals.pageProperty('margin-left', 3)", "auto");
shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "auto");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
debug("Set margin to 200px via user style sheet.");
Use testRunner instead of layoutTestController in networkinformation, 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: Canonical link: https://commits.webkit.org/107031@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-06-15 07:38:37 +00:00
testRunner.addUserStyleSheet("@page { margin:200px; }", true);
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "200");
shouldBeEqualToString("internals.pageProperty('margin-left', 1)", "200");
shouldBeEqualToString("internals.pageProperty('margin-left', 2)", "200");
shouldBeEqualToString("internals.pageProperty('margin-left', 3)", "200");
shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "200");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
debug("Set margin to 100px.");
appendStyle("@page { margin:100px; }");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "100");
shouldBeEqualToString("internals.pageProperty('margin-left', 1)", "100");
shouldBeEqualToString("internals.pageProperty('margin-left', 2)", "100");
shouldBeEqualToString("internals.pageProperty('margin-left', 3)", "100");
shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "100");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
debug("Set margin for right pages to 50px. The first page is a right page.");
appendStyle("@page :right { margin:50px; }");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "50");
shouldBeEqualToString("internals.pageProperty('margin-left', 1)", "100");
shouldBeEqualToString("internals.pageProperty('margin-left', 2)", "50");
shouldBeEqualToString("internals.pageProperty('margin-left', 3)", "100");
shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "50");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
debug("Set margin for left pages to 75px.");
appendStyle("@page :left { margin:75px; }");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "50");
shouldBeEqualToString("internals.pageProperty('margin-left', 1)", "75");
shouldBeEqualToString("internals.pageProperty('margin-left', 2)", "50");
shouldBeEqualToString("internals.pageProperty('margin-left', 3)", "75");
shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "50");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
debug("Set margin for the first page to 125px.");
appendStyle("@page :first { margin:125px; }");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "125");
shouldBeEqualToString("internals.pageProperty('margin-left', 1)", "75");
shouldBeEqualToString("internals.pageProperty('margin-left', 2)", "50");
shouldBeEqualToString("internals.pageProperty('margin-left', 3)", "75");
shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "50");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
debug("Change the document direction to RTL. This makes the first page a left page.");
document.getElementById("html_element").setAttribute("dir", "rtl");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "125");
shouldBeEqualToString("internals.pageProperty('margin-left', 1)", "50");
shouldBeEqualToString("internals.pageProperty('margin-left', 2)", "75");
shouldBeEqualToString("internals.pageProperty('margin-left', 3)", "50");
shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "75");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
debug("Check font update and line height override.");
appendStyle("@page { line-height:1em; }");
appendStyle("@page { font-family:Futura; }");
appendStyle("@page { font:15px/6em Arial; }");
appendStyle("@page { zoom:200%; }");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('line-height', 0)", "180");
shouldBeEqualToString("internals.pageProperty('font-family', 0)", "Arial");
shouldBeEqualToString("internals.pageProperty('font-size', 0)", "30");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
appendStyle("@page { zoom:100%; }");
debug("Check @media rules.");
appendStyle("@page { size:100px 200px; }");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('size', 0)", "100 200");
appendStyle("@media print { @page { size:150px 250px; } }");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('size', 0)", "150 250");
appendStyle("@media screen { @page { size:300px 500px; } }");
[DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 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: Canonical link: https://commits.webkit.org/113712@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-05 11:36:03 +00:00
shouldBeEqualToString("internals.pageProperty('size', 0)", "150 250");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
} else {
Use testRunner instead of layoutTestController in networkinformation, 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: Canonical link: https://commits.webkit.org/107031@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-06-15 07:38:37 +00:00
testFailed("This test can be run only with window.testRunner");
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
}
</script>
Change LayoutTests' m*-p* files to use pre and post js files in LayoutTests/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: Canonical link: https://commits.webkit.org/138886@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-09-08 04:22:45 +00:00
<script src="../resources/js-test-post.js"></script>
2010-06-15 Dmitry Titov <dimich@chromium.org> Not reviewed, updating Chromium test expectations. * platform/chromium/test_expectations.txt: 2010-06-15 Mark Rowe <mrowe@apple.com> Rubber-stamped by David Harrison. sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases. Explicitly initialize it to null, just to be safe. * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]): 2010-06-10 Yuzo Fujishima <yuzo@google.com> Reviewed by Shinichiro Hamaji. Implement render style selection for pages to support CSS3 Paged Media. https://bugs.webkit.org/show_bug.cgi?id=35961 * DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty): Canonical link: https://commits.webkit.org/52242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-06-16 03:23:12 +00:00
</body>
</html>