diff options
author | alancutter <alancutter@chromium.org> | 2015-12-20 19:11:29 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-21 03:12:30 +0000 |
commit | 77bc325cc5c97ebff1d447ac972fd02e2aec4155 (patch) | |
tree | 2aa147f0650cb7fb2467b33cef4278737bc95ff7 /chromeos/network/network_activation_handler.h | |
parent | c844be97c13fcf492149a21a0f3d9bf083c3c0d2 (diff) | |
download | chromium_src-77bc325cc5c97ebff1d447ac972fd02e2aec4155.zip chromium_src-77bc325cc5c97ebff1d447ac972fd02e2aec4155.tar.gz chromium_src-77bc325cc5c97ebff1d447ac972fd02e2aec4155.tar.bz2 |
SVG Web Animations: Support targeting presentation attributes
This change adds support for animating the following SVG presentation
attributes via element.animate():
- alignment-baseline
- baseline-shift
- buffered-rendering
- clip-path
- clip-rule
- color
- color-interpolation
- color-interpolation-filters
- color-rendering
- cursor
- display
- dominant-baseline
- fill
- fill-opacity
- fill-rule
- filter
- flood-color
- flood-opacity
- font-family
- font-size
- font-stretch
- font-style
- font-variant
- font-weight
- image-rendering
- letter-spacing
- lighting-color
- marker-end
- marker-mid
- marker-start
- mask
- mask-type
- opacity
- overflow
- paint-order
- pointer-events
- shape-rendering
- stop-color
- stop-opacity
- stroke
- stroke-dasharray
- stroke-dashoffset
- stroke-linecap
- stroke-linejoin
- stroke-miterlimit
- stroke-opacity
- stroke-width
- text-anchor
- text-decoration
- text-rendering
- vector-effect
- visibility
- word-spacing
These animations are backed by existing CSS animation InterpolationTypes.
This change accomplishes this by aliasing these as their CSS property
counterparts. This introduces a bug where animations targeting the
real CSS properties should override any animations targeting the
presentation attributes but they don't since they're being treated
as equals. The css-animation-overrides-svg-presentation-attribute-animation.html
test case covers this corner case issue.
BUG=548232
Review URL: https://codereview.chromium.org/1525623005
Cr-Commit-Position: refs/heads/master@{#366323}
Diffstat (limited to 'chromeos/network/network_activation_handler.h')
0 files changed, 0 insertions, 0 deletions