Changeset 120350 in webkit
- Timestamp:
- Jun 14, 2012 12:52:56 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 98 added
- 133 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r120345 r120350 1 2012-06-14 Zan Dobersek <zandobersek@gmail.com> 2 3 [Gtk] Add support in DumpRenderTree for tracking repaints 4 https://bugs.webkit.org/show_bug.cgi?id=87658 5 6 Reviewed by Martin Robinson. 7 8 Update pixel baselines for all the tests in fast/repaint now that the 9 Gtk's DumpRenderTree properly tracks the repaint rects and displays 10 an appropriate overlay in the pixel results for such tests. 11 12 * platform/gtk/fast/repaint/4774354-expected.png: 13 * platform/gtk/fast/repaint/4776765-expected.png: 14 * platform/gtk/fast/repaint/absolute-position-change-containing-block-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-new-in-block-expected.png. 15 * platform/gtk/fast/repaint/absolute-position-changed-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-visibility-expected.png. 16 * platform/gtk/fast/repaint/absolute-position-moved-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 17 * platform/gtk/fast/repaint/background-clip-text-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png. 18 * platform/gtk/fast/repaint/background-generated-expected.png: 19 * platform/gtk/fast/repaint/background-misaligned-expected.png: 20 * platform/gtk/fast/repaint/background-scaling-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/clip-with-layout-delta-expected.png. 21 * platform/gtk/fast/repaint/backgroundSizeRepaint-expected.png: 22 * platform/gtk/fast/repaint/block-layout-inline-children-float-positioned-expected.png: Added. 23 * platform/gtk/fast/repaint/block-layout-inline-children-replaced-expected.png: Added. 24 * platform/gtk/fast/repaint/block-no-inflow-children-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png. 25 * platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png: 26 * platform/gtk/fast/repaint/block-selection-gap-in-table-cell-expected.png: 27 * platform/gtk/fast/repaint/block-selection-gap-stale-cache-2-expected.png: 28 * platform/gtk/fast/repaint/block-selection-gap-stale-cache-expected.png: 29 * platform/gtk/fast/repaint/body-background-image-expected.png: 30 * platform/gtk/fast/repaint/border-fit-lines-expected.png: 31 * platform/gtk/fast/repaint/border-radius-repaint-expected.png: 32 * platform/gtk/fast/repaint/border-repaint-glitch-expected.png: 33 * platform/gtk/fast/repaint/box-shadow-dynamic-expected.png: 34 * platform/gtk/fast/repaint/box-shadow-h-expected.png: 35 * platform/gtk/fast/repaint/box-shadow-v-expected.png: 36 * platform/gtk/fast/repaint/bugzilla-3509-expected.png: 37 * platform/gtk/fast/repaint/bugzilla-5699-expected.png: 38 * platform/gtk/fast/repaint/bugzilla-6278-expected.png: 39 * platform/gtk/fast/repaint/bugzilla-6388-expected.png: 40 * platform/gtk/fast/repaint/bugzilla-6473-expected.png: 41 * platform/gtk/fast/repaint/bugzilla-7235-expected.png: 42 * platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png: 43 * platform/gtk/fast/repaint/canvas-putImageData-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png. 44 * platform/gtk/fast/repaint/caret-outside-block-expected.png: 45 * platform/gtk/fast/repaint/change-transform-expected.png: 46 * platform/gtk/fast/repaint/clip-with-layout-delta-expected.png: 47 * platform/gtk/fast/repaint/clipped-relative-expected.png: 48 * platform/gtk/fast/repaint/containing-block-position-change-expected.png: 49 * platform/gtk/fast/repaint/content-into-overflow-expected.png: 50 * platform/gtk/fast/repaint/continuation-after-outline-expected.png: 51 * platform/gtk/fast/repaint/control-clip-expected.png: 52 * platform/gtk/fast/repaint/create-layer-repaint-expected.png: 53 * platform/gtk/fast/repaint/delete-into-nested-block-expected.png: 54 * platform/gtk/fast/repaint/dynamic-table-vertical-alignment-change-expected.png: 55 * platform/gtk/fast/repaint/erase-overflow-expected.png: 56 * platform/gtk/fast/repaint/fixed-after-scroll-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 57 * platform/gtk/fast/repaint/fixed-and-absolute-position-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 58 * platform/gtk/fast/repaint/fixed-child-move-after-scroll-expected.png: Added. 59 * platform/gtk/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png: Added. 60 * platform/gtk/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png: Added. 61 * platform/gtk/fast/repaint/fixed-expected.png: 62 * platform/gtk/fast/repaint/fixed-in-page-scale-expected.png: Added. 63 * platform/gtk/fast/repaint/fixed-move-after-keyboard-scroll-expected.png: Added. 64 * platform/gtk/fast/repaint/fixed-move-after-scroll-expected.png: Added. 65 * platform/gtk/fast/repaint/fixed-position-transparency-with-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png. 66 * platform/gtk/fast/repaint/fixed-right-bottom-in-page-scale-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png. 67 * platform/gtk/fast/repaint/fixed-right-in-page-scale-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 68 * platform/gtk/fast/repaint/fixed-scale-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 69 * platform/gtk/fast/repaint/fixed-scroll-simple-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-section-overflow-expected.png. 70 * platform/gtk/fast/repaint/fixed-table-cell-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 71 * platform/gtk/fast/repaint/fixed-table-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 72 * platform/gtk/fast/repaint/fixed-table-overflow-zindex-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 73 * platform/gtk/fast/repaint/fixed-to-relative-position-with-absolute-child-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 74 * platform/gtk/fast/repaint/fixed-tranformed-expected.png: Added. 75 * platform/gtk/fast/repaint/flexible-box-overflow-expected.png: 76 * platform/gtk/fast/repaint/flexible-box-overflow-horizontal-expected.png: 77 * platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png: 78 * platform/gtk/fast/repaint/float-move-during-layout-expected.png: 79 * platform/gtk/fast/repaint/float-new-in-block-expected.png: 80 * platform/gtk/fast/repaint/float-overflow-expected.png: Added. 81 * platform/gtk/fast/repaint/float-overflow-right-expected.png: Added. 82 * platform/gtk/fast/repaint/focus-layers-expected.png: 83 * platform/gtk/fast/repaint/gradients-em-stops-repaint-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 84 * platform/gtk/fast/repaint/iframe-scroll-repaint-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/intermediate-layout-position-clip-expected.png. 85 * platform/gtk/fast/repaint/inline-block-overflow-expected.png: 86 * platform/gtk/fast/repaint/inline-block-resize-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 87 * platform/gtk/fast/repaint/inline-color-change-expected.png: 88 * platform/gtk/fast/repaint/inline-horizontal-bt-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png. 89 * platform/gtk/fast/repaint/inline-outline-repaint-expected.png: 90 * platform/gtk/fast/repaint/inline-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png. 91 * platform/gtk/fast/repaint/inline-relative-positioned-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png. 92 * platform/gtk/fast/repaint/inline-vertical-lr-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png. 93 * platform/gtk/fast/repaint/inline-vertical-rl-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png. 94 * platform/gtk/fast/repaint/intermediate-layout-position-clip-expected.png: 95 * platform/gtk/fast/repaint/intermediate-layout-position-expected.png: 96 * platform/gtk/fast/repaint/invisible-objects-expected.png: 97 * platform/gtk/fast/repaint/japanese-rl-selection-clear-expected.png: Added. 98 * platform/gtk/fast/repaint/japanese-rl-selection-repaint-expected.png: Added. 99 * platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Added. 100 * platform/gtk/fast/repaint/layer-child-outline-expected.png: 101 * platform/gtk/fast/repaint/layer-full-repaint-expected.png: 102 * platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png: 103 * platform/gtk/fast/repaint/layer-outline-expected.png: 104 * platform/gtk/fast/repaint/layer-outline-horizontal-expected.png: 105 * platform/gtk/fast/repaint/layer-visibility-expected.png: 106 * platform/gtk/fast/repaint/layout-state-only-positioned-expected.png: 107 * platform/gtk/fast/repaint/layout-state-relative-expected.png: 108 * platform/gtk/fast/repaint/layout-state-scrolloffset-expected.png: Added. 109 * platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.png: Added. 110 * platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.png: Added. 111 * platform/gtk/fast/repaint/line-flow-with-floats-1-expected.png: 112 * platform/gtk/fast/repaint/line-flow-with-floats-10-expected.png: 113 * platform/gtk/fast/repaint/line-flow-with-floats-2-expected.png: 114 * platform/gtk/fast/repaint/line-flow-with-floats-3-expected.png: 115 * platform/gtk/fast/repaint/line-flow-with-floats-4-expected.png: 116 * platform/gtk/fast/repaint/line-flow-with-floats-5-expected.png: 117 * platform/gtk/fast/repaint/line-flow-with-floats-6-expected.png: 118 * platform/gtk/fast/repaint/line-flow-with-floats-7-expected.png: 119 * platform/gtk/fast/repaint/line-flow-with-floats-8-expected.png: 120 * platform/gtk/fast/repaint/line-flow-with-floats-9-expected.png: 121 * platform/gtk/fast/repaint/line-flow-with-floats-in-regions-expected.png: Added. 122 * platform/gtk/fast/repaint/line-in-scrolled-clipped-block-expected.png: 123 * platform/gtk/fast/repaint/line-overflow-expected.png: 124 * platform/gtk/fast/repaint/lines-with-layout-delta-expected.png: 125 * platform/gtk/fast/repaint/list-marker-2-expected.png: 126 * platform/gtk/fast/repaint/list-marker-expected.png: 127 * platform/gtk/fast/repaint/make-children-non-inline-expected.png: 128 * platform/gtk/fast/repaint/moving-shadow-on-container-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png. 129 * platform/gtk/fast/repaint/moving-shadow-on-path-expected.png: Added. 130 * platform/gtk/fast/repaint/multicol-repaint-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png. 131 * platform/gtk/fast/repaint/nested-iframe-scroll-inner-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/intermediate-layout-position-expected.png. 132 * platform/gtk/fast/repaint/nested-iframe-scroll-outer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-table-cell-expected.png. 133 * platform/gtk/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.png: 134 * platform/gtk/fast/repaint/opacity-change-on-overflow-float-expected.png: 135 * platform/gtk/fast/repaint/outline-child-repaint-expected.png: 136 * platform/gtk/fast/repaint/outline-inset-expected.png: 137 * platform/gtk/fast/repaint/outline-repaint-glitch-expected.png: 138 * platform/gtk/fast/repaint/outline-shrinking-expected.png: 139 * platform/gtk/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 140 * platform/gtk/fast/repaint/overflow-clip-subtree-layout-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png. 141 * platform/gtk/fast/repaint/overflow-delete-line-expected.png: 142 * platform/gtk/fast/repaint/overflow-flipped-writing-mode-block-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 143 * platform/gtk/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-full-repaint-expected.png. 144 * platform/gtk/fast/repaint/overflow-flipped-writing-mode-table-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 145 * platform/gtk/fast/repaint/overflow-hidden-in-overflow-hidden-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 146 * platform/gtk/fast/repaint/overflow-hide-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png. 147 * platform/gtk/fast/repaint/overflow-into-content-expected.png: 148 * platform/gtk/fast/repaint/overflow-outline-repaint-expected.png: 149 * platform/gtk/fast/repaint/overflow-scroll-body-appear-expected.png: 150 * platform/gtk/fast/repaint/overflow-scroll-delete-expected.png: 151 * platform/gtk/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 152 * platform/gtk/fast/repaint/overflow-show-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-row-expected.png. 153 * platform/gtk/fast/repaint/reflection-redraw-expected.png: 154 * platform/gtk/fast/repaint/reflection-repaint-test-expected.png: 155 * platform/gtk/fast/repaint/region-painting-invalidation-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-new-in-block-expected.png. 156 * platform/gtk/fast/repaint/region-painting-via-layout-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png. 157 * platform/gtk/fast/repaint/rel-positioned-inline-with-overflow-expected.png: 158 * platform/gtk/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png: 159 * platform/gtk/fast/repaint/repaint-across-writing-mode-boundary-expected.png: Added. 160 * platform/gtk/fast/repaint/repaint-during-scroll-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-new-in-block-expected.png. 161 * platform/gtk/fast/repaint/repaint-resized-overflow-expected.png: 162 * platform/gtk/fast/repaint/repaint-svg-after-style-change-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-col-background-expected.png. 163 * platform/gtk/fast/repaint/scale-page-shrink-expected.png: 164 * platform/gtk/fast/repaint/scroll-absolute-layer-with-reflection-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-new-in-block-expected.png. 165 * platform/gtk/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 166 * platform/gtk/fast/repaint/scroll-fixed-layer-with-reflection-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/erase-overflow-expected.png. 167 * platform/gtk/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-visibility-expected.png. 168 * platform/gtk/fast/repaint/scroll-fixed-reflected-layer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/erase-overflow-expected.png. 169 * platform/gtk/fast/repaint/scroll-in-clipped-layer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 170 * platform/gtk/fast/repaint/scroll-in-fixed-layer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png. 171 * platform/gtk/fast/repaint/scroll-in-transformed-layer-expected.png: Added. 172 * platform/gtk/fast/repaint/scroll-inside-table-cell-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/continuation-after-outline-expected.png. 173 * platform/gtk/fast/repaint/scroll-relative-table-inside-table-cell-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png. 174 * platform/gtk/fast/repaint/scroll-with-transformed-parent-layer-expected.png: Added. 175 * platform/gtk/fast/repaint/search-field-cancel-expected.png: 176 * platform/gtk/fast/repaint/select-option-background-color-expected.png: Added. 177 * platform/gtk/fast/repaint/selected-replaced-expected.png: 178 * platform/gtk/fast/repaint/selection-after-delete-expected.png: 179 * platform/gtk/fast/repaint/selection-after-remove-expected.png: 180 * platform/gtk/fast/repaint/selection-clear-expected.png: 181 * platform/gtk/fast/repaint/selection-gap-overflow-scroll-2-expected.png: Added. 182 * platform/gtk/fast/repaint/selection-gap-overflow-scroll-expected.png: 183 * platform/gtk/fast/repaint/selection-rl-expected.png: Added. 184 * platform/gtk/fast/repaint/shadow-multiple-horizontal-expected.png: 185 * platform/gtk/fast/repaint/shadow-multiple-strict-horizontal-expected.png: 186 * platform/gtk/fast/repaint/shadow-multiple-strict-vertical-expected.png: 187 * platform/gtk/fast/repaint/shadow-multiple-vertical-expected.png: 188 * platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png: 189 * platform/gtk/fast/repaint/slider-thumb-float-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/clip-with-layout-delta-expected.png. 190 * platform/gtk/fast/repaint/stacked-diacritics-expected.png: Added. 191 * platform/gtk/fast/repaint/static-to-positioned-expected.png: 192 * platform/gtk/fast/repaint/subtree-layoutstate-transform-expected.png: 193 * platform/gtk/fast/repaint/subtree-root-clip-2-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-col-background-expected.png. 194 * platform/gtk/fast/repaint/subtree-root-clip-3-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 195 * platform/gtk/fast/repaint/subtree-root-clip-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-col-background-expected.png. 196 * platform/gtk/fast/repaint/subtree-root-skipped-expected.png: 197 * platform/gtk/fast/repaint/svg-layout-root-style-attr-update-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png. 198 * platform/gtk/fast/repaint/table-cell-collapsed-border-expected.png: 199 * platform/gtk/fast/repaint/table-cell-move-expected.png: 200 * platform/gtk/fast/repaint/table-cell-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/clip-with-layout-delta-expected.png. 201 * platform/gtk/fast/repaint/table-col-background-expected.png: 202 * platform/gtk/fast/repaint/table-collapsed-border-expected.png: 203 * platform/gtk/fast/repaint/table-extra-bottom-grow-expected.png: 204 * platform/gtk/fast/repaint/table-hover-on-link-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/intermediate-layout-position-clip-expected.png. 205 * platform/gtk/fast/repaint/table-outer-border-expected.png: 206 * platform/gtk/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png. 207 * platform/gtk/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 208 * platform/gtk/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png. 209 * platform/gtk/fast/repaint/table-row-expected.png: 210 * platform/gtk/fast/repaint/table-section-overflow-expected.png: 211 * platform/gtk/fast/repaint/table-section-repaint-expected.png: 212 * platform/gtk/fast/repaint/table-two-pass-layout-overpaint-expected.png: 213 * platform/gtk/fast/repaint/table-writing-modes-h-expected.png: Added. 214 * platform/gtk/fast/repaint/table-writing-modes-v-expected.png: Added. 215 * platform/gtk/fast/repaint/text-append-dirty-lines-expected.png: 216 * platform/gtk/fast/repaint/text-emphasis-h-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/continuation-after-outline-expected.png. 217 * platform/gtk/fast/repaint/text-emphasis-v-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 218 * platform/gtk/fast/repaint/text-in-relative-positioned-inline-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png. 219 * platform/gtk/fast/repaint/text-selection-rect-in-overflow-2-expected.png: 220 * platform/gtk/fast/repaint/text-selection-rect-in-overflow-expected.png: 221 * platform/gtk/fast/repaint/text-shadow-expected.png: 222 * platform/gtk/fast/repaint/text-shadow-horizontal-expected.png: 223 * platform/gtk/fast/repaint/textarea-set-disabled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png. 224 * platform/gtk/fast/repaint/trailing-floats-root-line-box-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-row-expected.png. 225 * platform/gtk/fast/repaint/transform-absolute-child-expected.png: 226 * platform/gtk/fast/repaint/transform-absolute-in-positioned-container-expected.png: 227 * platform/gtk/fast/repaint/transform-disable-layoutstate-expected.png: 228 * platform/gtk/fast/repaint/transform-layout-repaint-expected.png: 229 * platform/gtk/fast/repaint/transform-relative-position-expected.png: 230 * platform/gtk/fast/repaint/transform-repaint-descendants-expected.png: 231 * platform/gtk/fast/repaint/transform-replaced-shadows-expected.png: 232 * platform/gtk/fast/repaint/transform-rotate-and-remove-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-col-background-expected.png. 233 * platform/gtk/fast/repaint/transform-translate-expected.png: 234 * platform/gtk/fast/repaint/view-background-from-body-1-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-stale-cache-expected.png. 235 * platform/gtk/fast/repaint/view-background-from-body-2-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/invisible-objects-expected.png. 236 1 237 2012-06-14 Simon Fraser <simon.fraser@apple.com> 2 238 -
trunk/Source/WebKit/gtk/ChangeLog
r120224 r120350 1 2012-06-14 Zan Dobersek <zandobersek@gmail.com> 2 3 [Gtk] Add support in DumpRenderTree for tracking repaints 4 https://bugs.webkit.org/show_bug.cgi?id=87658 5 6 Reviewed by Martin Robinson. 7 8 Add methods to the DumpRenderTreeSupport class for controlling the 9 status of repaint tracking along with retreiving and resetting the 10 tracked repaints. 11 12 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: 13 (DumpRenderTreeSupportGtk::setTracksRepaints): 14 (DumpRenderTreeSupportGtk::isTrackingRepaints): 15 (DumpRenderTreeSupportGtk::trackedRepaintRects): 16 (DumpRenderTreeSupportGtk::resetTrackedRepaints): 17 * WebCoreSupport/DumpRenderTreeSupportGtk.h: 18 (DumpRenderTreeSupportGtk): 19 1 20 2012-06-13 Amy Ousterhout <aousterh@chromium.org> 2 21 -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
r120054 r120350 877 877 resourceLoadScheduler()->setSerialLoadingEnabled(enabled); 878 878 } 879 880 void DumpRenderTreeSupportGtk::setTracksRepaints(WebKitWebFrame* frame, bool tracks) 881 { 882 g_return_if_fail(WEBKIT_IS_WEB_FRAME(frame)); 883 884 Frame* coreFrame = core(frame); 885 if (coreFrame && coreFrame->view()) 886 coreFrame->view()->setTracksRepaints(tracks); 887 } 888 889 bool DumpRenderTreeSupportGtk::isTrackingRepaints(WebKitWebFrame* frame) 890 { 891 g_return_val_if_fail(WEBKIT_IS_WEB_FRAME(frame), false); 892 893 Frame* coreFrame = core(frame); 894 if (coreFrame && coreFrame->view()) 895 return coreFrame->view()->isTrackingRepaints(); 896 897 return false; 898 } 899 900 GSList* DumpRenderTreeSupportGtk::trackedRepaintRects(WebKitWebFrame* frame) 901 { 902 g_return_val_if_fail(WEBKIT_IS_WEB_FRAME(frame), 0); 903 904 Frame* coreFrame = core(frame); 905 if (!coreFrame || !coreFrame->view()) 906 return 0; 907 908 GSList* rects = 0; 909 const Vector<IntRect>& repaintRects = coreFrame->view()->trackedRepaintRects(); 910 for (unsigned i = 0; i < repaintRects.size(); i++) { 911 GdkRectangle* rect = g_new0(GdkRectangle, 1); 912 rect->x = repaintRects[i].x(); 913 rect->y = repaintRects[i].y(); 914 rect->width = repaintRects[i].width(); 915 rect->height = repaintRects[i].height(); 916 rects = g_slist_append(rects, rect); 917 } 918 919 return rects; 920 } 921 922 void DumpRenderTreeSupportGtk::resetTrackedRepaints(WebKitWebFrame* frame) 923 { 924 g_return_if_fail(WEBKIT_IS_WEB_FRAME(frame)); 925 926 Frame* coreFrame = core(frame); 927 if (coreFrame && coreFrame->view()) 928 coreFrame->view()->resetTrackedRepaints(); 929 } -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
r120054 r120350 130 130 static void setSerializeHTTPLoads(bool enabled); 131 131 132 static void setTracksRepaints(WebKitWebFrame*, bool tracks); 133 static bool isTrackingRepaints(WebKitWebFrame*); 134 static GSList* trackedRepaintRects(WebKitWebFrame*); 135 static void resetTrackedRepaints(WebKitWebFrame*); 136 132 137 private: 133 138 static bool s_drtRun; -
trunk/Tools/ChangeLog
r120349 r120350 1 2012-06-14 Zan Dobersek <zandobersek@gmail.com> 2 3 [Gtk] Add support in DumpRenderTree for tracking repaints 4 https://bugs.webkit.org/show_bug.cgi?id=87658 5 6 Reviewed by Martin Robinson. 7 8 Reimplement the displayWebView method in DumpRenderTree - force a 9 repaint before starting tracking repaints and resetting them. 10 11 When gathering pixel output from a web view, if tracking repaints, 12 paint an overlay over the output with the overlay being clear in the 13 areas where the repaints occurred. 14 15 * DumpRenderTree/gtk/DumpRenderTree.cpp: 16 (displayWebView): 17 (resetDefaultsToConsistentValues): 18 * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp: 19 (paintOverlay): 20 (fillRepaintOverlayIntoContext): 21 (createBitmapContextFromWebView): 22 1 23 2012-06-14 Dirk Pranke <dpranke@chromium.org> 2 24 -
trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp
r119495 r120350 129 129 void displayWebView() 130 130 { 131 gtk_widget_queue_draw(GTK_WIDGET(webView)); 131 DumpRenderTreeSupportGtk::forceWebViewPaint(webView); 132 DumpRenderTreeSupportGtk::setTracksRepaints(mainFrame, true); 133 DumpRenderTreeSupportGtk::resetTrackedRepaints(mainFrame); 132 134 } 133 135 … … 461 463 462 464 DumpRenderTreeSupportGtk::clearOpener(mainFrame); 465 DumpRenderTreeSupportGtk::setTracksRepaints(mainFrame, false); 463 466 464 467 DumpRenderTreeSupportGtk::resetGeolocationClientMock(webView); -
trunk/Tools/DumpRenderTree/gtk/PixelDumpSupportGtk.cpp
r119715 r120350 36 36 #include <webkit/webkit.h> 37 37 38 static void paintOverlay(cairo_surface_t* surface) 39 { 40 cairo_t* context = cairo_create(surface); 41 42 // Paint a transparent black overlay from which the repainted rectangles are then cleared. 43 // The alpha component of the overlay should have a value of 0.66, as on other ports. 44 cairo_set_source_rgba(context, 0.0, 0.0, 0.0, 0.66); 45 cairo_rectangle(context, 0, 0, cairo_image_surface_get_width(surface), cairo_image_surface_get_height(surface)); 46 cairo_fill(context); 47 48 GSList* trackedRectsList = DumpRenderTreeSupportGtk::trackedRepaintRects(mainFrame); 49 for (GSList* listElement = trackedRectsList; listElement; listElement = g_slist_next(listElement)) { 50 GdkRectangle* rect = static_cast<GdkRectangle*>(listElement->data); 51 52 cairo_set_operator(context, CAIRO_OPERATOR_CLEAR); 53 cairo_rectangle(context, rect->x, rect->y, rect->width, rect->height); 54 cairo_fill(context); 55 } 56 57 g_slist_free_full(trackedRectsList, g_free); 58 cairo_destroy(context); 59 } 60 61 static void fillRepaintOverlayIntoContext(cairo_t* context, gint width, gint height) 62 { 63 cairo_surface_t* overlaySurface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height); 64 paintOverlay(overlaySurface); 65 66 cairo_set_source_surface(context, overlaySurface, 0, 0); 67 cairo_rectangle(context, 0, 0, width, height); 68 cairo_fill(context); 69 70 cairo_surface_destroy(overlaySurface); 71 } 72 38 73 PassRefPtr<BitmapContext> createBitmapContextFromWebView(bool, bool, bool, bool drawSelectionRect) 39 74 { … … 63 98 #endif 64 99 100 if (DumpRenderTreeSupportGtk::isTrackingRepaints(mainFrame)) 101 fillRepaintOverlayIntoContext(context, width, height); 102 65 103 if (drawSelectionRect) { 66 104 cairo_rectangle_int_t rectangle;
Note: See TracChangeset
for help on using the changeset viewer.