| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 } | 785 } |
| 786 case CSSPropertyTransformOrigin: | 786 case CSSPropertyTransformOrigin: |
| 787 style->setTransformOrigin(animatableValueToTransformOrigin(value, state)); | 787 style->setTransformOrigin(animatableValueToTransformOrigin(value, state)); |
| 788 return; | 788 return; |
| 789 case CSSPropertyOffsetAnchor: | 789 case CSSPropertyOffsetAnchor: |
| 790 style->setOffsetAnchor(animatableValueToLengthPoint(value, state)); | 790 style->setOffsetAnchor(animatableValueToLengthPoint(value, state)); |
| 791 return; | 791 return; |
| 792 case CSSPropertyOffsetDistance: | 792 case CSSPropertyOffsetDistance: |
| 793 style->setOffsetDistance(animatableValueToLength(value, state)); | 793 style->setOffsetDistance(animatableValueToLength(value, state)); |
| 794 return; | 794 return; |
| 795 case CSSPropertyOffsetPath: |
| 796 style->setOffsetPath(toAnimatablePath(value)->path()); |
| 797 return; |
| 795 case CSSPropertyOffsetPosition: | 798 case CSSPropertyOffsetPosition: |
| 796 style->setOffsetPosition(animatableValueToLengthPoint(value, state)); | 799 style->setOffsetPosition(animatableValueToLengthPoint(value, state)); |
| 797 return; | 800 return; |
| 798 case CSSPropertyOffsetRotate: | 801 case CSSPropertyOffsetRotate: |
| 799 case CSSPropertyOffsetRotation: | 802 case CSSPropertyOffsetRotation: |
| 800 style->setOffsetRotation(StyleOffsetRotation( | 803 style->setOffsetRotation(StyleOffsetRotation( |
| 801 toAnimatableDoubleAndBool(value)->toDouble(), | 804 toAnimatableDoubleAndBool(value)->toDouble(), |
| 802 toAnimatableDoubleAndBool(value)->flag() ? OffsetRotationAuto | 805 toAnimatableDoubleAndBool(value)->flag() ? OffsetRotationAuto |
| 803 : OffsetRotationFixed)); | 806 : OffsetRotationFixed)); |
| 804 return; | 807 return; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 style->setRy( | 868 style->setRy( |
| 866 animatableValueToLength(value, state, ValueRangeNonNegative)); | 869 animatableValueToLength(value, state, ValueRangeNonNegative)); |
| 867 return; | 870 return; |
| 868 | 871 |
| 869 default: | 872 default: |
| 870 ASSERT_NOT_REACHED(); | 873 ASSERT_NOT_REACHED(); |
| 871 } | 874 } |
| 872 } | 875 } |
| 873 | 876 |
| 874 } // namespace blink | 877 } // namespace blink |
| OLD | NEW |