1. 03 Feb, 2012 1 commit
  2. 12 Jan, 2012 3 commits
    • dimich@chromium.org's avatar
      [Chromium] Rebaseline for a test modified in http://trac.webkit.org/changeset/104851 · 37374ece
      dimich@chromium.org authored
      Unreviewed.
      
      * platform/chromium-linux/animations/cross-fade-webkit-mask-box-image-expected.png:
      * platform/chromium-mac-snowleopard/animations/cross-fade-webkit-mask-box-image-expected.png:
      * platform/chromium-win/animations/cross-fade-webkit-mask-box-image-expected.png:
      * platform/mac/animations/cross-fade-webkit-mask-box-image-expected.txt: Renamed from LayoutTests/animations/cross-fade-webkit-mask-box-image-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37374ece
    • simon.fraser@apple.com's avatar
      Mitigate scrollbar differences when running pixel tests · b8b8bd14
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=67217
      
      Tools:
      
      Reviewed by Dan Bernstein.
      
      Enable mock scrollbars by default for tests.
      
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues):
      * WebKitTestRunner/TestController.cpp:
      (WTR::TestController::resetStateToConsistentValues):
      
      LayoutTests:
      
      Rubber-stamped by Dan Bernstein.
      
      		Update pixel results for tests up to and including LayoutTests/fast after
      		enabling mock scrollbars (67217), and fixing color profile issues (75662).
      
      * animations/missing-values-first-keyframe-expected.png:
      * animations/suspend-transform-animation-expected.png:
      * compositing/geometry/ancestor-overflow-change-expected.png:
      * compositing/iframes/composited-iframe-scroll-expected.png:
      * compositing/iframes/iframe-content-flipping-expected.png:
      * compositing/images/direct-pdf-image-expected.png:
      * compositing/images/direct-svg-image-expected.png:
      * compositing/masks/layer-mask-placement-expected.png:
      * compositing/overflow/repaint-after-losing-scrollbars-expected.png:
      * compositing/reflections/remove-add-reflection-expected.png:
      * compositing/tiling/constrained-layer-size-expected.png:
      * css3/filters/add-filter-rendering-expected.png:
      * css3/filters/crash-filter-change-expected.png:
      * css3/filters/effect-blur-expected.png:
      * css3/filters/effect-blur-hw-expected.png:
      * css3/filters/effect-brightness-expected.png:
      * css3/filters/effect-combined-expected.png:
      * css3/filters/effect-combined-hw-expected.png:
      * css3/filters/effect-contrast-expected.png:
      * css3/filters/effect-custom-expected.png:
      * css3/filters/effect-drop-shadow-expected.png:
      * css3/filters/effect-drop-shadow-hw-expected.png:
      * css3/filters/effect-grayscale-expected.png:
      * css3/filters/effect-grayscale-hw-expected.png:
      * css3/filters/effect-hue-rotate-expected.png:
      * css3/filters/effect-hue-rotate-hw-expected.png:
      * css3/filters/effect-invert-expected.png:
      * css3/filters/effect-invert-hw-expected.png:
      * css3/filters/effect-opacity-expected.png:
      * css3/filters/effect-opacity-hw-expected.png:
      * css3/filters/effect-saturate-expected.png:
      * css3/filters/effect-saturate-hw-expected.png:
      * css3/filters/effect-sepia-expected.png:
      * css3/filters/effect-sepia-hw-expected.png:
      * css3/filters/filter-region-expected.png:
      * css3/filters/filter-with-transform-expected.png:
      * css3/filters/nested-filter-expected.png:
      * css3/filters/regions-expanding-expected.png:
      * css3/filters/simple-filter-rendering-expected.png:
      * editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
      * fast/block/float/float-not-removed-from-next-sibling4-expected.png:
      * fast/css-generated-content/table-parts-before-and-after-expected.png:
      * fast/images/color-jpeg-with-color-profile-expected.png:
      * fast/multicol/flipped-blocks-border-after-expected.png:
      * fast/multicol/vertical-lr/rules-with-border-before-expected.png:
      * fast/multicol/vertical-rl/rule-style-expected.png:
      * fast/multicol/vertical-rl/rules-with-border-before-expected.png:
      * platform/mac/animations/missing-values-last-keyframe-expected.png:
      * platform/mac/compositing/color-matching/image-color-matching-expected.png:
      * platform/mac/compositing/direct-image-compositing-expected.png:
      * platform/mac/compositing/framesets/composited-frame-alignment-expected.png:
      * platform/mac/compositing/geometry/clipping-foreground-expected.png:
      * platform/mac/compositing/geometry/composited-html-size-expected.png:
      * platform/mac/compositing/geometry/fixed-in-composited-expected.png:
      * platform/mac/compositing/geometry/fixed-position-expected.png:
      * platform/mac/compositing/geometry/foreground-layer-expected.png:
      * platform/mac/compositing/geometry/horizontal-scroll-composited-expected.png:
      * platform/mac/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
      * platform/mac/compositing/geometry/layer-due-to-layer-children-expected.png:
      * platform/mac/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.png:
      * platform/mac/compositing/geometry/repaint-foreground-layer-expected.png:
      * platform/mac/compositing/geometry/root-layer-update-expected.png:
      * platform/mac/compositing/geometry/tall-page-composited-expected.png:
      * platform/mac/compositing/geometry/vertical-scroll-composited-expected.png:
      * platform/mac/compositing/geometry/video-fixed-scrolling-expected.png:
      * platform/mac/compositing/iframes/composited-iframe-alignment-expected.png:
      * platform/mac/compositing/iframes/iframe-copy-on-scroll-expected.png:
      * platform/mac/compositing/iframes/iframe-in-composited-layer-expected.png:
      * platform/mac/compositing/images/content-image-change-expected.png:
      * platform/mac/compositing/images/direct-image-background-color-expected.png:
      * platform/mac/compositing/masks/masked-ancestor-expected.png:
      * platform/mac/compositing/masks/multiple-masks-expected.png:
      * platform/mac/compositing/masks/simple-composited-mask-expected.png:
      * platform/mac/compositing/overflow/fixed-position-ancestor-clip-expected.png:
      * platform/mac/compositing/overflow/overflow-compositing-descendant-expected.png:
      * platform/mac/compositing/overflow/overflow-positioning-expected.png:
      * platform/mac/compositing/overflow/overflow-scroll-expected.png:
      * platform/mac/compositing/overflow/scrollbar-painting-expected.png:
      * platform/mac/compositing/plugins/composited-plugin-expected.png:
      * platform/mac/compositing/reflections/animation-inside-reflection-expected.png:
      * platform/mac/compositing/reflections/compositing-change-inside-reflection-expected.png:
      * platform/mac/compositing/reflections/deeply-nested-reflections-expected.png:
      * platform/mac/compositing/reflections/load-video-in-reflection-expected.png:
      * platform/mac/compositing/reflections/masked-reflection-on-composited-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-anchor-point-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-animated-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-mask-change-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-on-overflow-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-opacity-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-size-change-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-transformed-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-transformed2-expected.png:
      * platform/mac/compositing/reflections/nested-reflection-transition-expected.png:
      * platform/mac/compositing/reflections/reflection-in-composited-expected.png:
      * platform/mac/compositing/reflections/reflection-on-composited-expected.png:
      * platform/mac/compositing/reflections/reflection-opacity-expected.png:
      * platform/mac/compositing/reflections/reflection-positioning-expected.png:
      * platform/mac/compositing/reflections/reflection-positioning2-expected.png:
      * platform/mac/compositing/reflections/simple-composited-reflections-expected.png:
      * platform/mac/compositing/reflections/transform-inside-reflection-expected.png:
      * platform/mac/compositing/self-painting-layers-expected.png:
      * platform/mac/compositing/shadows/shadow-drawing-expected.png:
      * platform/mac/compositing/transitions/scale-transition-no-start-expected.png:
      * platform/mac/compositing/webgl/webgl-background-color-expected.png:
      * platform/mac/compositing/webgl/webgl-no-alpha-expected.png:
      * platform/mac/css1/basic/comments-expected.png:
      * platform/mac/css1/basic/containment-expected.png:
      * platform/mac/css1/basic/id_as_selector-expected.png:
      * platform/mac/css1/basic/inheritance-expected.png:
      * platform/mac/css1/box_properties/border-expected.png:
      * platform/mac/css1/box_properties/border_bottom-expected.png:
      * platform/mac/css1/box_properties/border_bottom_width-expected.png:
      * platform/mac/css1/box_properties/border_left-expected.png:
      * platform/mac/css1/box_properties/border_left_width-expected.png:
      * platform/mac/css1/box_properties/border_right_inline-expected.png:
      * platform/mac/css1/box_properties/border_right_width-expected.png:
      * platform/mac/css1/box_properties/border_style-expected.png:
      * platform/mac/css1/box_properties/border_top-expected.png:
      * platform/mac/css1/box_properties/border_top_width-expected.png:
      * platform/mac/css1/box_properties/border_width-expected.png:
      * platform/mac/css1/box_properties/clear-expected.png:
      * platform/mac/css1/box_properties/clear_float-expected.png:
      * platform/mac/css1/box_properties/float_elements_in_series-expected.png:
      * platform/mac/css1/box_properties/float_margin-expected.png:
      * platform/mac/css1/box_properties/float_on_text_elements-expected.png:
      * platform/mac/css1/box_properties/height-expected.png:
      * platform/mac/css1/box_properties/margin-expected.png:
      * platform/mac/css1/box_properties/margin_bottom-expected.png:
      * platform/mac/css1/box_properties/margin_inline-expected.png:
      * platform/mac/css1/box_properties/margin_left-expected.png:
      * platform/mac/css1/box_properties/margin_right-expected.png:
      * platform/mac/css1/box_properties/margin_top-expected.png:
      * platform/mac/css1/box_properties/padding-expected.png:
      * platform/mac/css1/box_properties/padding_bottom-expected.png:
      * platform/mac/css1/box_properties/padding_bottom_inline-expected.png:
      * platform/mac/css1/box_properties/padding_inline-expected.png:
      * platform/mac/css1/box_properties/padding_left-expected.png:
      * platform/mac/css1/box_properties/padding_right-expected.png:
      * platform/mac/css1/box_properties/padding_top-expected.png:
      * platform/mac/css1/box_properties/width-expected.png:
      * platform/mac/css1/cascade/cascade_order-expected.png:
      * platform/mac/css1/cascade/important-expected.png:
      * platform/mac/css1/classification/display-expected.png:
      * platform/mac/css1/classification/list_style_type-expected.png:
      * platform/mac/css1/classification/white_space-expected.png:
      * platform/mac/css1/color_and_background/background-expected.png:
      * platform/mac/css1/color_and_background/background_attachment-expected.png:
      * platform/mac/css1/color_and_background/background_image-expected.png:
      * platform/mac/css1/color_and_background/background_position-expected.png:
      * platform/mac/css1/color_and_background/background_repeat-expected.png:
      * platform/mac/css1/conformance/forward_compatible_parsing-expected.png:
      * platform/mac/css1/font_properties/font-expected.png:
      * platform/mac/css1/font_properties/font_size-expected.png:
      * platform/mac/css1/font_properties/font_weight-expected.png:
      * platform/mac/css1/formatting_model/floating_elements-expected.png:
      * platform/mac/css1/formatting_model/height_of_lines-expected.png:
      * platform/mac/css1/formatting_model/horizontal_formatting-expected.png:
      * platform/mac/css1/formatting_model/inline_elements-expected.png:
      * platform/mac/css1/formatting_model/replaced_elements-expected.png:
      * platform/mac/css1/formatting_model/vertical_formatting-expected.png:
      * platform/mac/css1/pseudo/anchor-expected.png:
      * platform/mac/css1/pseudo/firstletter-expected.png:
      * platform/mac/css1/pseudo/firstline-expected.png:
      * platform/mac/css1/pseudo/multiple_pseudo_elements-expected.png:
      * platform/mac/css1/pseudo/pseudo_elements_in_selectors-expected.png:
      * platform/mac/css1/text_properties/letter_spacing-expected.png:
      * platform/mac/css1/text_properties/line_height-expected.png:
      * platform/mac/css1/text_properties/text_decoration-expected.png:
      * platform/mac/css1/text_properties/text_indent-expected.png:
      * platform/mac/css1/text_properties/text_transform-expected.png:
      * platform/mac/css1/text_properties/vertical_align-expected.png:
      * platform/mac/css1/text_properties/word_spacing-expected.png:
      * platform/mac/css1/units/color_units-expected.png:
      * platform/mac/css1/units/length_units-expected.png:
      * platform/mac/css1/units/urls-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-height-003-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-height-010-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-height-017-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-height-024-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-height-031-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-006-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-013-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-020-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-022-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-027-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-029-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-034-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-036-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-041-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-043-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-048-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-050-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-055-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-057-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-062-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-064-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-069-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-071-expected.png:
      * platform/mac/css2.1/20110323/absolute-replaced-width-076-expected.png:
      * platform/mac/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.png:
      * platform/mac/css2.1/20110323/block-non-replaced-height-002-expected.png:
      * platform/mac/css2.1/20110323/block-non-replaced-height-004-expected.png:
      * platform/mac/css2.1/20110323/block-non-replaced-height-006-expected.png:
      * platform/mac/css2.1/20110323/block-non-replaced-height-008-expected.png:
      * platform/mac/css2.1/20110323/block-non-replaced-height-010-expected.png:
      * platform/mac/css2.1/20110323/block-non-replaced-height-012-expected.png:
      * platform/mac/css2.1/20110323/block-non-replaced-height-014-expected.png:
      * platform/mac/css2.1/20110323/block-non-replaced-height-016-expected.png:
      * platform/mac/css2.1/20110323/block-replaced-height-003-expected.png:
      * platform/mac/css2.1/20110323/block-replaced-width-006-expected.png:
      * platform/mac/css2.1/20110323/float-replaced-height-003-expected.png:
      * platform/mac/css2.1/20110323/float-replaced-width-001-expected.png:
      * platform/mac/css2.1/20110323/float-replaced-width-002-expected.png:
      * platform/mac/css2.1/20110323/float-replaced-width-003-expected.png:
      * platform/mac/css2.1/20110323/float-replaced-width-004-expected.png:
      * platform/mac/css2.1/20110323/float-replaced-width-005-expected.png:
      * platform/mac/css2.1/20110323/float-replaced-width-011-expected.png:
      * platform/mac/css2.1/20110323/inline-block-replaced-height-003-expected.png:
      * platform/mac/css2.1/20110323/inline-block-replaced-width-006-expected.png:
      * platform/mac/css2.1/20110323/inline-replaced-height-003-expected.png:
      * platform/mac/css2.1/20110323/inline-replaced-width-001-expected.png:
      * platform/mac/css2.1/20110323/inline-replaced-width-006-expected.png:
      * platform/mac/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png:
      * platform/mac/css2.1/20110323/width-replaced-element-001-expected.png:
      * platform/mac/css2.1/t051201-c23-first-line-00-b-expected.png:
      * platform/mac/css2.1/t0803-c5502-mrgn-r-02-c-expected.png:
      * platform/mac/css2.1/t0803-c5505-mrgn-02-c-expected.png:
      * platform/mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.png:
      * platform/mac/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png:
      * platform/mac/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png:
      * platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
      * platform/mac/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png:
      * platform/mac/css2.1/t1002-c5523-width-02-b-g-expected.png:
      * platform/mac/css2.1/t1202-counters-08-b-expected.png:
      * platform/mac/css2.1/t1202-counters-09-b-expected.png:
      * platform/mac/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png:
      * platform/mac/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
      * platform/mac/css2.1/t1508-c527-font-01-b-expected.png:
      * platform/mac/css2.1/t1508-c527-font-07-b-expected.png:
      * platform/mac/css3/images/cross-fade-blending-expected.png:
      * platform/mac/css3/images/cross-fade-invalidation-expected.png:
      * platform/mac/css3/images/cross-fade-simple-expected.png:
      * platform/mac/css3/images/cross-fade-sizing-expected.png:
      * platform/mac/css3/images/cross-fade-tiled-expected.png:
      * platform/mac/editing/deleting/delete-after-span-ws-001-expected.png:
      * platform/mac/editing/deleting/delete-after-span-ws-002-expected.png:
      * platform/mac/editing/deleting/delete-after-span-ws-003-expected.png:
      * platform/mac/editing/deleting/delete-line-end-ws-001-expected.png:
      * platform/mac/editing/deleting/delete-line-end-ws-002-expected.png:
      * platform/mac/editing/inserting/insert-div-023-expected.png:
      * platform/mac/editing/pasteboard/paste-TIFF-expected.png:
      * platform/mac/editing/selection/focus_editable_html-expected.png:
      * platform/mac/editing/selection/iframe-expected.png:
      * platform/mac/editing/selection/replaced-boundaries-3-expected.png:
      * platform/mac/editing/selection/select-all-001-expected.png:
      * platform/mac/editing/selection/select-all-002-expected.png:
      * platform/mac/editing/selection/select-all-003-expected.png:
      * platform/mac/editing/selection/select-all-004-expected.png:
      * platform/mac/editing/selection/unrendered-001-expected.png:
      * platform/mac/editing/selection/unrendered-003-expected.png:
      * platform/mac/editing/selection/unrendered-004-expected.png:
      * platform/mac/editing/selection/unrendered-005-expected.png:
      * platform/mac/editing/unsupported-content/list-delete-001-expected.png:
      * platform/mac/editing/unsupported-content/list-delete-003-expected.png:
      * platform/mac/editing/unsupported-content/list-type-after-expected.png:
      * platform/mac/editing/unsupported-content/list-type-before-expected.png:
      * platform/mac/editing/unsupported-content/table-delete-001-expected.png:
      * platform/mac/editing/unsupported-content/table-delete-002-expected.png:
      * platform/mac/editing/unsupported-content/table-delete-003-expected.png:
      * platform/mac/editing/unsupported-content/table-type-after-expected.png:
      * platform/mac/editing/unsupported-content/table-type-before-expected.png:
      * platform/mac/fast/backgrounds/background-inherit-color-bug-expected.png:
      * platform/mac/fast/backgrounds/background-leakage-transforms-expected.png:
      * platform/mac/fast/backgrounds/repeat/negative-offset-repeat-expected.png:
      * platform/mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
      * platform/mac/fast/backgrounds/size/backgroundSize15-expected.png:
      * platform/mac/fast/backgrounds/size/backgroundSize18-expected.png:
      * platform/mac/fast/backgrounds/size/backgroundSize19-expected.png:
      * platform/mac/fast/backgrounds/size/backgroundSize21-expected.png:
      * platform/mac/fast/backgrounds/size/backgroundSize22-expected.png:
      * platform/mac/fast/block/basic/016-expected.png:
      * platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.png:
      * platform/mac/fast/block/basic/truncation-rtl-expected.png:
      * platform/mac/fast/block/float/008-expected.png:
      * platform/mac/fast/block/float/013-expected.png:
      * platform/mac/fast/block/float/019-expected.png:
      * platform/mac/fast/block/float/020-expected.png:
      * platform/mac/fast/block/float/021-expected.png:
      * platform/mac/fast/block/float/025-expected.png:
      * platform/mac/fast/block/float/026-expected.png:
      * platform/mac/fast/block/float/027-expected.png:
      * platform/mac/fast/block/float/028-expected.png:
      * platform/mac/fast/block/float/032-expected.png:
      * platform/mac/fast/block/float/033-expected.png:
      * platform/mac/fast/block/float/035-expected.png:
      * platform/mac/fast/block/float/avoidance-percent-width-strict-expected.png:
      * platform/mac/fast/block/float/br-with-clear-2-expected.png:
      * platform/mac/fast/block/float/float-avoidance-expected.png:
      * platform/mac/fast/block/float/nested-clearance-expected.png:
      * platform/mac/fast/block/float/relative-painted-twice-expected.png:
      * platform/mac/fast/block/lineboxcontain/parsing-invalid-expected.png:
      * platform/mac/fast/block/margin-collapse/103-expected.png:
      * platform/mac/fast/block/margin-collapse/104-expected.png:
      * platform/mac/fast/block/margin-collapse/empty-clear-blocks-expected.png:
      * platform/mac/fast/block/positioning/047-expected.png:
      * platform/mac/fast/block/positioning/051-expected.png:
      * platform/mac/fast/block/positioning/055-expected.png:
      * platform/mac/fast/block/positioning/auto/007-expected.png:
      * platform/mac/fast/block/positioning/auto/vertical-lr/007-expected.png:
      * platform/mac/fast/block/positioning/auto/vertical-rl/007-expected.png:
      * platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png:
      * platform/mac/fast/block/positioning/negative-rel-position-expected.png:
      * platform/mac/fast/block/positioning/relative-overflow-block-expected.png:
      * platform/mac/fast/block/positioning/relative-overflow-replaced-expected.png:
      * platform/mac/fast/block/positioning/relative-overflow-replaced-float-expected.png:
      * platform/mac/fast/block/positioning/vertical-lr/002-expected.png:
      * platform/mac/fast/block/positioning/vertical-rl/002-expected.png:
      * platform/mac/fast/body-propagation/overflow/001-expected.png:
      * platform/mac/fast/body-propagation/overflow/001-xhtml-expected.png:
      * platform/mac/fast/body-propagation/overflow/002-expected.png:
      * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png:
      * platform/mac/fast/body-propagation/overflow/003-declarative-expected.png:
      * platform/mac/fast/body-propagation/overflow/003-expected.png:
      * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png:
      * platform/mac/fast/body-propagation/overflow/004-declarative-expected.png:
      * platform/mac/fast/body-propagation/overflow/004-expected.png:
      * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png:
      * platform/mac/fast/body-propagation/overflow/005-declarative-expected.png:
      * platform/mac/fast/body-propagation/overflow/005-expected.png:
      * platform/mac/fast/body-propagation/overflow/005-xhtml-expected.png:
      * platform/mac/fast/body-propagation/overflow/006-declarative-expected.png:
      * platform/mac/fast/body-propagation/overflow/006-expected.png:
      * platform/mac/fast/body-propagation/overflow/006-xhtml-expected.png:
      * platform/mac/fast/body-propagation/overflow/007-declarative-expected.png:
      * platform/mac/fast/body-propagation/overflow/007-expected.png:
      * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png:
      * platform/mac/fast/borders/border-image-massive-scale-expected.png:
      * platform/mac/fast/borders/border-image-rotate-transform-expected.png:
      * platform/mac/fast/borders/border-image-scale-transform-expected.png:
      * platform/mac/fast/borders/border-image-scaled-expected.png:
      * platform/mac/fast/borders/inline-mask-overlay-image-expected.png:
      * platform/mac/fast/borders/rtl-border-01-expected.png:
      * platform/mac/fast/borders/rtl-border-02-expected.png:
      * platform/mac/fast/borders/rtl-border-03-expected.png:
      * platform/mac/fast/box-shadow/basic-shadows-expected.png:
      * platform/mac/fast/box-sizing/box-sizing-expected.png:
      * platform/mac/fast/canvas/canvas-bg-expected.png:
      * platform/mac/fast/canvas/canvas-text-alignment-expected.png:
      * platform/mac/fast/canvas/canvas-text-baseline-expected.png:
      * platform/mac/fast/canvas/image-object-in-canvas-expected.png:
      * platform/mac/fast/canvas/shadow-offset-7-expected.png:
      * platform/mac/fast/css-generated-content/014-expected.png:
      * platform/mac/fast/css/005-expected.png:
      * platform/mac/fast/css/MarqueeLayoutTest-expected.png:
      * platform/mac/fast/css/background-shorthand-invalid-url-expected.png:
      * platform/mac/fast/css/border-height-expected.png:
      * platform/mac/fast/css/clip-text-in-scaled-div-expected.png:
      * platform/mac/fast/css/color-correction-backgrounds-and-text-expected.png:
      * platform/mac/fast/css/continuationCrash-expected.png:
      * platform/mac/fast/css/empty-pseudo-class-expected.png:
      * platform/mac/fast/css/first-child-pseudo-class-expected.png:
      * platform/mac/fast/css/first-of-type-pseudo-class-expected.png:
      * platform/mac/fast/css/hsl-color-expected.png:
      * platform/mac/fast/css/last-child-pseudo-class-expected.png:
      * platform/mac/fast/css/last-of-type-pseudo-class-expected.png:
      * platform/mac/fast/css/line-height-overflow-expected.png:
      * platform/mac/fast/css/margin-top-bottom-dynamic-expected.png:
      * platform/mac/fast/css/nested-floating-relative-position-percentages-expected.png:
      * platform/mac/fast/css/nested-rounded-corners-expected.png:
      * platform/mac/fast/css/only-child-pseudo-class-expected.png:
      * platform/mac/fast/css/only-of-type-pseudo-class-expected.png:
      * platform/mac/fast/css/percentage-non-integer-expected.png:
      * platform/mac/fast/css/positioned-overflow-scroll-expected.png:
      * platform/mac/fast/css/shadow-multiple-expected.png:
      * platform/mac/fast/css/text-overflow-ellipsis-expected.png:
      * platform/mac/fast/css/text-overflow-ellipsis-strict-expected.png:
      * platform/mac/fast/css/text-transform-select-expected.png:
      * platform/mac/fast/css/transform-default-parameter-expected.png:
      * platform/mac/fast/css/word-space-extra-expected.png:
      * platform/mac/fast/dom/34176-expected.png:
      * platform/mac/fast/dom/52776-expected.png:
      * platform/mac/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.png:
      * platform/mac/fast/dom/clone-node-dynamic-style-expected.png:
      * platform/mac/fast/dom/focus-contenteditable-expected.png:
      * platform/mac/fast/dom/scroll-reveal-left-overflow-expected.png:
      * platform/mac/fast/dom/scroll-reveal-top-overflow-expected.png:
      * platform/mac/fast/dynamic/008-expected.png:
      * platform/mac/fast/dynamic/anchor-lock-expected.png:
      * platform/mac/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
      * platform/mac/fast/encoding/utf-16-big-endian-expected.png:
      * platform/mac/fast/encoding/utf-16-little-endian-expected.png:
      * platform/mac/fast/events/autoscroll-expected.png:
      * platform/mac/fast/events/pointer-events-2-expected.png:
      * platform/mac/fast/events/reveal-link-when-focused-expected.png:
      * platform/mac/fast/events/standalone-image-drag-to-editable-expected.png:
      * platform/mac/fast/flexbox/016-expected.png:
      * platform/mac/fast/flexbox/flex-hang-expected.png:
      * platform/mac/fast/forms/basic-textareas-expected.png:
      * platform/mac/fast/forms/basic-textareas-quirks-expected.png:
      * platform/mac/fast/forms/button-default-title-expected.png:
      * platform/mac/fast/forms/button-sizes-expected.png:
      * platform/mac/fast/forms/fieldset-align-expected.png:
      * platform/mac/fast/forms/file/file-input-direction-expected.png:
      * platform/mac/fast/forms/form-element-geometry-expected.png:
      * platform/mac/fast/forms/form-hides-table-expected.png:
      * platform/mac/fast/forms/input-table-expected.png:
      * platform/mac/fast/forms/listbox-bidi-align-expected.png:
      * platform/mac/fast/forms/search-rtl-expected.png:
      * platform/mac/fast/forms/select-initial-position-expected.png:
      * platform/mac/fast/forms/textAreaLineHeight-expected.png:
      * platform/mac/fast/forms/textarea-scroll-height-expected.png:
      * platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.png:
      * platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.png:
      * platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.png:
      * platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.png:
      * platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.png:
      * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.png:
      * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.png:
      * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.png:
      * platform/mac/fast/frames/frame-scrolling-attribute-expected.png:
      * platform/mac/fast/frames/iframe-scrolling-attribute-expected.png:
      * platform/mac/fast/frames/inline-object-inside-frameset-expected.png:
      * platform/mac/fast/gradients/background-clipped-expected.png:
      * platform/mac/fast/gradients/crash-on-zero-radius-expected.png:
      * platform/mac/fast/gradients/css3-color-stop-units-expected.png:
      * platform/mac/fast/gradients/css3-radial-gradients-expected.png:
      * platform/mac/fast/gradients/generated-gradients-expected.png:
      * platform/mac/fast/gradients/simple-gradients-expected.png:
      * platform/mac/fast/html/details-position-expected.png:
      * platform/mac/fast/html/details-writing-mode-expected.png:
      * platform/mac/fast/images/gif-large-checkerboard-expected.png:
      * platform/mac/fast/images/gray-scale-png-with-color-profile-expected.png:
      * platform/mac/fast/images/pdf-as-background-expected.png:
      * platform/mac/fast/images/pdf-as-image-expected.png:
      * platform/mac/fast/images/pdf-as-image-landscape-expected.png:
      * platform/mac/fast/images/ycbcr-with-cmyk-color-profile-expected.png:
      * platform/mac/fast/inline-block/tricky-baseline-expected.png:
      * platform/mac/fast/inline/inline-borders-with-bidi-override-expected.png:
      * platform/mac/fast/inline/inline-box-background-long-image-expected.png:
      * platform/mac/fast/inline/inline-continuation-borders-expected.png:
      * platform/mac/fast/inline/long-wrapped-line-expected.png:
      * platform/mac/fast/invalid/residual-style-expected.png:
      * platform/mac/fast/layers/overflow-scroll-auto-switch-expected.png:
      * platform/mac/fast/layers/scroll-rect-to-visible-expected.png:
      * platform/mac/fast/lists/001-expected.png:
      * platform/mac/fast/lists/001-vertical-expected.png:
      * platform/mac/fast/lists/003-expected.png:
      * platform/mac/fast/lists/008-expected.png:
      * platform/mac/fast/lists/008-vertical-expected.png:
      * platform/mac/fast/lists/li-br-expected.png:
      * platform/mac/fast/lists/ol-start-parsing-expected.png:
      * platform/mac/fast/lists/olstart-expected.png:
      * platform/mac/fast/media/mq-min-pixel-ratio-expected.png:
      * platform/mac/fast/media/mq-relative-constraints-02-expected.png:
      * platform/mac/fast/media/mq-relative-constraints-03-expected.png:
      * platform/mac/fast/media/mq-relative-constraints-04-expected.png:
      * platform/mac/fast/media/mq-relative-constraints-05-expected.png:
      * platform/mac/fast/media/mq-relative-constraints-06-expected.png:
      * platform/mac/fast/media/mq-relative-constraints-07-expected.png:
      * platform/mac/fast/media/mq-relative-constraints-08-expected.png:
      * platform/mac/fast/media/mq-relative-constraints-09-expected.png:
      * platform/mac/fast/media/mq-width-absolute-01-expected.png:
      * platform/mac/fast/media/mq-width-absolute-02-expected.png:
      * platform/mac/fast/media/mq-width-absolute-03-expected.png:
      * platform/mac/fast/media/mq-width-absolute-04-expected.png:
      * platform/mac/fast/multicol/client-rects-expected.png:
      * platform/mac/fast/multicol/column-break-with-balancing-expected.png:
      * platform/mac/fast/multicol/column-rules-expected.png:
      * platform/mac/fast/multicol/column-rules-stacking-expected.png:
      * platform/mac/fast/multicol/columns-shorthand-parsing-expected.png:
      * platform/mac/fast/multicol/float-multicol-expected.png:
      * platform/mac/fast/multicol/float-paginate-complex-expected.png:
      * platform/mac/fast/multicol/float-paginate-expected.png:
      * platform/mac/fast/multicol/layers-in-multicol-expected.png:
      * platform/mac/fast/multicol/layers-split-across-columns-expected.png:
      * platform/mac/fast/multicol/nested-columns-expected.png:
      * platform/mac/fast/multicol/overflow-unsplittable-expected.png:
      * platform/mac/fast/multicol/paginate-block-replaced-expected.png:
      * platform/mac/fast/multicol/pagination-h-horizontal-bt-expected.png:
      * platform/mac/fast/multicol/pagination-h-horizontal-tb-expected.png:
      * platform/mac/fast/multicol/pagination-h-vertical-lr-expected.png:
      * platform/mac/fast/multicol/pagination-h-vertical-rl-expected.png:
      * platform/mac/fast/multicol/pagination-v-horizontal-bt-expected.png:
      * platform/mac/fast/multicol/pagination-v-horizontal-tb-expected.png:
      * platform/mac/fast/multicol/pagination-v-vertical-lr-expected.png:
      * platform/mac/fast/multicol/pagination-v-vertical-rl-expected.png:
      * platform/mac/fast/multicol/positioned-with-constrained-height-expected.png:
      * platform/mac/fast/multicol/scrolling-overflow-expected.png:
      * platform/mac/fast/multicol/shadow-breaking-expected.png:
      * platform/mac/fast/multicol/span/anonymous-style-inheritance-expected.png:
      * platform/mac/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.png:
      * platform/mac/fast/multicol/span/span-as-immediate-child-generated-content-expected.png:
      * platform/mac/fast/multicol/span/span-as-immediate-child-property-removal-expected.png:
      * platform/mac/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.png:
      * platform/mac/fast/multicol/span/span-as-immediate-columns-child-expected.png:
      * platform/mac/fast/multicol/span/span-as-immediate-columns-child-removal-expected.png:
      * platform/mac/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png:
      * platform/mac/fast/multicol/span/span-as-nested-columns-child-expected.png:
      * platform/mac/fast/multicol/span/span-margin-collapsing-expected.png:
      * platform/mac/fast/multicol/table-vertical-align-expected.png:
      * platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.png:
      * platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.png:
      * platform/mac/fast/multicol/vertical-lr/float-multicol-expected.png:
      * platform/mac/fast/multicol/vertical-lr/float-paginate-complex-expected.png:
      * platform/mac/fast/multicol/vertical-lr/float-paginate-expected.png:
      * platform/mac/fast/multicol/vertical-lr/nested-columns-expected.png:
      * platform/mac/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png:
      * platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.png:
      * platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.png:
      * platform/mac/fast/multicol/vertical-rl/float-multicol-expected.png:
      * platform/mac/fast/multicol/vertical-rl/float-paginate-complex-expected.png:
      * platform/mac/fast/multicol/vertical-rl/float-paginate-expected.png:
      * platform/mac/fast/multicol/vertical-rl/nested-columns-expected.png:
      * platform/mac/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png:
      * platform/mac/fast/overflow/002-expected.png:
      * platform/mac/fast/overflow/003-expected.png:
      * platform/mac/fast/overflow/005-expected.png:
      * platform/mac/fast/overflow/006-expected.png:
      * platform/mac/fast/overflow/007-expected.png:
      * platform/mac/fast/overflow/008-expected.png:
      * platform/mac/fast/overflow/childFocusRingClip-expected.png:
      * platform/mac/fast/overflow/clip-rects-fixed-ancestor-expected.png:
      * platform/mac/fast/overflow/float-in-relpositioned-expected.png:
      * platform/mac/fast/overflow/hit-test-overflow-controls-expected.png:
      * platform/mac/fast/overflow/image-selection-highlight-expected.png:
      * platform/mac/fast/overflow/overflow-auto-position-absolute-expected.png:
      * platform/mac/fast/overflow/overflow-auto-table-expected.png:
      * platform/mac/fast/overflow/overflow-focus-ring-expected.png:
      * platform/mac/fast/overflow/overflow-rtl-expected.png:
      * platform/mac/fast/overflow/overflow-rtl-vertical-expected.png:
      * platform/mac/fast/overflow/overflow-stacking-expected.png:
      * platform/mac/fast/overflow/overflow-text-hit-testing-expected.png:
      * platform/mac/fast/overflow/overflow-update-transform-expected.png:
      * platform/mac/fast/overflow/overflow-with-local-background-attachment-expected.png:
      * platform/mac/fast/overflow/overflow-x-y-expected.png:
      * platform/mac/fast/overflow/position-fixed-transform-clipping-expected.png:
      * platform/mac/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.png:
      * platform/mac/fast/overflow/scrollRevealButton-expected.png:
      * platform/mac/fast/overflow/scrollbar-position-update-expected.png:
      * platform/mac/fast/overflow/table-overflow-float-expected.png:
      * platform/mac/fast/overflow/unreachable-overflow-rtl-bug-expected.png:
      * platform/mac/fast/parser/document-write-option-expected.png:
      * platform/mac/fast/reflections/reflection-direction-expected.png:
      * platform/mac/fast/reflections/reflection-masks-expected.png:
      * platform/mac/fast/reflections/reflection-masks-opacity-expected.png:
      * platform/mac/fast/reflections/reflection-masks-outset-expected.png:
      * platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.png:
      * platform/mac/fast/repaint/fixed-child-move-after-scroll-expected.png:
      * platform/mac/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png:
      * platform/mac/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png:
      * platform/mac/fast/repaint/fixed-expected.png:
      * platform/mac/fast/repaint/fixed-move-after-scroll-expected.png:
      * platform/mac/fast/repaint/fixed-tranformed-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-2-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-8-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-9-expected.png:
      * platform/mac/fast/repaint/moving-shadow-on-container-expected.png:
      * platform/mac/fast/repaint/moving-shadow-on-path-expected.png:
      * platform/mac/fast/repaint/overflow-scroll-body-appear-expected.png:
      * platform/mac/fast/repaint/repaint-during-scroll-expected.png:
      * platform/mac/fast/repaint/text-shadow-expected.png:
      * platform/mac/fast/repaint/text-shadow-horizontal-expected.png:
      * platform/mac/fast/replaced/005-expected.png:
      * platform/mac/fast/replaced/replaced-breaking-expected.png:
      * platform/mac/fast/replaced/width100percent-button-expected.png:
      * platform/mac/fast/replaced/width100percent-image-expected.png:
      * platform/mac/fast/selectors/166-expected.png:
      * platform/mac/fast/table/023-expected.png:
      * platform/mac/fast/table/027-vertical-expected.png:
      * platform/mac/fast/table/034-expected.png:
      * platform/mac/fast/table/038-vertical-expected.png:
      * platform/mac/fast/table/040-expected.png:
      * platform/mac/fast/table/040-vertical-expected.png:
      * platform/mac/fast/table/border-collapsing/002-vertical-expected.png:
      * platform/mac/fast/table/border-collapsing/004-expected.png:
      * platform/mac/fast/table/border-collapsing/004-vertical-expected.png:
      * platform/mac/fast/table/border-collapsing/equal-precedence-resolution-vertical-expected.png:
      * platform/mac/fast/table/edge-offsets-expected.png:
      * platform/mac/fast/table/empty-cells-expected.png:
      * platform/mac/fast/table/height-percent-test-expected.png:
      * platform/mac/fast/table/overflowHidden-expected.png:
      * platform/mac/fast/table/prepend-in-anonymous-table-expected.png:
      * platform/mac/fast/table/table-display-types-vertical-expected.png:
      * platform/mac/fast/table/wide-colspan-expected.png:
      * platform/mac/fast/table/wide-column-expected.png:
      * platform/mac/fast/text/backslash-to-yen-sign-euc-expected.png:
      * platform/mac/fast/text/capitalize-boundaries-expected.png:
      * platform/mac/fast/text/drawBidiText-expected.png:
      * platform/mac/fast/text/hyphenate-character-expected.png:
      * platform/mac/fast/text/hyphenate-limit-lines-expected.png:
      * platform/mac/fast/text/hyphenate-locale-expected.png:
      * platform/mac/fast/text/hyphens-expected.png:
      * platform/mac/fast/text/international/bidi-menulist-expected.png:
      * platform/mac/fast/text/international/bidi-neutral-run-expected.png:
      * platform/mac/fast/text/international/pop-up-button-text-alignment-and-direction-expected.png:
      * platform/mac/fast/text/international/thai-line-breaks-expected.png:
      * platform/mac/fast/text/international/vertical-text-glyph-test-expected.png:
      * platform/mac/fast/text/large-text-composed-char-expected.png:
      * platform/mac/fast/text/midword-break-after-breakable-char-expected.png:
      * platform/mac/fast/text/softHyphen-expected.png:
      * platform/mac/fast/text/stroking-decorations-expected.png:
      * platform/mac/fast/text/stroking-expected.png:
      * platform/mac/fast/text/text-letter-spacing-expected.png:
      * platform/mac/fast/text/wbr-expected.png:
      * platform/mac/fast/text/whitespace/024-expected.png:
      * platform/mac/fast/text/whitespace/normal-after-nowrap-breaking-expected.png:
      * platform/mac/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.png:
      * platform/mac/fast/text/word-break-expected.png:
      * platform/mac/fast/transforms/rotated-transform-affects-scrolling-1-expected.png:
      * platform/mac/fast/transforms/rotated-transform-affects-scrolling-2-expected.png:
      * platform/mac/fast/writing-mode/Kusa-Makura-background-canvas-expected.png:
      * platform/mac/fast/writing-mode/border-radius-clipping-vertical-lr-expected.png:
      * platform/mac/fast/writing-mode/box-shadow-vertical-lr-expected.png:
      * platform/mac/fast/writing-mode/box-shadow-vertical-rl-expected.png:
      * platform/mac/fast/writing-mode/fallback-orientation-expected.png:
      * platform/mac/fast/writing-mode/fieldsets-expected.png:
      * platform/mac/fast/writing-mode/japanese-rl-text-with-broken-font-expected.png:
      * platform/mac/fast/writing-mode/text-orientation-basic-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8b8bd14
    • simon.fraser@apple.com's avatar
      Borders and box masks behave incorrectly with overlapping offsets · 1d2fb93a
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=76137
      
      Source/WebCore:
      
      Reviewed by Dave Hyatt.
      
      When border-image-slice sizes add up to more than the height or width
      of the border-image, the middle sections should not be rendered, per spec.
      
      Test: fast/borders/border-image-slice-constrained.html
      
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::RenderBoxModelObject::paintNinePieceImage):
      
      LayoutTests:
      
      Reviewed by Dave Hyatt.
      
      Testcase with border-image slices adding up to more than the height/width
      of the border image.
      
      Fixed cross-fade-webkit-mask-box-image.html to use slices that are half
      of the image width.
      
      * animations/cross-fade-webkit-mask-box-image.html:
      * fast/borders/border-image-slice-constrained.html: Added.
      * platform/mac/animations/cross-fade-webkit-mask-box-image-expected.png:
      * platform/mac/fast/borders/border-image-slice-constrained-expected.png: Added.
      * platform/mac/fast/borders/border-image-slice-constrained-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d2fb93a
  3. 29 Dec, 2011 1 commit
  4. 14 Dec, 2011 1 commit
    • simon.fraser@apple.com's avatar
      Make -webkit-filter animatable · 7c888d8a
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=68476
      
      Source/WebCore:
      
      Reviewed by Chris Marrin.
      
      Add -webkit-filter to the list of CSS properties that are animatable. Animate
      it like we do transforms, by looking for matching lists of filter functions.
      Each kind of filter operation has a blend() method that handles blending
      for that filter.
      
      Test: css3/filters/filter-animation.html
      
      * GNUmakefile.list.am: Add FilterOperation.cpp to the build.
      * Target.pri: Ditto
      * WebCore.gypi: Ditto
      * WebCore.vcproj/WebCore.vcproj: Ditto
      * WebCore.xcodeproj/project.pbxproj: Ditto
      * page/animation/AnimationBase.cpp:
      (WebCore::blendFunc): New blendFunc() for FilterOperations, which does per-filter blending.
      (WebCore::AnimationBase::ensurePropertyMap): Make PropertyWrapper for filters.
      (WebCore::AnimationBase::AnimationBase): Adjust initialization order.
      * page/animation/AnimationBase.h: Adjusted the member variable order to minimize padding.
      (WebCore::AnimationBase::filterFunctionListsMatch): Accessor for the flag.
      * page/animation/ImplicitAnimation.cpp:
      (WebCore::ImplicitAnimation::reset):
      (WebCore::ImplicitAnimation::validateTransformFunctionList): Adjust comment. The "is valid" terminology is confusing.
      (WebCore::ImplicitAnimation::checkForMatchingFilterFunctionLists): New method to check for matching lists
      of filter functions.
      * page/animation/ImplicitAnimation.h:
      * page/animation/KeyframeAnimation.cpp:
      (WebCore::KeyframeAnimation::KeyframeAnimation):
      (WebCore::KeyframeAnimation::checkForMatchingFilterFunctionLists): New method to check for matching lists
      of filter functions.
      * page/animation/KeyframeAnimation.h:
      * rendering/style/FilterOperation.cpp: Added.
      (WebCore::BasicColorMatrixFilterOperation::blend):
      (WebCore::BasicColorMatrixFilterOperation::passthroughAmount):
      (WebCore::BasicComponentTransferFilterOperation::blend):
      (WebCore::BasicComponentTransferFilterOperation::passthroughAmount): Different filters have
      different values for m_amount for the "passthrough" behavior. This method returns the appropriate value.
      (WebCore::GammaFilterOperation::blend):
      (WebCore::BlurFilterOperation::blend):
      (WebCore::DropShadowFilterOperation::blend):
      * rendering/style/FilterOperation.h:
      (WebCore::FilterOperation::blend):
      (WebCore::PassthroughFilterOperation::create): New "no-op" filter.
      (WebCore::PassthroughFilterOperation::operator==):
      (WebCore::PassthroughFilterOperation::PassthroughFilterOperation):
      * rendering/style/FilterOperations.cpp:
      (WebCore::FilterOperations::operationsMatch):
      * rendering/style/FilterOperations.h:
      
      LayoutTests:
      
      Reviewed by Chris Marrin.
      
      New test for filter animation, and enhancements to animation-test-helpers.js
      for filters.
      
      * animations/resources/animation-test-helpers.js:
      (getFilterParameters):
      (filterParametersMatch):
      (checkExpectedValue):
      * css3/filters/filter-animation.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c888d8a
  5. 08 Dec, 2011 1 commit
    • timothy_horton@apple.com's avatar
      Enable animations of CSS images using -webkit-cross-fade · ad938aae
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=74049
      <rdar://problem/10209303>
      
      Reviewed by Simon Fraser.
      
      Add support for animating CSS images in the following properties:
          - background(-image)
          - border-image(-source)
          - list-style(-image)
          - -webkit-mask-box-image(-source)
          - -webkit-mask-image(-source)
      
      This patch only adds support for transitioning between NinePieceImages
      where all of the properties except the image itself are equal, and the
      size of the images are equal. Other cases will not animate.
      
      Add animation blend functions for StyleImage and NinePieceImage.
      
      Apply the proper compositing operation to -webkit-cross-fade, and
      fix handling of the destination and source areas to support scaling.
      
      Tests: animations/cross-fade-background-image.html
             animations/cross-fade-border-image-source.html
             animations/cross-fade-list-style-image.html
             animations/cross-fade-webkit-mask-box-image.html
             animations/cross-fade-webkit-mask-image.html
      
      * css/CSSCrossfadeValue.cpp:
      (WebCore::cachedImageForCSSValue):
      (WebCore::CSSCrossfadeValue::fixedSize):
      (WebCore::CSSCrossfadeValue::image):
      * css/CSSImageValue.cpp:
      (WebCore::CSSImageValue::CSSImageValue):
      * css/CSSImageValue.h:
      (WebCore::CSSImageValue::create):
      * page/animation/AnimationBase.cpp:
      (WebCore::crossfadeBlend):
      (WebCore::blendFunc):
      (WebCore::RefCountedPropertyWrapper::RefCountedPropertyWrapper):
      (WebCore::RefCountedPropertyWrapper::blend):
      (WebCore::FillLayerRefCountedPropertyWrapper::FillLayerRefCountedPropertyWrapper):
      (WebCore::FillLayerRefCountedPropertyWrapper::blend):
      (WebCore::FillLayersPropertyWrapper::FillLayersPropertyWrapper):
      (WebCore::AnimationBase::ensurePropertyMap):
      (WebCore::addShorthandProperties):
      * platform/graphics/CrossfadeGeneratedImage.cpp:
      (WebCore::CrossfadeGeneratedImage::drawCrossfade):
      (WebCore::CrossfadeGeneratedImage::draw):
      (WebCore::CrossfadeGeneratedImage::drawPattern):
      * platform/graphics/CrossfadeGeneratedImage.h:
      * rendering/style/RenderStyle.h:
      (WebCore::InheritedFlags::setMaskImage):
      
      Add tests of -webkit-animation (using -webkit-cross-fade) between:
          - background-image
          - border-image
          - list-style-image
          - -webkit-mask-box-image
          - -webkit-mask-image
      
      Add the ability for animation tests to compare an animated element to a static element.
      
      Add tests of -webkit-transition (using -webkit-cross-fade) between:
          - background-image
          - border-image
      
      * animations/cross-fade-background-image-expected.txt: Added.
      * animations/cross-fade-background-image.html: Added.
      * animations/cross-fade-border-image-source-expected.txt: Added.
      * animations/cross-fade-border-image-source.html: Added.
      * animations/cross-fade-list-style-image-expected.txt: Added.
      * animations/cross-fade-list-style-image.html: Added.
      * animations/cross-fade-webkit-mask-box-image-expected.txt: Added.
      * animations/cross-fade-webkit-mask-box-image.html: Added.
      * animations/cross-fade-webkit-mask-image-expected.txt: Added.
      * animations/cross-fade-webkit-mask-image.html: Added.
      * animations/resources/animation-test-helpers.js:
      (parseCrossFade):
      (checkExpectedValue):
      * animations/resources/blue-100.png: Added.
      * animations/resources/green-100.png: Added.
      * animations/resources/stripes-100.png: Added.
      * platform/mac/animations/cross-fade-background-image-expected.png: Added.
      * platform/mac/animations/cross-fade-border-image-source-expected.png: Added.
      * platform/mac/animations/cross-fade-list-style-image-expected.png: Added.
      * platform/mac/animations/cross-fade-webkit-mask-box-image-expected.png: Added.
      * platform/mac/animations/cross-fade-webkit-mask-image-expected.png: Added.
      * platform/mac/transitions/cross-fade-background-image-expected.png: Added.
      * platform/mac/transitions/cross-fade-border-image-expected.png: Added.
      * transitions/cross-fade-background-image-expected.txt: Added.
      * transitions/cross-fade-background-image.html: Added.
      * transitions/cross-fade-border-image-expected.txt: Added.
      * transitions/cross-fade-border-image.html: Added.
      * transitions/resources/transition-test-helpers.js:
      (expected):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102388 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad938aae
  6. 28 Nov, 2011 1 commit
  7. 18 Nov, 2011 1 commit
    • simon.fraser@apple.com's avatar
      Source/WebCore: Appearance of compound transform animations under apps linked... · 9ef517df
      simon.fraser@apple.com authored
      Source/WebCore: Appearance of compound transform animations under apps linked on SnowLeopard is incorrect
      https://bugs.webkit.org/show_bug.cgi?id=72641
      and
      <rdar://problem/10314267>
      
      Reviewed by Dean Jackson.
      
      GraphicsLayerCA contains a "linked on or after" check to account for a bug in
      Core Animation on SnowLeopard and earlier, which is that CA would apply the list
      of animations in reverse order.
      
      Our previous fix was incorrect, because it only adjusted the 'additive' property
      of the animation list based on ordering, rather than flipping the entire list.
      This change reverses the list of animations before giving them to CA, which fixes
      the bug.
      
      Test: animations/additive-transform-animations.html
      
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::appendToUncommittedAnimations):
      (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
      * platform/graphics/ca/GraphicsLayerCA.h:
      
      LayoutTests: Appearance of compound transform animations under apps linked on SnowLeopard is incorrect
      https://bugs.webkit.org/show_bug.cgi?id=72641
      
      Reviewed by Dean Jackson.
      
      Pixel test for a hardware-animated tranform, where order of operations matters.
      
      * animations/additive-transform-animations-expected.png: Added.
      * animations/additive-transform-animations.html: Added.
      * platform/mac/animations/additive-transform-animations-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ef517df
  8. 17 Nov, 2011 1 commit
    • steveblock@google.com's avatar
      Several animations/ tests flakily fail due to fragile setTimeout()-based framework · 99905016
      steveblock@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=66953
      
      Rebaselined missing-values-first-keyframe.html,
      missing-values-last-keyframe.html and opacity-transform-animation.html.
      Looks like these weren't quite right after
      http://trac.webkit.org/changeset/100520.
      
      Unreviewed gardening.
      
      * platform/chromium-cg-mac-snowleopard/animations/missing-values-last-keyframe-expected.txt: Copied from LayoutTests/animations/missing-values-last-keyframe-expected.txt.
      * platform/chromium-linux/animations/missing-values-first-keyframe-expected.png: Removed.
      * platform/chromium-linux/animations/missing-values-last-keyframe-expected.png: Removed.
      * platform/chromium-linux/animations/opacity-transform-animation-expected.png: Removed.
      * platform/chromium-mac-snowleopard/animations/missing-values-first-keyframe-expected.png: Removed.
      * platform/chromium-mac-snowleopard/animations/missing-values-last-keyframe-expected.png: Removed.
      * platform/chromium-mac-snowleopard/animations/opacity-transform-animation-expected.png: Removed.
      * platform/chromium-mac/animations/missing-values-first-keyframe-expected.png: Removed.
      * platform/chromium-mac/animations/missing-values-last-keyframe-expected.png: Removed.
      * platform/chromium-mac/animations/opacity-transform-animation-expected.png: Removed.
      * platform/chromium/animations/missing-values-first-keyframe-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/animations/missing-values-first-keyframe-expected.png.
      * platform/chromium/animations/missing-values-last-keyframe-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/animations/missing-values-last-keyframe-expected.png.
      * platform/chromium/animations/opacity-transform-animation-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/animations/opacity-transform-animation-expected.png.
      * platform/mac/animations/missing-values-first-keyframe-expected.txt: Renamed from LayoutTests/animations/missing-values-first-keyframe-expected.txt.
      * platform/mac/animations/missing-values-last-keyframe-expected.txt: Renamed from LayoutTests/animations/missing-values-last-keyframe-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99905016
  9. 03 Nov, 2011 2 commits
  10. 28 Oct, 2011 2 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r98776. · 9fcbc90c
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/98776
      https://bugs.webkit.org/show_bug.cgi?id=71164
      
      caused lots of test crashes (Requested by smfr on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-10-28
      
      Source/WebCore:
      
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::updateVisibilityStatus):
      (WebCore::RenderLayer::dirtyZOrderLists):
      * rendering/RenderLayer.h:
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::enableCompositingMode):
      
      LayoutTests:
      
      * animations/resources/animation-test-helpers.js:
      (checkExpectedValue):
      * compositing/visibility/animation-visibility-expected.png: Removed.
      * compositing/visibility/animation-visibility-expected.txt: Removed.
      * compositing/visibility/animation-visibility.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fcbc90c
    • simon.fraser@apple.com's avatar
      If visibility changes while an accelerated animation is running, element jumps around · 75c4cd98
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=29984
      
      Source/WebCore:
      
      Reviewed by Chris Marrin.
      
      Compositing now affects whether RenderLayers for visibility:hidden elements
      are included in z-order lists. So we have to dirty those lists when we enter
      compopsiting mode.
      
      Test: compositing/visibility/animation-visibility.html
      
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::updateVisibilityStatus): Removed trailing whitespace.
      (WebCore::RenderLayer::dirtyZOrderLists): Call dirtyZOrderListsInternal(), which doesn't have
      to ping the compositor.
      (WebCore::RenderLayer::dirtyZOrderListsInternal):
      (WebCore::RenderLayer::dirtyZOrderListsIncludingDescendants): Recursively dirty z-order
      lists.
      * rendering/RenderLayer.h:
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::enableCompositingMode): When going into compositing mode,
      dirty all z-order lists.
      
      LayoutTests:
      
      Reviewed by Chris Marrin.
      
      Add testcase for visibility changing in the middle of an accelerated animation.
      
      * animations/resources/animation-test-helpers.js: Add some constants for readability.
      (checkExpectedValue): Add support for testing 'visibility'.
      * compositing/visibility/animation-visibility-expected.png: Added.
      * compositing/visibility/animation-visibility-expected.txt: Added.
      * compositing/visibility/animation-visibility.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75c4cd98
  11. 02 Sep, 2011 1 commit
  12. 16 Aug, 2011 1 commit
  13. 23 Jun, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-06-23 Young Han Lee <joybro@company100.net> · 8b002bf4
      commit-queue@webkit.org authored
              Reviewed by Simon Fraser.
      
              runAnimationTest always fails if the pause API is enabled and the test target animation has "infinite" iteration count.
              https://bugs.webkit.org/show_bug.cgi?id=63152
      
              The pausing conditions are modified. Now it accepts the infinite-iteration-count,
              but rejects the zero-iteration-count. There is no reason to consider the zero-count meaning no animation.
      
              * animations/keyframes-infinite-iterations-expected.txt: Added.
              * animations/keyframes-infinite-iterations.html: Added.
      2011-06-23  Young Han Lee  <joybro@company100.net>
      
              Reviewed by Simon Fraser.
      
              runAnimationTest always fails if the pause API is enabled and the test target animation has "infinite" iteration count.
              https://bugs.webkit.org/show_bug.cgi?id=63152
      
              The pausing conditions are modified. Now it accepts the infinite-iteration-count,
              but rejects the zero-iteration-count. There is no reason to consider the zero-count meaning no animation.
      
              Test: animations/keyframes-infinite-iterations.html
      
              * page/animation/CompositeAnimation.cpp:
              (WebCore::CompositeAnimation::pauseAnimationAtTime):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b002bf4
  14. 22 Jun, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-06-22 Young Han Lee <joybro@company100.net> · 94b49a41
      commit-queue@webkit.org authored
              Reviewed by Simon Fraser.
      
              animation-timing-function property with a list uses first item for all animations
              https://bugs.webkit.org/show_bug.cgi?id=60303
      
              When an element has multiple animations that have different timingFunctions,
              the progress of each animation should be calculated using its respective timingFunction.
              But at this point, the timingFunction of the first animation is only used for the
              calculation, regardless of how many animations the element has.
      
              The code for getting a timingFunction is changed by this patch
              so that the timingFunction of the correct animation searched by its name will be used.
      
              * animations/multiple-animations-timing-function-expected.txt: Added.
              * animations/multiple-animations-timing-function.html: Added.
      2011-06-22  Young Han Lee  <joybro@company100.net>
      
              Reviewed by Simon Fraser.
      
              animation-timing-function property with a list uses first item for all animations
              https://bugs.webkit.org/show_bug.cgi?id=60303
      
              When an element has multiple animations that have different timingFunctions,
              the progress of each animation should be calculated using its respective timingFunction.
              But at this point, the timingFunction of the first animation is only used for the
              calculation, regardless of how many animations the element has.
      
              The code for getting a timingFunction is changed by this patch
              so that the timingFunction of the correct animation searched by its name will be used.
      
              Test: animations/multiple-animations-timing-function.html
      
              * page/animation/KeyframeAnimation.cpp:
              (WebCore::getAnimationFromStyleByName):
              (WebCore::KeyframeAnimation::fetchIntervalEndpointsForProperty):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94b49a41
  15. 13 Jun, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-06-13 Young Han Lee <joybro@company100.net> · 70102c12
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Texmap][Qt] Accelerated animation is repeating as if its direction property is always 'alternate'.
              https://bugs.webkit.org/show_bug.cgi?id=62281
      
              syncAnimations() has miscalculated a normalized progress value as if the animation always has alternate direction property.
      
              * animations/animation-direction-normal-expected.png: Added.
              * animations/animation-direction-normal-expected.txt: Added.
              * animations/animation-direction-normal.html: Added.
      2011-06-13  Young Han Lee  <joybro@company100.net>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Texmap][Qt] Accelerated animation is repeating as if its direction property is always 'alternate'.
              https://bugs.webkit.org/show_bug.cgi?id=62281
      
              syncAnimations() has miscalculated a normalized progress value as if the animation always has alternate direction property.
      
              Test: animations/animation-direction-normal.html
      
              * platform/graphics/texmap/TextureMapperNode.cpp:
              (WebCore::TextureMapperNode::syncAnimations):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70102c12
  16. 07 Jun, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-06-07 Young Han Lee <joybro@company100.net> · 09ee877f
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Texmap][Qt] Accelerated animation is not paused properly.
              https://bugs.webkit.org/show_bug.cgi?id=61446
      
              The transform matrix of an accelerated animation shouldn't be synced with the matrix of the GraphicsLayer when the animation is paused.
      
              * animations/play-state-paused-expected.png: Added.
              * animations/play-state-paused-expected.txt: Added.
              * animations/play-state-paused.html: Added.
      2011-06-07  Young Han Lee  <joybro@company100.net>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Texmap][Qt] Accelerated animation is not paused properly.
              https://bugs.webkit.org/show_bug.cgi?id=61446
      
              The transform matrix of an accelerated animation shouldn't be synced with the matrix of the GraphicsLayer when the animation is paused.
      
              Test: animations/play-state-paused.html
      
              * platform/graphics/texmap/TextureMapperNode.cpp:
              (WebCore::TextureMapperNode::syncCompositingStateSelf):
              (WebCore::TextureMapperNode::hasOpacityAnimation):
              (WebCore::TextureMapperNode::hasTransformAnimation):
              * platform/graphics/texmap/TextureMapperNode.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09ee877f
  17. 29 Apr, 2011 1 commit
    • dino@apple.com's avatar
      2011-04-29 Dean Jackson <dino@apple.com> · 08bd9326
      dino@apple.com authored
              Reviewed by Simon Fraser.
      
              https://bugs.webkit.org/show_bug.cgi?id=59149
              (Regression) Existing animations are not replaced when filling.
      
              Hardware animations that fill forwards were not being correctly
              replaced when the animation was removed. The actual animation
              logic was working correctly, but it wasn't deleting the
              CoreAnimation animation from the PlatformLayer. The fix was
              to explicitly call endAnimation when disconnecting the animation
              from its RenderObject.
      
              Test: animations/3d/replace-filling-transform.html
      
              * page/animation/AnimationBase.h:
              (WebCore::AnimationBase::clear): call endAnimation as the animation is cleared
      
      2011-04-29  Dean Jackson  <dino@apple.com>
      
              Reviewed by Simon Fraser.
      
              https://bugs.webkit.org/show_bug.cgi?id=59149
              (Regression) Existing animations are not replaced when filling.
      
              Add a test that exercises the case where a hardware animation
              is in a filling mode, then is replaced by a new animation.
      
              * animations/3d/replace-filling-transform-expected.txt: Added.
              * animations/3d/replace-filling-transform.html: Added.
              * animations/3d/replace-filling-transform-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08bd9326
  18. 26 Apr, 2011 1 commit
    • simon.fraser@apple.com's avatar
      2011-04-26 Simon Fraser <simon.fraser@apple.com> · 3d92c2b3
      simon.fraser@apple.com authored
              Reviewed by Daniel Bates.
      
              Convert some transition tests to use the pause API, and more cleanup
              https://bugs.webkit.org/show_bug.cgi?id=59490
      
              * animations/animation-drt-api.html:
              Fail message was the same as the pass message (doh!).
      
              * platform/chromium-linux/transitions/transition-drt-api-expected.png: Removed.
              * platform/chromium-win/transitions/transition-drt-api-expected.png: Removed.
              * platform/chromium-win/transitions/transition-drt-api-expected.txt: Removed.
              * platform/gtk/transitions/transition-drt-api-expected.txt: Removed.
              * platform/mac/transitions/transition-drt-api-expected.png: Removed.
              * platform/mac/transitions/transition-drt-api-expected.txt: Removed.
              * transitions/transition-drt-api-expected.txt: Added.
              * transitions/transition-drt-api.html:
              Made into a text test.
              * transitions/font-family-during-transition.html:
              Use the pause API.
              * transitions/transition-drt-api-delay.html:
              General cleanup.
              * transitions/bad-transition-shorthand-crash.html:
              Shorten the test.
              * transitions/border-radius-transition.html:
              * transitions/default-timing-function.html:
              * transitions/interrupt-zero-duration.html:
              Remove style attribute
              * transitions/color-transition-premultiplied.html:
              * transitions/transition-timing-function-expected.txt:
              * transitions/transition-timing-function.html:
              Use pause API.
              * transitions/inherit-other-props.html:
              * transitions/transform-op-list-match.html:
              Whitespace.
              * transitions/opacity-transition-zindex.html:
              Add FIXME.
              * transitions/transition-shorthand-delay-expected.txt:
              * transitions/transition-shorthand-delay.html:
              * transitions/zero-duration-with-non-zero-delay-start-expected.txt:
              * transitions/zero-duration-with-non-zero-delay-start.html:
              Use runTransitionTest().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84961 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d92c2b3
  19. 25 Apr, 2011 2 commits
    • simon.fraser@apple.com's avatar
      2011-04-25 Simon Fraser <simon.fraser@apple.com> · f13af24d
      simon.fraser@apple.com authored
              Reviewed by Daniel Bates.
      
              Make a couple of animation tests into text tests
              https://bugs.webkit.org/show_bug.cgi?id=59389
      
              * animations/animation-drt-api-multiple-keyframes.html:
              * animations/animation-drt-api.html:
              No need for these two to be text tests.
      
              * animations/state-at-end-event.html:
              General cleanup.
      
              * animations/animation-drt-api-expected.txt: Added.
              * animations/animation-drt-api-multiple-keyframes-expected.txt: Added.
              * animations/animation-drt-api-multiple-keyframes.html:
              * animations/animation-drt-api.html:
              * animations/state-at-end-event.html:
              * platform/mac/animations/animation-drt-api-expected.png: Removed.
              * platform/mac/animations/animation-drt-api-expected.txt: Removed.
              * platform/mac/animations/animation-drt-api-multiple-keyframes-expected.png: Removed.
              * platform/mac/animations/animation-drt-api-multiple-keyframes-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f13af24d
    • simon.fraser@apple.com's avatar
      2011-04-25 Simon Fraser <simon.fraser@apple.com> · 9353113f
      simon.fraser@apple.com authored
              Reviewed by Daniel Bates.
      
              Move animation-test-helpers.js into resources directory
              https://bugs.webkit.org/show_bug.cgi?id=59365
      
              Move animation-test-helpers.js and fix the tests accordingly.
      
              * animations/3d/matrix-transform-type-animation.html:
              * animations/3d/transform-perspective.html:
              * animations/animation-direction.html:
              * animations/animation-drt-api-multiple-keyframes.html:
              * animations/animation-drt-api.html:
              * animations/animation-hit-test-transform.html:
              * animations/animation-hit-test.html:
              * animations/big-rotation.html:
              * animations/change-keyframes-name.html:
              * animations/change-keyframes.html:
              * animations/change-one-anim.html:
              * animations/combo-transform-rotate+scale.html:
              * animations/dynamic-stylesheet-loading.html:
              * animations/generic-from-to.html:
              * animations/import.html:
              * animations/keyframe-timing-functions-transform.html:
              * animations/keyframe-timing-functions.html:
              * animations/keyframe-timing-functions2.html:
              * animations/keyframes-comma-separated.html:
              * animations/keyframes-out-of-order.html:
              * animations/keyframes.html:
              * animations/lineheight-animation.html:
              * animations/longhand-timing-function.html:
              * animations/matrix-anim.html:
              * animations/missing-from-to-transforms.html:
              * animations/missing-from-to.html:
              * animations/missing-keyframe-properties-repeating.html:
              * animations/missing-keyframe-properties-timing-function.html:
              * animations/missing-keyframe-properties.html:
              * animations/missing-values-first-keyframe.html:
              * animations/missing-values-last-keyframe.html:
              * animations/multiple-animations.html:
              * animations/multiple-keyframes.html:
              * animations/negative-delay.html:
              * animations/opacity-transform-animation.html:
              * animations/play-state-suspend.html:
              * animations/play-state.html:
              * animations/resources/animation-test-helpers.js:
              (isCloseEnough):
              (matrixStringToArray):
              (checkExpectedValue):
              (endTest):
              (startTest):
              (runAnimationTest.else):
              (runAnimationTest):
              (waitForAnimationToStart):
              * animations/simultaneous-start-left.html:
              * animations/simultaneous-start-transform.html:
              * animations/stop-animation-on-suspend.html:
              * animations/suspend-resume-animation.html:
              * animations/timing-functions.html:
              * animations/transition-and-animation-1.html:
              * animations/transition-and-animation-2.html:
              * animations/transition-and-animation-3.html:
              * animations/unanimated-style.html:
              * animations/width-using-ems.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9353113f
  20. 22 Apr, 2011 1 commit
  21. 21 Apr, 2011 1 commit
    • tony@chromium.org's avatar
      2011-04-21 Tony Chang <tony@chromium.org> · c3c26976
      tony@chromium.org authored
              Embed checksums in more png files.  Not sure how these were missed earlier.
      
              * animations/missing-values-first-keyframe-expected.png:
              * animations/missing-values-last-keyframe-expected.png:
              * animations/opacity-transform-animation-expected.png:
              * animations/suspend-transform-animation-expected.png:
              * compositing/backface-visibility-expected.png:
              * compositing/checkerboard-expected.png:
              * compositing/geometry/ancestor-overflow-change-expected.png:
              * compositing/geometry/tall-page-composited-expected.png:
              * compositing/iframes/composited-iframe-scroll-expected.png:
              * compositing/iframes/iframe-content-flipping-expected.png:
              * compositing/iframes/nested-iframe-scrolling-expected.png:
              * compositing/images/direct-pdf-image-expected.png:
              * compositing/images/direct-svg-image-expected.png:
              * compositing/overflow/zero-size-overflow-expected.png:
              * compositing/reflections/backface-hidden-reflection-expected.png:
              * compositing/reflections/remove-add-reflection-expected.png:
              * compositing/tiling/constrained-layer-size-expected.png:
              * compositing/z-order/negative-z-index-expected.png:
              * transforms/3d/general/cssmatrix-3d-zoom-expected.png:
              * transforms/3d/general/matrix-with-zoom-3d-expected.png:
              * transitions/suspend-transform-transition-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3c26976
  22. 25 Mar, 2011 1 commit
    • hyatt@apple.com's avatar
      Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=56909 · 14e332d9
      hyatt@apple.com authored
              
      Reviewed by Dan Bernstein.
      
      Add a simplified normal flow layout path optimization for overflow recomputation
      and for positioned objects inside relative positioned containers.
      
      Currently there is an optimized code path for positioned objects, but as soon as
      we encounter a normal flow object in the containing block chain, we lose the
      optimization.
      
      This patch adds a new type of style difference called SimplifiedLayout that is
      returned when only overflow needs to be recomputed. Whenever a transform changes,
      this is the hint returned now instead of a full layout.
              
      In addition, when positioned objects need layout and start marking up the
      containing block chain, we now propagate the fact that the layout is simplified
      all the way up to the root, even when we encounter normal flow containing
      blocks.
              
      The layoutOnlyPositionedObjects function has been renamed to simplifiedLayout()
      and is now used for all of these cases (in addition to what it handled before).
              
      The simplified layout optimization (even in ToT) did not work correctly when
      static distances needed to be recomputed. In order to make static distance
      computations work with simplified layout, positioned objects now always compute
      their static offsets, even if they explicitly specify left/top.  That way normal
      flow layout never has to re-run when the positioned object moves.  This makes
      movement of a positioned object along a single non-auto axis much faster when the
      other axis is auto. Because this code kicked in more often for absolutely positioned
      objects whose original display was inline, I went ahead and fixed the trailing space
      issue with those objects.  This causes a bunch of layout tests to progress.
      
      Added fast/block/positioning/static-inline-position-dynamic.html and trailing-space-test.html.
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::layoutBlock):
      (WebCore::RenderBlock::adjustPositionedBlock):
      (WebCore::RenderBlock::simplifiedNormalFlowLayout):
      (WebCore::RenderBlock::simplifiedLayout):
      * rendering/RenderBlock.h:
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setStaticPositions):
      (WebCore::RenderBlock::findNextLineBreak):
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::styleDidChange):
      (WebCore::RenderBox::positionLineBox):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::RenderBoxModelObject::styleWillChange):
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::layoutBlock):
      (WebCore::RenderFlexibleBox::layoutHorizontalBox):
      (WebCore::RenderFlexibleBox::layoutVerticalBox):
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::RenderObject):
      (WebCore::RenderObject::adjustStyleDifference):
      (WebCore::RenderObject::setStyle):
      (WebCore::RenderObject::styleDidChange):
      * rendering/RenderObject.h:
      (WebCore::RenderObject::needsLayout):
      (WebCore::RenderObject::needsPositionedMovementLayoutOnly):
      (WebCore::RenderObject::needsSimplifiedNormalFlowLayout):
      (WebCore::RenderObject::setNeedsLayout):
      (WebCore::RenderObject::setChildNeedsLayout):
      (WebCore::RenderObject::setNeedsSimplifiedNormalFlowLayout):
      (WebCore::RenderObject::markContainingBlocksForLayout):
      * rendering/RenderTable.cpp:
      (WebCore::RenderTable::layout):
      * rendering/style/RenderStyle.cpp:
      (WebCore::RenderStyle::diff):
      * rendering/style/RenderStyleConstants.h:
      * rendering/svg/RenderSVGText.cpp:
      (WebCore::RenderSVGText::layout):
      
      LayoutTests: Add a simplified normal flow layout path optimization for overflow recomputation
      and for positioned objects inside relative positioned containers.
      
      Reviewed by Dan Bernstein.
      
      Currently there is an optimized code path for positioned objects, but as soon as
      we encounter a normal flow object in the containing block chain, we lose the
      optimization.
      
      This patch adds a new type of style difference called SimplifiedLayout that is
      returned when only overflow needs to be recomputed. Whenever a transform changes,
      this is the hint returned now instead of a full layout.
              
      In addition, when positioned objects need layout and start marking up the
      containing block chain, we now propagate the fact that the layout is simplified
      all the way up to the root, even when we encounter normal flow containing
      blocks.
              
      The layoutOnlyPositionedObjects function has been renamed to simplifiedLayout()
      and is now used for all of these cases (in addition to what it handled before).
              
      The simplified layout optimization (even in ToT) did not work correctly when
      static distances needed to be recomputed. In order to make static distance
      computations work with simplified layout, positioned objects now always compute
      their static offsets, even if they explicitly specify left/top.  That way normal
      flow layout never has to re-run when the positioned object moves.  This makes
      movement of a positioned object along a single non-auto axis much faster when the
      other axis is auto. Because this code kicked in more often for absolutely positioned
      objects whose original display was inline, I went ahead and fixed the trailing space
      issue with those objects.  This causes a bunch of layout tests to progress.
      
      Added fast/block/positioning/static-inline-position-dynamic.html and trailing-space-test.html.
      
      * animations/dynamic-stylesheet-loading-expected.txt:
      * animations/keyframe-timing-functions-expected.txt:
      * fast/block/positioning/static-inline-position-dynamic.html: Added.
      * fast/block/positioning/trailing-space-test.html: Added.
      * fast/dynamic/ancestor-to-absolute-expected.txt:
      * fast/forms/input-appearance-elementFromPoint-expected.txt:
      * fast/forms/input-hit-test-border-expected.txt:
      * platform/mac/fast/block/positioning/002-expected.png:
      * platform/mac/fast/block/positioning/003-expected.png:
      * platform/mac/fast/block/positioning/004-expected.png:
      * platform/mac/fast/block/positioning/005-expected.png:
      * platform/mac/fast/block/positioning/006-expected.png:
      * platform/mac/fast/block/positioning/007-expected.png:
      * platform/mac/fast/block/positioning/008-expected.png:
      * platform/mac/fast/block/positioning/009-expected.png:
      * platform/mac/fast/block/positioning/010-expected.png:
      * platform/mac/fast/block/positioning/011-expected.png:
      * platform/mac/fast/block/positioning/012-expected.png:
      * platform/mac/fast/block/positioning/013-expected.png:
      * platform/mac/fast/block/positioning/014-expected.png:
      * platform/mac/fast/block/positioning/015-expected.png:
      * platform/mac/fast/block/positioning/016-expected.png:
      * platform/mac/fast/block/positioning/017-expected.png:
      * platform/mac/fast/block/positioning/018-expected.png:
      * platform/mac/fast/block/positioning/019-expected.png:
      * platform/mac/fast/block/positioning/020-expected.png:
      * platform/mac/fast/block/positioning/021-expected.png:
      * platform/mac/fast/block/positioning/022-expected.png:
      * platform/mac/fast/block/positioning/023-expected.png:
      * platform/mac/fast/block/positioning/024-expected.png:
      * platform/mac/fast/block/positioning/025-expected.png:
      * platform/mac/fast/block/positioning/026-expected.png:
      * platform/mac/fast/block/positioning/027-expected.png:
      * platform/mac/fast/block/positioning/028-expected.png:
      * platform/mac/fast/block/positioning/029-expected.png:
      * platform/mac/fast/block/positioning/030-expected.png:
      * platform/mac/fast/block/positioning/031-expected.png:
      * platform/mac/fast/block/positioning/032-expected.png:
      * platform/mac/fast/block/positioning/033-expected.png:
      * platform/mac/fast/block/positioning/034-expected.png:
      * platform/mac/fast/block/positioning/035-expected.png:
      * platform/mac/fast/block/positioning/036-expected.png:
      * platform/mac/fast/block/positioning/037-expected.png:
      * platform/mac/fast/block/positioning/038-expected.png:
      * platform/mac/fast/block/positioning/039-expected.png:
      * platform/mac/fast/block/positioning/040-expected.png:
      * platform/mac/fast/block/positioning/041-expected.png:
      * platform/mac/fast/block/positioning/042-expected.png:
      * platform/mac/fast/block/positioning/043-expected.png:
      * platform/mac/fast/block/positioning/044-expected.png:
      * platform/mac/fast/block/positioning/045-expected.png:
      * platform/mac/fast/block/positioning/046-expected.png:
      * platform/mac/fast/block/positioning/047-expected.checksum:
      * platform/mac/fast/block/positioning/047-expected.png:
      * platform/mac/fast/block/positioning/048-expected.png:
      * platform/mac/fast/block/positioning/049-expected.png:
      * platform/mac/fast/block/positioning/050-expected.png:
      * platform/mac/fast/block/positioning/056-expected.txt:
      * platform/mac/fast/block/positioning/061-expected.png:
      * platform/mac/fast/block/positioning/062-expected.png:
      * platform/mac/fast/block/positioning/auto/005-expected.txt:
      * platform/mac/fast/block/positioning/auto/006-expected.txt:
      * platform/mac/fast/block/positioning/auto/007-expected.png:
      * platform/mac/fast/block/positioning/auto/vertical-lr/005-expected.txt:
      * platform/mac/fast/block/positioning/auto/vertical-lr/006-expected.txt:
      * platform/mac/fast/block/positioning/auto/vertical-lr/007-expected.checksum:
      * platform/mac/fast/block/positioning/auto/vertical-lr/007-expected.png:
      * platform/mac/fast/block/positioning/auto/vertical-rl/005-expected.txt:
      * platform/mac/fast/block/positioning/auto/vertical-rl/006-expected.txt:
      * platform/mac/fast/block/positioning/auto/vertical-rl/007-expected.checksum:
      * platform/mac/fast/block/positioning/auto/vertical-rl/007-expected.png:
      * platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.txt:
      * platform/mac/fast/block/positioning/inline-block-relposition-expected.checksum:
      * platform/mac/fast/block/positioning/inline-block-relposition-expected.png:
      * platform/mac/fast/block/positioning/inline-block-relposition-expected.txt:
      * platform/mac/fast/block/positioning/move-with-auto-width-expected.png:
      * platform/mac/fast/block/positioning/negative-rel-position-expected.png:
      * platform/mac/fast/block/positioning/relative-overconstrained-expected.png:
      * platform/mac/fast/block/positioning/relative-overflow-block-expected.txt:
      * platform/mac/fast/block/positioning/static-inline-position-dynamic-expected.checksum: Added.
      * platform/mac/fast/block/positioning/static-inline-position-dynamic-expected.png: Added.
      * platform/mac/fast/block/positioning/static-inline-position-dynamic-expected.txt: Added.
      * platform/mac/fast/block/positioning/trailing-space-test-expected.checksum: Added.
      * platform/mac/fast/block/positioning/trailing-space-test-expected.png: Added.
      * platform/mac/fast/block/positioning/trailing-space-test-expected.txt: Added.
      * platform/mac/fast/clip/001-expected.txt:
      * platform/mac/fast/clip/004-expected.txt:
      * platform/mac/fast/clip/006-expected.txt:
      * platform/mac/fast/clip/007-expected.txt:
      * platform/mac/fast/clip/008-expected.txt:
      * platform/mac/fast/clip/009-expected.txt:
      * platform/mac/fast/clip/010-expected.txt:
      * platform/mac/fast/clip/011-expected.txt:
      * platform/mac/fast/clip/012-expected.txt:
      * platform/mac/fast/clip/013-expected.txt:
      * platform/mac/fast/clip/014-expected.txt:
      * platform/mac/fast/clip/nestedTransparencyClip-expected.txt:
      * platform/mac/fast/clip/outline-overflowClip-expected.txt:
      * platform/mac/fast/forms/input-appearance-preventDefault-expected.txt:
      * platform/mac/fast/invalid/014-expected.txt:
      * platform/mac/fast/layers/layer-visibility-expected.txt:
      * platform/mac/fast/repaint/layout-state-scrolloffset-expected.txt:
      * platform/mac/fast/repaint/layout-state-scrolloffset2-expected.txt:
      * platform/mac/fast/repaint/layout-state-scrolloffset3-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug51140-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14e332d9
  23. 21 Mar, 2011 1 commit
    • dino@apple.com's avatar
      2011-03-21 Dean Jackson <dino@apple.com> · 6e90f5a6
      dino@apple.com authored
              Reviewed by Chris Marrin and Simon Fraser.
      
              https://bugs.webkit.org/show_bug.cgi?id=56325
              ASSERTION FAILED: paused() in AnimationBase::updateStateMachine()
      
              AnimationBase had a custom linked-list/self-pointer for keeping
              track of animations that needed to be notified of style updates
              and start progress. This caused problems when AnimationBase was
              destroyed, since the pointer wasn't managed in any way. I replaced
              these pointers with HashSets and moved the code that removes animations
              from the sets into AnimationControllerPrivate, where it belongs.
              CompositeAnimation is also more careful to tell AnimationControllerPrivate
              when it no longer needs to keep track of waiting animations.
      
              This should stop the style updates being called on non-active animations
              (which was the cause of the state machine error here) and should also
              stop a few of the related flakey test failures and occasional crashes.
      
              Test: animations/body-removal-crash.html
      
              * page/animation/AnimationBase.cpp:
              (WebCore::AnimationBase::AnimationBase):
              (WebCore::AnimationBase::updateStateMachine):
              * page/animation/AnimationBase.h:
              (WebCore::AnimationBase::~AnimationBase):
              - Remove the linked-list
              * page/animation/AnimationController.cpp:
              (WebCore::AnimationControllerPrivate::AnimationControllerPrivate):
              (WebCore::AnimationControllerPrivate::addToAnimationsWaitingForStyle):
              (WebCore::AnimationControllerPrivate::removeFromAnimationsWaitingForStyle):
              (WebCore::AnimationControllerPrivate::styleAvailable):
              (WebCore::AnimationControllerPrivate::addToAnimationsWaitingForStartTimeResponse):
              (WebCore::AnimationControllerPrivate::removeFromAnimationsWaitingForStartTimeResponse):
              (WebCore::AnimationControllerPrivate::startTimeResponse):
              (WebCore::AnimationControllerPrivate::animationWillBeRemoved):
              - New method to remove animations from the waiting lists
              * page/animation/AnimationControllerPrivate.h:
              - use a HashSet rather than an AnimationBase* pointer.
              * page/animation/CompositeAnimation.cpp:
              (WebCore::CompositeAnimation::~CompositeAnimation):
              (WebCore::CompositeAnimation::clearRenderer):
              (WebCore::CompositeAnimation::updateTransitions):
              (WebCore::CompositeAnimation::updateKeyframeAnimations):
              - remove the animations and transitions from the lists when we know
                they are no longer active (rather than waiting for the AnimationBase
                to do it when destructing)
      
      2011-03-21  Dean Jackson  <dino@apple.com>
      
              Reviewed by Chris Marrin and Simon Fraser.
      
              https://bugs.webkit.org/show_bug.cgi?id=56325
              ASSERTION FAILED: paused() in AnimationBase::updateStateMachine()
      
              Add a test that triggers the assertion by removing the <body>
              element and re-inserting it.
      
              While not directly related to this bug, the
              transform-origin-vs-functions test would occasionally fail because it
              depended on the order of events being fired. The update to the way
              animations are keeping their state triggered this more often. Now the
              output is sorted before finishing the test.
      
              * animations/3d/transform-origin-vs-functions.html:
              * animations/body-removal-crash.html: Added.
              * platform/mac/animations/body-removal-crash-expected.checksum: Added.
              * platform/mac/animations/body-removal-crash-expected.png: Added.
              * platform/mac/animations/body-removal-crash-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e90f5a6
  24. 11 Mar, 2011 1 commit
    • dino@apple.com's avatar
      2011-03-11 Dean Jackson <dino@apple.com> · 45cdb20d
      dino@apple.com authored
              Reviewed by Simon Fraser and Chris Marrin.
      
              https://bugs.webkit.org/show_bug.cgi?id=54151
              Implement an API to play/pause/scrub animations
      
              This is Part 1. Adds the new WebKitAnimation and WebKitAnimationList
              APIs, exposed via Element.getWebKitAnimations(). This first pass
              is a read-only API - a subsequent commit will add the ability
              to scrub animations.
      
              Test: animations/animation-api-1.html
      
              * Android.derived.jscbindings.mk:
              * Android.derived.v8bindings.mk:
              * Android.mk:
              * Android.v8bindings.mk:
              * CMakeLists.txt:
              * CodeGenerators.pri:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              - All build settings updated for new files
              * bindings/js/JSBindingsAllInOne.cpp:
              - Include new custom files
              * bindings/js/JSWebKitAnimationCustom.cpp: Added.
              (WebCore::JSWebKitAnimation::iterationCount):
              - Custom property getter so that we can return INFINITY
              * bindings/js/JSWebKitAnimationListCustom.cpp: Added.
              (WebCore::JSWebKitAnimationList::markChildren):
              - Make sure WebKitAnimations are marked
              * bindings/v8/custom/V8WebKitAnimationCustom.cpp: Added.
              (WebCore::V8WebkitAnimation::iterationCountAccessorGetter):
              - Custom property getter so that we can return INFINITY
              * dom/Element.cpp:
              (WebCore::Element::webkitGetAnimations):
              * dom/Element.h:
              * dom/Element.idl:
              - New API entry point
              * page/DOMWindow.idl:
              - Constructor definitions for WebKitAnimation and WebKitAnimationList
              * page/animation/AnimationBase.cpp:
              (WebCore::AnimationBase::~AnimationBase):
              - Since AnimationBase can now live longer (if a WebKitAnimation is
              held in Javascript) we need to guard for the renderer having disappeared.
              (WebCore::AnimationBase::setElapsedTime):
              (WebCore::AnimationBase::play):
              (WebCore::AnimationBase::pause):
              - Stub implementations at present
              * page/animation/AnimationBase.h:
              (WebCore::AnimationBase::animation):
              - Expose the Animation properties
              * page/animation/AnimationController.cpp:
              (WebCore::AnimationControllerPrivate::animationsForRenderer):
              (WebCore::AnimationController::animationsForRenderer):
              - Builds the list of WebKitAnimations
              * page/animation/AnimationController.h:
              * page/animation/AnimationControllerPrivate.h:
              * page/animation/CompositeAnimation.cpp:
              (WebCore::CompositeAnimation::updateKeyframeAnimations):
              - Make sure we clear the renderer if we are removing the animation
              (WebCore::CompositeAnimation::animations):
              * page/animation/CompositeAnimation.h:
              * page/animation/WebKitAnimation.cpp: Added.
              (WebCore::WebKitAnimation::WebKitAnimation):
              (WebCore::WebKitAnimation::name):
              (WebCore::WebKitAnimation::duration):
              (WebCore::WebKitAnimation::elapsedTime):
              (WebCore::WebKitAnimation::setElapsedTime):
              (WebCore::WebKitAnimation::delay):
              (WebCore::WebKitAnimation::iterationCount):
              (WebCore::WebKitAnimation::paused):
              (WebCore::WebKitAnimation::ended):
              (WebCore::WebKitAnimation::direction):
              (WebCore::WebKitAnimation::fillMode):
              (WebCore::WebKitAnimation::pause):
              (WebCore::WebKitAnimation::play):
              - The implementation of the new API. All the read-only parts are
              done, but elapsedTime, play() and pause() are stubs.
              * page/animation/WebKitAnimation.h: Added.
              (WebCore::WebKitAnimation::create):
              (WebCore::WebKitAnimation::~WebKitAnimation):
              * page/animation/WebKitAnimation.idl: Added.
              * page/animation/WebKitAnimationList.cpp: Added.
              * page/animation/WebKitAnimationList.h: Added.
              * page/animation/WebKitAnimationList.idl: Added.
              - Copies NodeList implementation
      
      2011-03-11  Dean Jackson  <dino@apple.com>
      
              Reviewed by Simon Fraser and Chris Marrin.
      
              https://bugs.webkit.org/show_bug.cgi?id=54151
              Implement an API to play/pause/scrub animations
      
              This is Part 1. Adds the new WebKitAnimation and WebKitAnimationList
              APIs, exposed via Element.getWebKitAnimations(). This first pass
              is read-only. One new layout test that examines animation
              properties. Update existing layout tests for the new interfaces
              on Window.
      
              * animations/animation-api-1-expected.txt: Added.
              * animations/animation-api-1.html: Added.
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * fast/dom/prototype-inheritance-2-expected.txt:
              * fast/dom/prototype-inheritance-expected.txt:
              * fast/js/global-constructors-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45cdb20d
  25. 20 Feb, 2011 1 commit
    • simon.fraser@apple.com's avatar
      2011-02-20 Simon Fraser <simon.fraser@apple.com> · 47d946d3
      simon.fraser@apple.com authored
              Reviewed by Dirk Schulze.
      
              REGRESSION (r73369-r73405): transform animation interpolates incorrectly
              https://bugs.webkit.org/show_bug.cgi?id=54793
      
              After the refactoring in r73380, the ending state for some types of
              accelerated animations was computed incorrectly, because the TransformationMatrix
              wasn't reset to identity before the ending value transformations were applied.
      
              Fix by cleaning up the code to use explicit, separate values for
              starting and ending values. Only matrix-type animations had this
              issue, but cleaned up other clauses similarly.
      
              Test: animations/3d/matrix-transform-type-animation.html
      
              * platform/graphics/ca/GraphicsLayerCA.cpp:
              (WebCore::GraphicsLayerCA::setTransformAnimationEndpoints):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47d946d3
  26. 26 Jan, 2011 1 commit
  27. 24 Jan, 2011 1 commit
    • simon.fraser@apple.com's avatar
      2011-01-24 Simon Fraser <simon.fraser@apple.com> · 1cd2b884
      simon.fraser@apple.com authored
              Reviewed by Chris Marrin.
      
              perspective() transform function should take lengths
              https://bugs.webkit.org/show_bug.cgi?id=52683
      
              The argument to the perspective() transform function should
              be a Length, rather than a bare number. Bare numbers are still
              accepted (and treated as px), but this behavior is deprecated.
      
              Test: animations/3d/transform-perspective.html
                    transforms/3d/general/3dtransform-values.html
      
              * css/CSSParser.cpp:
              (WebCore::CSSParser::parseTransform): Check the units for the perspective()
              function. Allow bare numbers for backwards compatibility.
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::createTransformOperations): Convert
              value to Length.
              * platform/graphics/transforms/PerspectiveTransformOperation.cpp:
              (WebCore::clampToPostiveInteger): Helper.
              (WebCore::PerspectiveTransformOperation::blend): Blend via Lengths.
              * platform/graphics/transforms/PerspectiveTransformOperation.h:
              (WebCore::PerspectiveTransformOperation::create): double -> Length.
              (WebCore::PerspectiveTransformOperation::perspective): Ditto.
              (WebCore::PerspectiveTransformOperation::isIdentity): Ditto.
              (WebCore::PerspectiveTransformOperation::apply): Ditto.
              (WebCore::PerspectiveTransformOperation::PerspectiveTransformOperation): Assert
              that the Length is a fixed type.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cd2b884
  28. 07 Jan, 2011 1 commit
    • jamesr@google.com's avatar
      2011-01-07 James Robinson <jamesr@chromium.org> · f894f68c
      jamesr@google.com authored
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * animations/animation-time-expected.txt: Removed.
              * animations/animation-time.html: Removed.
              * animations/script-tests/animation-time.js: Removed.
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/gtk/fast/dom/Window/window-properties-expected.txt:
              * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::paintInvalidatedRegion):
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/DOMWindow.cpp:
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/Page.cpp:
              (WebCore::Page::Page):
              * page/Page.h:
              * page/animation/AnimationController.cpp:
              (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
              * page/animation/AnimationTimeController.cpp: Removed.
              * page/animation/AnimationTimeController.h: Removed.
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * public/WebWidget.h:
              * src/WebPopupMenuImpl.cpp:
              * src/WebPopupMenuImpl.h:
              * src/WebViewImpl.cpp:
              * src/WebViewImpl.h:
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView drawRect:]):
              * WebView/WebView.mm:
              (layerSyncRunLoopObserverCallBack):
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
              (WebKit::ChunkedUpdateDrawingArea::display):
              (WebKit::ChunkedUpdateDrawingArea::setSize):
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::WebPage::drawRect):
              * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
              (WebKit::LayerBackedDrawingArea::syncCompositingLayers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f894f68c
  29. 06 Jan, 2011 1 commit
    • jamesr@google.com's avatar
      2011-01-06 James Robinson <jamesr@chromium.org> · c0dca2a1
      jamesr@google.com authored
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              Tests for window.webkitAnimationTime.
      
              * animations/animation-time-expected.txt: Added.
              * animations/animation-time.html: Added.
              * animations/script-tests/animation-time.js: Added.
      2011-01-06  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              Chromium DRT support for webkitAnimationTime.
      
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::paintInvalidatedRegion):
      2011-01-06  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              Implements mozilla's animationTime property as described here:
              https://developer.mozilla.org/en/DOM/window.mozAnimationStartTime
              and http://hacks.mozilla.org/2010/08/more-efficient-javascript-animations-with-mozrequestanimationframe/
              The property is called webkitAnimationTime as calling it the 'Start' time is not very informative.
              This property exposes a notion of a 'current' time to use for declarative animations and allows
              scripts to synchronize imperative animations with declarative ones if they choose to.  Once queried
              this time is saved and used for all declarative animation updates until the embedder paints/composites
              the next frame and clears it, or 15ms elapse (in case the embedder isn't producing frames, for example
              if the page is in a background tab).
      
              This patch also ensures that all declarative animations started in the same script execution block
              are synchronized even if some time elapses while script is running.
      
              Test: fast/animation/animation-time.html
      
              * WebCore.gypi:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::webkitAnimationTime):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/Frame.cpp:
              (WebCore::Frame::currentAnimationTime):
              * page/Frame.h:
              * page/Page.cpp:
              (WebCore::Page::Page):
              * page/Page.h:
              (WebCore::Page::animationTime):
              * page/animation/AnimationController.cpp:
              (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
              * page/animation/AnimationTimeController.cpp: Added.
              (WebCore::AnimationTimeController::AnimationTimeController):
              (WebCore::AnimationTimeController::~AnimationTimeController):
              (WebCore::AnimationTimeController::currentAnimationTime):
              (WebCore::AnimationTimeController::clearCurrentAnimationTime):
              (WebCore::AnimationTimeController::clearCurrentAnimationTimeTimerFired):
              * page/animation/AnimationTimeController.h: Added.
              (WebCore::AnimationTimeController::create):
      2011-01-06  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              WebKit API support for webkitAnimationTime.
      
              * public/WebWidget.h:
              * src/WebPopupMenuImpl.cpp:
              (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime):
              * src/WebPopupMenuImpl.h:
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::clearCurrentAnimationTime):
              * src/WebViewImpl.h:
      2011-01-06  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              Tells the page to clear the current animation time after producing a frame.
      
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::WebPage::drawRect):
              * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
              (WebKit::ChunkedUpdateDrawingArea::display):
              (WebKit::ChunkedUpdateDrawingArea::setSize):
              * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
              (WebKit::LayerBackedDrawingArea::syncCompositingLayers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0dca2a1
  30. 14 Dec, 2010 1 commit
  31. 09 Nov, 2010 1 commit
  32. 05 Nov, 2010 2 commits
  33. 02 Nov, 2010 1 commit
  34. 27 Oct, 2010 1 commit
    • simon.fraser@apple.com's avatar
      2010-10-27 Simon Fraser <simon.fraser@apple.com> · 4c723aa1
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              Accelerated animation with missing values in keyframes is broken
              https://bugs.webkit.org/show_bug.cgi?id=48395
      
              r66339 changed the behavior of keyframe animations such that if a property
              is missing from a keyframe, the property will be interpolated between those
              keyframes that do have a value for the property. If a value is missing
              from the first or last keyframes, the element's unanimated style supplies
              that value.
      
              However, accelerated animations had a bug where if a value was missing
              from the first (and maybe subsequent) or last (and maybe preceding) keyframes,
              the animation data given to the GraphicsLayer would be missing the style from the
              first or final keyframe.
      
              Tests: animations/missing-values-first-keyframe.html
                     animations/missing-values-last-keyframe.html
      
              * rendering/RenderLayerBacking.cpp:
              (WebCore::RenderLayerBacking::startAnimation):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c723aa1