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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 case CSSPropertyColumnRuleColor: | 554 case CSSPropertyColumnRuleColor: |
555 style->setColumnRuleColor(toAnimatableColor(value)->getColor()); | 555 style->setColumnRuleColor(toAnimatableColor(value)->getColor()); |
556 style->setVisitedLinkColumnRuleColor(toAnimatableColor(value)->visitedLi
nkColor()); | 556 style->setVisitedLinkColumnRuleColor(toAnimatableColor(value)->visitedLi
nkColor()); |
557 return; | 557 return; |
558 case CSSPropertyColumnWidth: | 558 case CSSPropertyColumnWidth: |
559 style->setColumnWidth(clampTo(toAnimatableDouble(value)->toDouble(), std
::numeric_limits<float>::epsilon())); | 559 style->setColumnWidth(clampTo(toAnimatableDouble(value)->toDouble(), std
::numeric_limits<float>::epsilon())); |
560 return; | 560 return; |
561 case CSSPropertyColumnRuleWidth: | 561 case CSSPropertyColumnRuleWidth: |
562 style->setColumnRuleWidth(animatableLineWidthClamp<unsigned short>(value
)); | 562 style->setColumnRuleWidth(animatableLineWidthClamp<unsigned short>(value
)); |
563 return; | 563 return; |
564 case CSSPropertyWebkitFilter: | 564 case CSSPropertyFilter: |
565 style->setFilter(toAnimatableFilterOperations(value)->operations()); | 565 style->setFilter(toAnimatableFilterOperations(value)->operations()); |
566 return; | 566 return; |
567 case CSSPropertyBackdropFilter: | 567 case CSSPropertyBackdropFilter: |
568 style->setBackdropFilter(toAnimatableFilterOperations(value)->operations
()); | 568 style->setBackdropFilter(toAnimatableFilterOperations(value)->operations
()); |
569 return; | 569 return; |
570 case CSSPropertyWebkitMaskBoxImageOutset: | 570 case CSSPropertyWebkitMaskBoxImageOutset: |
571 style->setMaskBoxImageOutset(animatableValueToBorderImageLengthBox(value
, state)); | 571 style->setMaskBoxImageOutset(animatableValueToBorderImageLengthBox(value
, state)); |
572 return; | 572 return; |
573 case CSSPropertyWebkitMaskBoxImageSlice: | 573 case CSSPropertyWebkitMaskBoxImageSlice: |
574 style->setMaskBoxImageSlices(animatableValueToLengthBox(toAnimatableLeng
thBoxAndBool(value)->box(), state, ValueRangeNonNegative)); | 574 style->setMaskBoxImageSlices(animatableValueToLengthBox(toAnimatableLeng
thBoxAndBool(value)->box(), state, ValueRangeNonNegative)); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 case CSSPropertyRy: | 706 case CSSPropertyRy: |
707 style->setRy(animatableValueToLength(value, state, ValueRangeNonNegative
)); | 707 style->setRy(animatableValueToLength(value, state, ValueRangeNonNegative
)); |
708 return; | 708 return; |
709 | 709 |
710 default: | 710 default: |
711 ASSERT_NOT_REACHED(); | 711 ASSERT_NOT_REACHED(); |
712 } | 712 } |
713 } | 713 } |
714 | 714 |
715 } // namespace blink | 715 } // namespace blink |
OLD | NEW |