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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 return; | 436 return; |
437 case CSSPropertyWebkitBorderHorizontalSpacing: | 437 case CSSPropertyWebkitBorderHorizontalSpacing: |
438 style->setHorizontalBorderSpacing(animatableValueRoundClampTo<unsigned s
hort>(value)); | 438 style->setHorizontalBorderSpacing(animatableValueRoundClampTo<unsigned s
hort>(value)); |
439 return; | 439 return; |
440 case CSSPropertyWebkitBorderVerticalSpacing: | 440 case CSSPropertyWebkitBorderVerticalSpacing: |
441 style->setVerticalBorderSpacing(animatableValueRoundClampTo<unsigned sho
rt>(value)); | 441 style->setVerticalBorderSpacing(animatableValueRoundClampTo<unsigned sho
rt>(value)); |
442 return; | 442 return; |
443 case CSSPropertyWebkitClipPath: | 443 case CSSPropertyWebkitClipPath: |
444 style->setClipPath(toAnimatableClipPathOperation(value)->clipPathOperati
on()); | 444 style->setClipPath(toAnimatableClipPathOperation(value)->clipPathOperati
on()); |
445 return; | 445 return; |
446 case CSSPropertyWebkitFilter: | 446 case CSSPropertyFilter: |
447 style->setFilter(toAnimatableFilterOperations(value)->operations()); | 447 style->setFilter(toAnimatableFilterOperations(value)->operations()); |
448 return; | 448 return; |
449 case CSSPropertyWebkitMaskBoxImageOutset: | 449 case CSSPropertyWebkitMaskBoxImageOutset: |
450 style->setMaskBoxImageOutset(animatableValueToBorderImageLengthBox(value
, state)); | 450 style->setMaskBoxImageOutset(animatableValueToBorderImageLengthBox(value
, state)); |
451 return; | 451 return; |
452 case CSSPropertyWebkitMaskBoxImageSlice: | 452 case CSSPropertyWebkitMaskBoxImageSlice: |
453 style->setMaskBoxImageSlices(animatableValueToLengthBox(toAnimatableLeng
thBoxAndBool(value)->box(), state, ValueRangeNonNegative)); | 453 style->setMaskBoxImageSlices(animatableValueToLengthBox(toAnimatableLeng
thBoxAndBool(value)->box(), state, ValueRangeNonNegative)); |
454 style->setMaskBoxImageSlicesFill(toAnimatableLengthBoxAndBool(value)->fl
ag()); | 454 style->setMaskBoxImageSlicesFill(toAnimatableLengthBoxAndBool(value)->fl
ag()); |
455 return; | 455 return; |
456 case CSSPropertyWebkitMaskBoxImageSource: | 456 case CSSPropertyWebkitMaskBoxImageSource: |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 return; | 510 return; |
511 case CSSPropertyZIndex: | 511 case CSSPropertyZIndex: |
512 style->setZIndex(animatableValueRoundClampTo<int>(value)); | 512 style->setZIndex(animatableValueRoundClampTo<int>(value)); |
513 return; | 513 return; |
514 default: | 514 default: |
515 ASSERT_NOT_REACHED(); | 515 ASSERT_NOT_REACHED(); |
516 } | 516 } |
517 } | 517 } |
518 | 518 |
519 } // namespace blink | 519 } // namespace blink |
OLD | NEW |