haikuwebkit/LayoutTests/css3/masking/clip-path-animation.html

87 lines
2.5 KiB
HTML
Raw Permalink Normal View History

[Web Animations] Turn Web Animations with CSS integration on https://bugs.webkit.org/show_bug.cgi?id=184819 <rdar://problem/39597337> Reviewed by Dean Jackson. LayoutTests/imported/mozilla: * css-animations/test_animation-cancel.html: * css-animations/test_animation-computed-timing.html: * css-animations/test_animation-currenttime.html: * css-animations/test_animation-finish.html: * css-animations/test_animation-finished.html: * css-animations/test_animation-id.html: * css-animations/test_animation-pausing.html: * css-animations/test_animation-playstate.html: * css-animations/test_animation-ready.html: * css-animations/test_animation-reverse.html: * css-animations/test_animation-starttime.html: * css-animations/test_animations-dynamic-changes.html: * css-animations/test_cssanimation-animationname.html: * css-animations/test_document-get-animations.html: * css-animations/test_effect-target.html: * css-animations/test_element-get-animations.html: * css-animations/test_event-dispatch.html: * css-animations/test_event-order.html: * css-animations/test_keyframeeffect-getkeyframes.html: * css-animations/test_pseudoElement-get-animations.html: * css-animations/test_setting-effect.html: * css-transitions/test_animation-cancel.html: * css-transitions/test_animation-computed-timing.html: * css-transitions/test_animation-currenttime.html: * css-transitions/test_animation-finished.html: * css-transitions/test_animation-pausing.html: * css-transitions/test_animation-ready.html: * css-transitions/test_animation-starttime.html: * css-transitions/test_csstransition-transitionproperty.html: * css-transitions/test_document-get-animations.html: * css-transitions/test_effect-target.html: * css-transitions/test_element-get-animations.html: * css-transitions/test_event-dispatch.html: * css-transitions/test_keyframeeffect-getkeyframes.html: * css-transitions/test_pseudoElement-get-animations.html: * css-transitions/test_setting-effect.html: LayoutTests/imported/w3c: * web-platform-tests/css-timing-1/frames-timing-functions-output.html: * web-platform-tests/css/css-logical/animation-003.tentative.html: * web-platform-tests/css/css-scoping/keyframes-001.html: * web-platform-tests/web-animations/animation-model/keyframe-effects/effect-value-context.html: * web-platform-tests/web-animations/interfaces/Animatable/animate.html: * web-platform-tests/web-animations/timing-model/animations/current-time.html: Source/WebCore: * page/RuntimeEnabledFeatures.h: Source/WebKit: * Shared/WebPreferences.yaml: Source/WebKitLegacy/mac: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): Source/WebKitLegacy/win: * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Tools: * DumpRenderTree/TestOptions.h: LayoutTests: * TestExpectations: * animations/3d/matrix-transform-type-animation.html: * animations/3d/replace-filling-transform.html: * animations/3d/transform-origin-vs-functions.html: * animations/3d/transform-perspective.html: * animations/additive-transform-animations.html: * animations/animation-border-overflow.html: * animations/animation-callback-timestamp.html: * animations/animation-controller-drt-api.html: * animations/animation-direction-alternate-reverse-expected.txt: * animations/animation-direction-alternate-reverse.html: * animations/animation-direction-reverse-fill-mode-hardware.html: * animations/animation-direction-reverse-hardware-opacity.html: * animations/animation-direction-reverse-hardware.html: * animations/animation-direction-reverse-non-hardware.html: * animations/animation-direction-reverse-timing-functions-hardware.html: * animations/animation-direction-reverse-timing-functions.html: * animations/animation-direction.html: * animations/animation-followed-by-transition.html: * animations/animation-hit-test-transform.html: * animations/animation-hit-test.html: * animations/animation-internals-api-expected.txt: Removed. * animations/animation-internals-api-multiple-keyframes-expected.txt: Removed. * animations/animation-internals-api-multiple-keyframes.html: Removed. * animations/animation-internals-api.html: Removed. * animations/animation-offscreen-to-onscreen.html: * animations/animation-playstate-paused-style-resolution.html: * animations/big-rotation-expected.txt: * animations/big-rotation.html: * animations/change-completed-animation-transform.html: * animations/change-keyframes.html: * animations/combo-transform-rotate+scale.html: * 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/duplicate-keys-expected.html: * animations/duplicate-keys.html: * animations/duplicated-keyframes-name.html: * animations/fill-forwards-end-state.html: * animations/fill-mode-forwards-zero-duration-expected.txt: * animations/fill-mode-forwards-zero-duration.html: * animations/fill-mode-removed.html: * animations/font-variations/font-stretch.html: * animations/font-variations/font-style.html: * animations/font-variations/font-variation-settings-order.html: * animations/font-variations/font-variation-settings-unlike.html: * animations/font-variations/font-variation-settings.html: * animations/font-variations/font-weight.html: * animations/generic-from-to.html: * animations/import.html: * animations/keyframe-multiple-timing-functions-transform.html: * animations/keyframe-timing-functions-transform.html: * animations/keyframe-timing-functions.html: * animations/keyframe-timing-functions2.html: * animations/keyframes-comma-separated.html: * animations/keyframes-dynamic.html: * animations/keyframes-infinite-iterations.html: * animations/keyframes-invalid-keys.html: * animations/keyframes-out-of-order.html: * animations/keyframes.html: * animations/leak-document-with-css-animation.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-timing-function.html: * animations/multiple-animations.html: * animations/multiple-keyframes.html: * animations/negative-delay.html: * animations/pause-crash.html: * animations/play-state-start-paused.html: * animations/resources/animation-leak-iframe.html: * animations/simultaneous-start-left.html: * animations/simultaneous-start-transform.html: * animations/spring-function.html: * animations/stacking-context-unchanged-while-running.html: * animations/stop-animation-on-suspend.html: * animations/suspend-resume-animation-events.html: * animations/timing-functions.html: * animations/transition-and-animation-1.html: * animations/transition-and-animation-2.html: * animations/transition-and-animation-3.html: * animations/trigger-container-scroll-boundaries.html: * animations/trigger-container-scroll-empty.html: * animations/trigger-container-scroll-simple.html: * animations/unanimated-style.html: * animations/unprefixed-keyframes.html: * animations/width-using-ems.html: * compositing/animation/animated-composited-inside-hidden.html: * compositing/animation/computed-style-during-delay.html: * compositing/animation/layer-for-filling-animation.html: * compositing/backing/backface-visibility-flip.html: * compositing/backing/transform-transition-from-outside-view.html: * compositing/contents-scale/animating.html: * compositing/layer-creation/animation-overlap-with-children.html: * compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html: * compositing/layer-creation/mismatched-rotated-transform-transition-overlap.html: * compositing/layer-creation/mismatched-transform-transition-overlap.html: * compositing/layer-creation/multiple-keyframes-animation-overlap.html: * compositing/layer-creation/overlap-animation-clipping.html: * compositing/layer-creation/overlap-animation-container.html: * compositing/layer-creation/overlap-animation.html: * compositing/layer-creation/scale-rotation-animation-overlap.html: * compositing/layer-creation/scale-rotation-transition-overlap.html: * compositing/layer-creation/translate-animation-overlap.html: * compositing/layer-creation/translate-scale-animation-overlap.html: * compositing/layer-creation/translate-scale-transition-overlap.html: * compositing/layer-creation/translate-transition-overlap.html: * compositing/overflow/overflow-positioning.html: * compositing/reflections/animation-inside-reflection.html: * compositing/reflections/nested-reflection-animated.html: * compositing/reflections/nested-reflection-transition.html: * compositing/scrolling/touch-scroll-to-clip.html: * compositing/transitions/scale-transition-no-start.html: * compositing/transitions/singular-scale-transition.html: * compositing/visible-rect/animated-from-none.html: * compositing/visible-rect/animated.html: * css3/calc/transitions-dependent.html: * css3/calc/transitions.html: * css3/filters/backdrop/animation.html: * css3/filters/composited-during-animation.html: * css3/filters/filter-animation-from-none-hw.html: * css3/filters/filter-animation-from-none-multi-hw.html: * css3/filters/filter-animation-from-none-multi.html: * css3/filters/filter-animation-from-none.html: * css3/filters/filter-animation-hw.html: * css3/filters/filter-animation-multi-hw.html: * css3/filters/filter-animation-multi.html: * css3/filters/filter-animation.html: * css3/masking/clip-path-animation.html: * fast/animation/css-animation-resuming-when-visible-with-style-change.html: * fast/animation/css-animation-resuming-when-visible-with-style-change2.html: * fast/animation/css-animation-resuming-when-visible.html: * fast/animation/css-animation-throttling-lowPowerMode.html: * fast/animation/height-auto-transition-computed-value.html: * fast/css-generated-content/pseudo-animation.html: * fast/css-generated-content/pseudo-transition.html: * fast/filter-image/filter-image-animation.html: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * fast/shapes/shape-outside-floats/shape-outside-shape-image-threshold-animation.html: * fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html: * http/wpt/css/css-animations/start-animation-001.html: * imported/blink/transitions/transition-not-interpolable.html: * imported/blink/transitions/unprefixed-transform.html: * platform/ios/TestExpectations: * platform/win/TestExpectations: * transitions/remove-transition-style.html: * transitions/transition-drt-api-delay-expected.txt: Removed. * transitions/transition-drt-api-delay.html: Removed. * transitions/transition-drt-api-expected.txt: Removed. * transitions/transition-drt-api.html: Removed. * transitions/zero-duration-with-non-zero-delay-end.html: Canonical link: https://commits.webkit.org/204981@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-27 09:49:52 +00:00
<!DOCTYPE html>
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
<html>
<head>
<style>
.box {
height: 100px;
width: 100px;
margin: 10px;
background-color: blue;
display: inline-block;
}
[CSS Shapes] Remove deprecated shapes https://bugs.webkit.org/show_bug.cgi?id=125235 Reviewed by Dirk Schulze. Source/WebCore: Remove support for deprecated shape types and syntax. These have already been removed from the CSS Shapes specification, so this aligns the implementation with the specification. The "new" tests below were simply moved from the old csswg directory, as they were the only tests there that applied to the current syntax. Tests: fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000.html fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001.html fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002.html * css/BasicShapeFunctions.cpp: (WebCore::valueForBasicShape): (WebCore::basicShapeForValue): * css/BasicShapeFunctions.h: * css/CSSBasicShapes.cpp: * css/CSSBasicShapes.h: * css/CSSParser.cpp: (WebCore::CSSParser::parseBasicShape): * rendering/shapes/Shape.cpp: (WebCore::Shape::createShape): * rendering/shapes/ShapeInsideInfo.cpp: (WebCore::ShapeInsideInfo::isEnabledFor): * rendering/style/BasicShapes.cpp: * rendering/style/BasicShapes.h: LayoutTests: Remove tests for deprecated shape syntax. There are also a few shape-inside tests that have been removed because they were very difficult to make work without the rectangle shape, and the future of the current shape-inside implementation is questionable at best. * animations/resources/animation-test-helpers.js: (parseBasicShape): * compositing/contents-opaque/opaque-with-clip-path-expected.html: * compositing/contents-opaque/opaque-with-clip-path.html: * css3/masking/clip-path-animation-expected.txt: * css3/masking/clip-path-animation.html: * css3/masking/clip-path-rectangle-expected.txt: Removed. * css3/masking/clip-path-rectangle.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/rounded-rectangle.js: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/subpixel-utils.js: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/w3c-import.log: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-ref-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-ref.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-005-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-005.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-006-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-006.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-005-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-005.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-006-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-006.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-007-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-007.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-008-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-008.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-009-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-009.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-010-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-010.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-011-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-011.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-012-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-012.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-013-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-013.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-014-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-014.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-015-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-015.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-016-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-016.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-017-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-017.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-018-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-018.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-019-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-019.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-020-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-020.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-021-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-021.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-005-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-005.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-006-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-006.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-007-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-007.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-008-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-008.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-009-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-009.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-border-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-border-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-stacked-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-stacked-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/w3c-import.log: Removed. * fast/masking/parsing-clip-path-shape-expected.txt: * fast/masking/parsing-clip-path-shape.html: * fast/regions/shape-inside/shape-inside-on-additional-regions.html: * fast/regions/shape-inside/shape-inside-on-first-region-block-content.html: * fast/regions/shape-inside/shape-inside-on-first-region-inline-content.html: * fast/regions/shape-inside/shape-inside-on-multiple-autoheight-regions.html: * fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top-expected.html: Removed. * fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top.html: Removed. * fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html: * fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-expected.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content-basic-overflow-shape-top-offset.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content.html: * fast/regions/shape-inside/shape-inside-on-regions.html: * fast/regions/shape-inside/shape-inside-on-second-region-block-content.html: * fast/regions/shape-inside/shape-inside-on-second-region-inline-content.html: * fast/regions/shape-inside/shape-inside-recursive-layout-expected.html: * fast/regions/shape-inside/shape-inside-recursive-layout.html: * fast/regions/shape-inside/shape-inside-with-region-borders.html: * fast/regions/shape-inside/shape-inside-with-region-padding.html: * fast/shapes/css-shapes-disabled-expected.txt: * fast/shapes/css-shapes-disabled.html: * fast/shapes/css-shapes-enabled-expected.txt: * fast/shapes/css-shapes-enabled.html: * fast/shapes/parsing/parsing-shape-inside-expected.txt: * fast/shapes/parsing/parsing-shape-inside.html: * fast/shapes/parsing/parsing-shape-lengths-expected.txt: * fast/shapes/parsing/parsing-shape-lengths.html: * fast/shapes/parsing/parsing-shape-outside-expected.txt: * fast/shapes/parsing/parsing-shape-outside.html: * fast/shapes/parsing/parsing-test-utils.js: * fast/shapes/resources/simple-rectangle.js: (drawTextRectangle): * fast/shapes/shape-inside/shape-inside-animation-expected.txt: * fast/shapes/shape-inside/shape-inside-animation.html: * fast/shapes/shape-inside/shape-inside-bottom-edge-expected.html: * fast/shapes/shape-inside/shape-inside-bottom-edge.html: * fast/shapes/shape-inside/shape-inside-box-sizing.html: * fast/shapes/shape-inside/shape-inside-dynamic-nested-expected.html: * fast/shapes/shape-inside/shape-inside-dynamic-nested.html: * fast/shapes/shape-inside/shape-inside-dynamic-shape.html: * fast/shapes/shape-inside/shape-inside-dynamic-text.html: * fast/shapes/shape-inside/shape-inside-empty-expected.html: * fast/shapes/shape-inside/shape-inside-empty.html: * fast/shapes/shape-inside/shape-inside-inline-elements-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-inline-elements.html: Removed. * fast/shapes/shape-inside/shape-inside-multiple-blocks-vertical.html: * fast/shapes/shape-inside/shape-inside-multiple-blocks.html: * fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html: * fast/shapes/shape-inside/shape-inside-outside-shape.html: * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-block-content.html: * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions.html: * fast/shapes/shape-inside/shape-inside-overflow.html: * fast/shapes/shape-inside/shape-inside-percentage-auto.html: * fast/shapes/shape-inside/shape-inside-percentage.html: * fast/shapes/shape-inside/shape-inside-rectangle-padding-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rectangle-padding.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-001-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-001.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-002-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-002.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-003-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-003.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-004-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-004.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-001-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-001.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-003-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-003.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-padding-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-padding.html: Removed. * fast/shapes/shape-inside/shape-inside-subpixel-rectangle-top.html: * fast/shapes/shape-inside/shape-inside-text.html: * fast/shapes/shape-inside/shape-inside-vertical-text.html: * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-margin.html: * fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-overhang.html: * fast/shapes/shape-outside-floats/shape-outside-dynamic-shape.html: * fast/shapes/shape-outside-floats/shape-outside-floats-different-writing-modes.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-bottom.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html: * fast/shapes/shape-outside-floats/shape-outside-floats-img-inset-rectangle-negative-width-crash-expected.txt: Removed. * fast/shapes/shape-outside-floats/shape-outside-floats-img-inset-rectangle-negative-width-crash.html: Removed. * fast/shapes/shape-outside-floats/shape-outside-floats-layout-after-initial-layout-pass.html: * fast/shapes/shape-outside-floats/shape-outside-floats-not-a-layer.html: * fast/shapes/shape-outside-floats/shape-outside-floats-outermost.html: * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000-expected.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-000-expected.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-000.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001-expected.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-001-expected.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-001.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002-expected.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-002-expected.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-002.html. * fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html: * svg/clip-path/clip-path-shape-rounded-rect-1-expected.svg: Removed. * svg/clip-path/clip-path-shape-rounded-rect-1.svg: Removed. * svg/clip-path/clip-path-shape-rounded-rect-2-expected.svg: Removed. * svg/clip-path/clip-path-shape-rounded-rect-2.svg: Removed. Canonical link: https://commits.webkit.org/148083@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-03-12 15:41:55 +00:00
#inset-box {
-webkit-animation: inset-anim 2s linear
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
}
#circle-box {
-webkit-animation: circle-anim 2s linear
}
#ellipse-box {
-webkit-animation: ellipse-anim 2s linear
}
#polygon-box {
-webkit-animation: polygon-anim 2s linear
}
#none-box {
-webkit-animation: none-anim 2s linear
}
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
[CSS Shapes] Remove deprecated shapes https://bugs.webkit.org/show_bug.cgi?id=125235 Reviewed by Dirk Schulze. Source/WebCore: Remove support for deprecated shape types and syntax. These have already been removed from the CSS Shapes specification, so this aligns the implementation with the specification. The "new" tests below were simply moved from the old csswg directory, as they were the only tests there that applied to the current syntax. Tests: fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000.html fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001.html fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002.html * css/BasicShapeFunctions.cpp: (WebCore::valueForBasicShape): (WebCore::basicShapeForValue): * css/BasicShapeFunctions.h: * css/CSSBasicShapes.cpp: * css/CSSBasicShapes.h: * css/CSSParser.cpp: (WebCore::CSSParser::parseBasicShape): * rendering/shapes/Shape.cpp: (WebCore::Shape::createShape): * rendering/shapes/ShapeInsideInfo.cpp: (WebCore::ShapeInsideInfo::isEnabledFor): * rendering/style/BasicShapes.cpp: * rendering/style/BasicShapes.h: LayoutTests: Remove tests for deprecated shape syntax. There are also a few shape-inside tests that have been removed because they were very difficult to make work without the rectangle shape, and the future of the current shape-inside implementation is questionable at best. * animations/resources/animation-test-helpers.js: (parseBasicShape): * compositing/contents-opaque/opaque-with-clip-path-expected.html: * compositing/contents-opaque/opaque-with-clip-path.html: * css3/masking/clip-path-animation-expected.txt: * css3/masking/clip-path-animation.html: * css3/masking/clip-path-rectangle-expected.txt: Removed. * css3/masking/clip-path-rectangle.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/rounded-rectangle.js: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/subpixel-utils.js: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/w3c-import.log: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-ref-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-ref.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-005-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-005.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-006-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-006.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-005-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-005.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-006-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-006.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-007-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-007.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-008-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-008.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-009-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-009.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-010-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-010.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-011-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-011.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-012-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-012.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-013-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-013.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-014-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-014.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-015-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-015.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-016-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-016.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-017-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-017.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-018-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-018.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-019-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-019.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-020-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-020.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-021-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-021.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-005-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-005.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-006-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-006.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-007-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-007.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-008-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-008.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-009-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-009.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-border-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-border-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-stacked-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-stacked-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/w3c-import.log: Removed. * fast/masking/parsing-clip-path-shape-expected.txt: * fast/masking/parsing-clip-path-shape.html: * fast/regions/shape-inside/shape-inside-on-additional-regions.html: * fast/regions/shape-inside/shape-inside-on-first-region-block-content.html: * fast/regions/shape-inside/shape-inside-on-first-region-inline-content.html: * fast/regions/shape-inside/shape-inside-on-multiple-autoheight-regions.html: * fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top-expected.html: Removed. * fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top.html: Removed. * fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html: * fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-expected.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content-basic-overflow-shape-top-offset.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content.html: * fast/regions/shape-inside/shape-inside-on-regions.html: * fast/regions/shape-inside/shape-inside-on-second-region-block-content.html: * fast/regions/shape-inside/shape-inside-on-second-region-inline-content.html: * fast/regions/shape-inside/shape-inside-recursive-layout-expected.html: * fast/regions/shape-inside/shape-inside-recursive-layout.html: * fast/regions/shape-inside/shape-inside-with-region-borders.html: * fast/regions/shape-inside/shape-inside-with-region-padding.html: * fast/shapes/css-shapes-disabled-expected.txt: * fast/shapes/css-shapes-disabled.html: * fast/shapes/css-shapes-enabled-expected.txt: * fast/shapes/css-shapes-enabled.html: * fast/shapes/parsing/parsing-shape-inside-expected.txt: * fast/shapes/parsing/parsing-shape-inside.html: * fast/shapes/parsing/parsing-shape-lengths-expected.txt: * fast/shapes/parsing/parsing-shape-lengths.html: * fast/shapes/parsing/parsing-shape-outside-expected.txt: * fast/shapes/parsing/parsing-shape-outside.html: * fast/shapes/parsing/parsing-test-utils.js: * fast/shapes/resources/simple-rectangle.js: (drawTextRectangle): * fast/shapes/shape-inside/shape-inside-animation-expected.txt: * fast/shapes/shape-inside/shape-inside-animation.html: * fast/shapes/shape-inside/shape-inside-bottom-edge-expected.html: * fast/shapes/shape-inside/shape-inside-bottom-edge.html: * fast/shapes/shape-inside/shape-inside-box-sizing.html: * fast/shapes/shape-inside/shape-inside-dynamic-nested-expected.html: * fast/shapes/shape-inside/shape-inside-dynamic-nested.html: * fast/shapes/shape-inside/shape-inside-dynamic-shape.html: * fast/shapes/shape-inside/shape-inside-dynamic-text.html: * fast/shapes/shape-inside/shape-inside-empty-expected.html: * fast/shapes/shape-inside/shape-inside-empty.html: * fast/shapes/shape-inside/shape-inside-inline-elements-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-inline-elements.html: Removed. * fast/shapes/shape-inside/shape-inside-multiple-blocks-vertical.html: * fast/shapes/shape-inside/shape-inside-multiple-blocks.html: * fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html: * fast/shapes/shape-inside/shape-inside-outside-shape.html: * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-block-content.html: * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions.html: * fast/shapes/shape-inside/shape-inside-overflow.html: * fast/shapes/shape-inside/shape-inside-percentage-auto.html: * fast/shapes/shape-inside/shape-inside-percentage.html: * fast/shapes/shape-inside/shape-inside-rectangle-padding-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rectangle-padding.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-001-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-001.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-002-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-002.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-003-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-003.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-004-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-004.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-001-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-001.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-003-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-003.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-padding-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-padding.html: Removed. * fast/shapes/shape-inside/shape-inside-subpixel-rectangle-top.html: * fast/shapes/shape-inside/shape-inside-text.html: * fast/shapes/shape-inside/shape-inside-vertical-text.html: * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-margin.html: * fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-overhang.html: * fast/shapes/shape-outside-floats/shape-outside-dynamic-shape.html: * fast/shapes/shape-outside-floats/shape-outside-floats-different-writing-modes.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-bottom.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html: * fast/shapes/shape-outside-floats/shape-outside-floats-img-inset-rectangle-negative-width-crash-expected.txt: Removed. * fast/shapes/shape-outside-floats/shape-outside-floats-img-inset-rectangle-negative-width-crash.html: Removed. * fast/shapes/shape-outside-floats/shape-outside-floats-layout-after-initial-layout-pass.html: * fast/shapes/shape-outside-floats/shape-outside-floats-not-a-layer.html: * fast/shapes/shape-outside-floats/shape-outside-floats-outermost.html: * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000-expected.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-000-expected.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-000.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001-expected.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-001-expected.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-001.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002-expected.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-002-expected.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-002.html. * fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html: * svg/clip-path/clip-path-shape-rounded-rect-1-expected.svg: Removed. * svg/clip-path/clip-path-shape-rounded-rect-1.svg: Removed. * svg/clip-path/clip-path-shape-rounded-rect-2-expected.svg: Removed. * svg/clip-path/clip-path-shape-rounded-rect-2.svg: Removed. Canonical link: https://commits.webkit.org/148083@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-03-12 15:41:55 +00:00
@-webkit-keyframes inset-anim {
from { -webkit-clip-path: inset(0); }
to { -webkit-clip-path: inset(20%); }
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
}
@-webkit-keyframes circle-anim {
[css shapes] Layout support for new circle shape syntax https://bugs.webkit.org/show_bug.cgi?id=124619 Reviewed by Dirk Schulze. Source/WebCore: Implement support for doing layout with the new circle shape syntax, inclduing basic animation support. Tests: fast/shapes/shape-outside-floats/shape-outside-floats-circle-000.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-001.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-002.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-003.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-004.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-005.html * css/BasicShapeFunctions.cpp: (WebCore::floatValueForCenterCoordinate): Used by both the CSS Shapes layout code and the clip path code. * css/BasicShapeFunctions.h: * css/CSSBasicShapes.cpp: (WebCore::buildCircleString): Update to use appendLiteral, and remove call to reserveCapacity - if we find that it's actually slow when doing performance tests, we can hopefully do something smarter and less ugly than that. * css/CSSParser.cpp: (WebCore::CSSParser::parseShapeRadius): Fix a logic error that caused the radius keywords not to work properly. * rendering/shapes/Shape.cpp: (WebCore::Shape::createShape): Convert new circle to a layout shape. * rendering/style/BasicShapes.cpp: (WebCore::BasicShape::canBlend): Ignore circles with values that cannot be interpolated. (WebCore::BasicShapeCircle::floatValueForRadiusInBox): Convert circle radius keywords to a float value. (WebCore::BasicShapeCircle::path): (WebCore::BasicShapeCircle::blend): * rendering/style/BasicShapes.h: (WebCore::BasicShapeCenterCoordinate::canBlend): (WebCore::BasicShapeRadius::canBlend): LayoutTests: Add a few tests for the new circle syntax. The old tests in LayoutTests/csswg will be removed when the old syntax is removed. Also update existing shape-inside, animation, and clip-path tests to test the new syntax. * animations/resources/animation-test-helpers.js: (parseBasicShape): * LayoutTests/animations/resources/animation-test-helpers.js: * LayoutTests/css3/masking/clip-path-animation-expected.txt: * LayoutTests/css3/masking/clip-path-animation.html: * LayoutTests/css3/masking/clip-path-circle-filter.html: * LayoutTests/css3/masking/clip-path-circle-overflow-hidden.html: * LayoutTests/css3/masking/clip-path-circle-overflow.html: * LayoutTests/css3/masking/clip-path-circle-relative-overflow.html: * LayoutTests/css3/masking/clip-path-circle.html: * LayoutTests/css3/masking/clip-path-restore.html: * LayoutTests/fast/shapes/parsing/parsing-shape-inside-expected.txt: * LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt: * LayoutTests/fast/shapes/parsing/parsing-test-utils.js: * LayoutTests/fast/shapes/shape-inside/shape-inside-animation-expected.txt: * LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-calc-crash-expected.txt: * LayoutTests/fast/shapes/shape-inside/shape-inside-calc-crash.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-circle-padding.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-circle.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-dynamic-nested.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-empty-expected.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-empty.html: * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * fast/shapes/shape-outside-floats/shape-outside-floats-circle-000-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-000.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-001-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-001.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-002-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-002.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-003-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-003.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-004-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-004.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-005-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-005.html: Added. Canonical link: https://commits.webkit.org/143219@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-03 00:10:21 +00:00
from { -webkit-clip-path: circle(50% at 50% 50%); }
to { -webkit-clip-path: circle(20% at 20% 20%); }
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
}
@-webkit-keyframes ellipse-anim {
[css shapes] layout for new ellipse syntax https://bugs.webkit.org/show_bug.cgi?id=124621 Source/WebCore: Reviewed by Dirk Schulze. Implement support for doing layout with the new ellipse shape syntax, including basic animation support. Test: fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000.html * rendering/shapes/Shape.cpp: (WebCore::Shape::createShape): Convert new ellipse to a layout shape. * rendering/style/BasicShapes.cpp: (WebCore::BasicShape::canBlend): Ignore ellipses with values that cannot be interpolated. (WebCore::BasicShapeEllipse::floatValueForRadiusInBox): Helper function to calculate either radiusX or radiusY, shared by clip-path and shape code paths. (WebCore::BasicShapeEllipse::path): * rendering/style/BasicShapes.h: LayoutTests: Add a new test for the new ellipse syntax. Also update existing shape-inside, animation, and clip-path tests to test the new ellipse syntax for clipping and shape-inside. Reviewed by Dirk Schulze. * animations/resources/animation-test-helpers.js: (parseBasicShape): * css3/masking/clip-path-animation-expected.txt: * css3/masking/clip-path-animation.html: * css3/masking/clip-path-ellipse.html: * fast/shapes/shape-inside/shape-inside-animation-expected.txt: * fast/shapes/shape-inside/shape-inside-animation.html: * fast/shapes/shape-inside/shape-inside-ellipse-padding.html: * fast/shapes/shape-inside/shape-inside-ellipse.html: * fast/shapes/shape-inside/shape-inside-empty-expected.html: * fast/shapes/shape-inside/shape-inside-empty.html: * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000.html: Added. Canonical link: https://commits.webkit.org/143247@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-03 17:18:01 +00:00
from { -webkit-clip-path: ellipse(50% 40% at 50% 50%); }
to { -webkit-clip-path: ellipse(20% 20% at 20% 20%); }
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
}
@-webkit-keyframes polygon-anim {
from { -webkit-clip-path: polygon(nonzero, 0% 0%, 100% 0%, 100% 100%, 0% 100%); }
to { -webkit-clip-path: polygon(nonzero, 20% 20%, 80% 20%, 80% 80%, 20% 80%); }
}
@-webkit-keyframes none-anim {
/* We do not support animations from or to 'none' as specified. */
from { -webkit-clip-path: none; }
to { -webkit-clip-path: polygon(nonzero, 20% 20%, 80% 20%, 80% 80%, 20% 80%); }
}
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
</style>
<script src="../../animations/resources/animation-test-helpers.js"></script>
<script type="text/javascript">
const expectedValues = [
// [animation-name, time, element-id, property, expected-value, tolerance]
["inset-anim", 1, "inset-box", "webkitClipPath", "inset(10%)", 0.05],
[css shapes] Layout support for new circle shape syntax https://bugs.webkit.org/show_bug.cgi?id=124619 Reviewed by Dirk Schulze. Source/WebCore: Implement support for doing layout with the new circle shape syntax, inclduing basic animation support. Tests: fast/shapes/shape-outside-floats/shape-outside-floats-circle-000.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-001.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-002.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-003.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-004.html fast/shapes/shape-outside-floats/shape-outside-floats-circle-005.html * css/BasicShapeFunctions.cpp: (WebCore::floatValueForCenterCoordinate): Used by both the CSS Shapes layout code and the clip path code. * css/BasicShapeFunctions.h: * css/CSSBasicShapes.cpp: (WebCore::buildCircleString): Update to use appendLiteral, and remove call to reserveCapacity - if we find that it's actually slow when doing performance tests, we can hopefully do something smarter and less ugly than that. * css/CSSParser.cpp: (WebCore::CSSParser::parseShapeRadius): Fix a logic error that caused the radius keywords not to work properly. * rendering/shapes/Shape.cpp: (WebCore::Shape::createShape): Convert new circle to a layout shape. * rendering/style/BasicShapes.cpp: (WebCore::BasicShape::canBlend): Ignore circles with values that cannot be interpolated. (WebCore::BasicShapeCircle::floatValueForRadiusInBox): Convert circle radius keywords to a float value. (WebCore::BasicShapeCircle::path): (WebCore::BasicShapeCircle::blend): * rendering/style/BasicShapes.h: (WebCore::BasicShapeCenterCoordinate::canBlend): (WebCore::BasicShapeRadius::canBlend): LayoutTests: Add a few tests for the new circle syntax. The old tests in LayoutTests/csswg will be removed when the old syntax is removed. Also update existing shape-inside, animation, and clip-path tests to test the new syntax. * animations/resources/animation-test-helpers.js: (parseBasicShape): * LayoutTests/animations/resources/animation-test-helpers.js: * LayoutTests/css3/masking/clip-path-animation-expected.txt: * LayoutTests/css3/masking/clip-path-animation.html: * LayoutTests/css3/masking/clip-path-circle-filter.html: * LayoutTests/css3/masking/clip-path-circle-overflow-hidden.html: * LayoutTests/css3/masking/clip-path-circle-overflow.html: * LayoutTests/css3/masking/clip-path-circle-relative-overflow.html: * LayoutTests/css3/masking/clip-path-circle.html: * LayoutTests/css3/masking/clip-path-restore.html: * LayoutTests/fast/shapes/parsing/parsing-shape-inside-expected.txt: * LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt: * LayoutTests/fast/shapes/parsing/parsing-test-utils.js: * LayoutTests/fast/shapes/shape-inside/shape-inside-animation-expected.txt: * LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-calc-crash-expected.txt: * LayoutTests/fast/shapes/shape-inside/shape-inside-calc-crash.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-circle-padding.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-circle.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-dynamic-nested.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-empty-expected.html: * LayoutTests/fast/shapes/shape-inside/shape-inside-empty.html: * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * fast/shapes/shape-outside-floats/shape-outside-floats-circle-000-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-000.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-001-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-001.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-002-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-002.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-003-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-003.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-004-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-004.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-005-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-circle-005.html: Added. Canonical link: https://commits.webkit.org/143219@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-03 00:10:21 +00:00
["circle-anim", 1, "circle-box", "webkitClipPath", "circle(35% at 35% 35%)", 0.05],
[css shapes] layout for new ellipse syntax https://bugs.webkit.org/show_bug.cgi?id=124621 Source/WebCore: Reviewed by Dirk Schulze. Implement support for doing layout with the new ellipse shape syntax, including basic animation support. Test: fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000.html * rendering/shapes/Shape.cpp: (WebCore::Shape::createShape): Convert new ellipse to a layout shape. * rendering/style/BasicShapes.cpp: (WebCore::BasicShape::canBlend): Ignore ellipses with values that cannot be interpolated. (WebCore::BasicShapeEllipse::floatValueForRadiusInBox): Helper function to calculate either radiusX or radiusY, shared by clip-path and shape code paths. (WebCore::BasicShapeEllipse::path): * rendering/style/BasicShapes.h: LayoutTests: Add a new test for the new ellipse syntax. Also update existing shape-inside, animation, and clip-path tests to test the new ellipse syntax for clipping and shape-inside. Reviewed by Dirk Schulze. * animations/resources/animation-test-helpers.js: (parseBasicShape): * css3/masking/clip-path-animation-expected.txt: * css3/masking/clip-path-animation.html: * css3/masking/clip-path-ellipse.html: * fast/shapes/shape-inside/shape-inside-animation-expected.txt: * fast/shapes/shape-inside/shape-inside-animation.html: * fast/shapes/shape-inside/shape-inside-ellipse-padding.html: * fast/shapes/shape-inside/shape-inside-ellipse.html: * fast/shapes/shape-inside/shape-inside-empty-expected.html: * fast/shapes/shape-inside/shape-inside-empty.html: * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000.html: Added. Canonical link: https://commits.webkit.org/143247@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-03 17:18:01 +00:00
["ellipse-anim", 1, "ellipse-box", "webkitClipPath", "ellipse(35% 30% at 35% 35%)", 0.05],
2014-03-14 20:01:28 +00:00
["polygon-anim", 1, "polygon-box", "webkitClipPath", "polygon(10% 10%, 90% 10%, 90% 90%, 10% 90%)", 0.05],
["none-anim", 1, "none-box", "webkitClipPath", "polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%)", 0],
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
];
runAnimationTest(expectedValues);
</script>
</head>
<body>
[CSS Shapes] Remove deprecated shapes https://bugs.webkit.org/show_bug.cgi?id=125235 Reviewed by Dirk Schulze. Source/WebCore: Remove support for deprecated shape types and syntax. These have already been removed from the CSS Shapes specification, so this aligns the implementation with the specification. The "new" tests below were simply moved from the old csswg directory, as they were the only tests there that applied to the current syntax. Tests: fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000.html fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001.html fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002.html * css/BasicShapeFunctions.cpp: (WebCore::valueForBasicShape): (WebCore::basicShapeForValue): * css/BasicShapeFunctions.h: * css/CSSBasicShapes.cpp: * css/CSSBasicShapes.h: * css/CSSParser.cpp: (WebCore::CSSParser::parseBasicShape): * rendering/shapes/Shape.cpp: (WebCore::Shape::createShape): * rendering/shapes/ShapeInsideInfo.cpp: (WebCore::ShapeInsideInfo::isEnabledFor): * rendering/style/BasicShapes.cpp: * rendering/style/BasicShapes.h: LayoutTests: Remove tests for deprecated shape syntax. There are also a few shape-inside tests that have been removed because they were very difficult to make work without the rectangle shape, and the future of the current shape-inside implementation is questionable at best. * animations/resources/animation-test-helpers.js: (parseBasicShape): * compositing/contents-opaque/opaque-with-clip-path-expected.html: * compositing/contents-opaque/opaque-with-clip-path.html: * css3/masking/clip-path-animation-expected.txt: * css3/masking/clip-path-animation.html: * css3/masking/clip-path-rectangle-expected.txt: Removed. * css3/masking/clip-path-rectangle.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/rounded-rectangle.js: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/subpixel-utils.js: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/w3c-import.log: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-ref-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001-ref.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-005-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-005.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-006-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-clipped-006.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-005-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-005.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-006-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-006.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-007-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-007.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-008-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-008.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-009-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-009.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-010-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-010.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-011-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-011.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-012-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-012.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-013-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-013.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-014-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-014.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-015-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-015.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-016-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-016.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-017-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-017.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-018-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-018.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-019-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-019.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-020-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-020.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-021-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-margin-021.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-005-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-005.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-006-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-006.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-007-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-007.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-008-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-008.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-009-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-009.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-003-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-003.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-004-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-004.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-border-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-border-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-stacked-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-stacked-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002-expected.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002.html: Removed. * csswg/contributors/adobe/submitted/shapes/shape-outside/w3c-import.log: Removed. * fast/masking/parsing-clip-path-shape-expected.txt: * fast/masking/parsing-clip-path-shape.html: * fast/regions/shape-inside/shape-inside-on-additional-regions.html: * fast/regions/shape-inside/shape-inside-on-first-region-block-content.html: * fast/regions/shape-inside/shape-inside-on-first-region-inline-content.html: * fast/regions/shape-inside/shape-inside-on-multiple-autoheight-regions.html: * fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top-expected.html: Removed. * fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top.html: Removed. * fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html: * fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-expected.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content-basic-overflow-shape-top-offset.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-multiple-shapes.html: * fast/regions/shape-inside/shape-inside-on-regions-inline-content.html: * fast/regions/shape-inside/shape-inside-on-regions.html: * fast/regions/shape-inside/shape-inside-on-second-region-block-content.html: * fast/regions/shape-inside/shape-inside-on-second-region-inline-content.html: * fast/regions/shape-inside/shape-inside-recursive-layout-expected.html: * fast/regions/shape-inside/shape-inside-recursive-layout.html: * fast/regions/shape-inside/shape-inside-with-region-borders.html: * fast/regions/shape-inside/shape-inside-with-region-padding.html: * fast/shapes/css-shapes-disabled-expected.txt: * fast/shapes/css-shapes-disabled.html: * fast/shapes/css-shapes-enabled-expected.txt: * fast/shapes/css-shapes-enabled.html: * fast/shapes/parsing/parsing-shape-inside-expected.txt: * fast/shapes/parsing/parsing-shape-inside.html: * fast/shapes/parsing/parsing-shape-lengths-expected.txt: * fast/shapes/parsing/parsing-shape-lengths.html: * fast/shapes/parsing/parsing-shape-outside-expected.txt: * fast/shapes/parsing/parsing-shape-outside.html: * fast/shapes/parsing/parsing-test-utils.js: * fast/shapes/resources/simple-rectangle.js: (drawTextRectangle): * fast/shapes/shape-inside/shape-inside-animation-expected.txt: * fast/shapes/shape-inside/shape-inside-animation.html: * fast/shapes/shape-inside/shape-inside-bottom-edge-expected.html: * fast/shapes/shape-inside/shape-inside-bottom-edge.html: * fast/shapes/shape-inside/shape-inside-box-sizing.html: * fast/shapes/shape-inside/shape-inside-dynamic-nested-expected.html: * fast/shapes/shape-inside/shape-inside-dynamic-nested.html: * fast/shapes/shape-inside/shape-inside-dynamic-shape.html: * fast/shapes/shape-inside/shape-inside-dynamic-text.html: * fast/shapes/shape-inside/shape-inside-empty-expected.html: * fast/shapes/shape-inside/shape-inside-empty.html: * fast/shapes/shape-inside/shape-inside-inline-elements-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-inline-elements.html: Removed. * fast/shapes/shape-inside/shape-inside-multiple-blocks-vertical.html: * fast/shapes/shape-inside/shape-inside-multiple-blocks.html: * fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html: * fast/shapes/shape-inside/shape-inside-outside-shape.html: * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-block-content.html: * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions.html: * fast/shapes/shape-inside/shape-inside-overflow.html: * fast/shapes/shape-inside/shape-inside-percentage-auto.html: * fast/shapes/shape-inside/shape-inside-percentage.html: * fast/shapes/shape-inside/shape-inside-rectangle-padding-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rectangle-padding.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-001-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-001.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-002-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-002.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-003-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-003.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-004-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-004.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-001-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-001.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-003-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-003.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-padding-expected.html: Removed. * fast/shapes/shape-inside/shape-inside-rounded-rectangle-padding.html: Removed. * fast/shapes/shape-inside/shape-inside-subpixel-rectangle-top.html: * fast/shapes/shape-inside/shape-inside-text.html: * fast/shapes/shape-inside/shape-inside-vertical-text.html: * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-margin.html: * fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-overhang.html: * fast/shapes/shape-outside-floats/shape-outside-dynamic-shape.html: * fast/shapes/shape-outside-floats/shape-outside-floats-different-writing-modes.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-bottom.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html: * fast/shapes/shape-outside-floats/shape-outside-floats-img-inset-rectangle-negative-width-crash-expected.txt: Removed. * fast/shapes/shape-outside-floats/shape-outside-floats-img-inset-rectangle-negative-width-crash.html: Removed. * fast/shapes/shape-outside-floats/shape-outside-floats-layout-after-initial-layout-pass.html: * fast/shapes/shape-outside-floats/shape-outside-floats-not-a-layer.html: * fast/shapes/shape-outside-floats/shape-outside-floats-outermost.html: * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000-expected.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-000-expected.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-000.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-000.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001-expected.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-001-expected.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-001.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-001.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002-expected.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-002-expected.html. * fast/shapes/shape-outside-floats/shape-outside-floats-polygon-002.html: Renamed from LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-002.html. * fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html: * svg/clip-path/clip-path-shape-rounded-rect-1-expected.svg: Removed. * svg/clip-path/clip-path-shape-rounded-rect-1.svg: Removed. * svg/clip-path/clip-path-shape-rounded-rect-2-expected.svg: Removed. * svg/clip-path/clip-path-shape-rounded-rect-2.svg: Removed. Canonical link: https://commits.webkit.org/148083@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-03-12 15:41:55 +00:00
<div class="box" id="inset-box"></div>
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
<div class="box" id="circle-box"></div>
<div class="box" id="ellipse-box"></div>
<div class="box" id="polygon-box"></div>
<div class="box" id="none-box"></div>
BasicShapes 'circle', 'rectangle', 'ellipse' should be animatable with themselves https://bugs.webkit.org/show_bug.cgi?id=101854 Reviewed by Andreas Kling. Source/WebCore: The basic shapes BasicShapeCircle, BasicShapeEllipse and BasicShapeRectangle should blend with themselves. This patch introduces simple interpolation of BasicShapes for the -webkit-clip-path property. Test: css3/masking/clip-path-animation.html * page/animation/CSSPropertyAnimation.cpp: (WebCore::blendFunc): Added a new function that blends between two BasicShape objects. It skips blending on <clipPath> references, polygons and if the shapes are not of the same type. (WebCore): (PropertyWrapperClipPath): Added new wrapper for ClipPathShapes. (WebCore::PropertyWrapperClipPath::PropertyWrapperClipPath): Ditto. (WebCore::CSSPropertyAnimation::ensurePropertyMap): Add -webkit-clip-path to animatable properties. * rendering/style/BasicShapes.cpp: The blending is done by each shape itself. This is similar to FilterOperations or TransformOperations. (WebCore::BasicShapeRectangle::blend): (WebCore): (WebCore::BasicShapeCircle::blend): (WebCore::BasicShapeEllipse::blend): (WebCore::BasicShapePolygon::blend): * rendering/style/BasicShapes.h: Added new blending functions to header. (BasicShape): (BasicShapeRectangle): (BasicShapeCircle): (BasicShapeEllipse): (BasicShapePolygon): LayoutTests: Added an animtation test for -webkit-clip-path and tested the basic shapes. * animations/resources/animation-test-helpers.js: (parseBasicShape): (basicShapeParametersMatch): (getPropertyValue): (comparePropertyValue): * css3/masking/clip-path-animation-expected.txt: Added. * css3/masking/clip-path-animation.html: Added. Canonical link: https://commits.webkit.org/120094@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-11-13 04:51:53 +00:00
<div id="result">
</div>
</body>
</html>