| 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 return; | 549 return; |
| 550 case CSSPropertyWebkitColumnWidth: | 550 case CSSPropertyWebkitColumnWidth: |
| 551 style->setColumnWidth(clampTo(toAnimatableDouble(value)->toDouble(), std
::numeric_limits<float>::epsilon())); | 551 style->setColumnWidth(clampTo(toAnimatableDouble(value)->toDouble(), std
::numeric_limits<float>::epsilon())); |
| 552 return; | 552 return; |
| 553 case CSSPropertyWebkitColumnRuleWidth: | 553 case CSSPropertyWebkitColumnRuleWidth: |
| 554 style->setColumnRuleWidth(clampTo<unsigned short>(toAnimatableDouble(val
ue)->toDouble())); | 554 style->setColumnRuleWidth(clampTo<unsigned short>(toAnimatableDouble(val
ue)->toDouble())); |
| 555 return; | 555 return; |
| 556 case CSSPropertyWebkitFilter: | 556 case CSSPropertyWebkitFilter: |
| 557 style->setFilter(toAnimatableFilterOperations(value)->operations()); | 557 style->setFilter(toAnimatableFilterOperations(value)->operations()); |
| 558 return; | 558 return; |
| 559 case CSSPropertyBackdropFilter: |
| 560 style->setBackdropFilter(toAnimatableFilterOperations(value)->operations
()); |
| 561 return; |
| 559 case CSSPropertyWebkitMaskBoxImageOutset: | 562 case CSSPropertyWebkitMaskBoxImageOutset: |
| 560 style->setMaskBoxImageOutset(animatableValueToBorderImageLengthBox(value
, state)); | 563 style->setMaskBoxImageOutset(animatableValueToBorderImageLengthBox(value
, state)); |
| 561 return; | 564 return; |
| 562 case CSSPropertyWebkitMaskBoxImageSlice: | 565 case CSSPropertyWebkitMaskBoxImageSlice: |
| 563 style->setMaskBoxImageSlices(animatableValueToLengthBox(toAnimatableLeng
thBoxAndBool(value)->box(), state, ValueRangeNonNegative)); | 566 style->setMaskBoxImageSlices(animatableValueToLengthBox(toAnimatableLeng
thBoxAndBool(value)->box(), state, ValueRangeNonNegative)); |
| 564 style->setMaskBoxImageSlicesFill(toAnimatableLengthBoxAndBool(value)->fl
ag()); | 567 style->setMaskBoxImageSlicesFill(toAnimatableLengthBoxAndBool(value)->fl
ag()); |
| 565 return; | 568 return; |
| 566 case CSSPropertyWebkitMaskBoxImageSource: | 569 case CSSPropertyWebkitMaskBoxImageSource: |
| 567 style->setMaskBoxImageSource(state.styleImage(property, toAnimatableImag
e(value)->toCSSValue())); | 570 style->setMaskBoxImageSource(state.styleImage(property, toAnimatableImag
e(value)->toCSSValue())); |
| 568 return; | 571 return; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 case CSSPropertyRy: | 685 case CSSPropertyRy: |
| 683 style->setRy(animatableValueToLength(value, state, ValueRangeNonNegative
)); | 686 style->setRy(animatableValueToLength(value, state, ValueRangeNonNegative
)); |
| 684 return; | 687 return; |
| 685 | 688 |
| 686 default: | 689 default: |
| 687 ASSERT_NOT_REACHED(); | 690 ASSERT_NOT_REACHED(); |
| 688 } | 691 } |
| 689 } | 692 } |
| 690 | 693 |
| 691 } // namespace blink | 694 } // namespace blink |
| OLD | NEW |