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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 return; | 546 return; |
547 case CSSPropertyWebkitMaskPositionX: | 547 case CSSPropertyWebkitMaskPositionX: |
548 setOnFillLayers<CSSPropertyWebkitMaskPositionX>(style->accessMaskLayers(
), value, state); | 548 setOnFillLayers<CSSPropertyWebkitMaskPositionX>(style->accessMaskLayers(
), value, state); |
549 return; | 549 return; |
550 case CSSPropertyWebkitMaskPositionY: | 550 case CSSPropertyWebkitMaskPositionY: |
551 setOnFillLayers<CSSPropertyWebkitMaskPositionY>(style->accessMaskLayers(
), value, state); | 551 setOnFillLayers<CSSPropertyWebkitMaskPositionY>(style->accessMaskLayers(
), value, state); |
552 return; | 552 return; |
553 case CSSPropertyWebkitMaskSize: | 553 case CSSPropertyWebkitMaskSize: |
554 setOnFillLayers<CSSPropertyWebkitMaskSize>(style->accessMaskLayers(), va
lue, state); | 554 setOnFillLayers<CSSPropertyWebkitMaskSize>(style->accessMaskLayers(), va
lue, state); |
555 return; | 555 return; |
556 case CSSPropertyWebkitPerspective: | 556 case CSSPropertyPerspective: |
557 style->setPerspective(clampTo<float>(toAnimatableDouble(value)->toDouble
())); | 557 style->setPerspective(clampTo<float>(toAnimatableDouble(value)->toDouble
())); |
558 return; | 558 return; |
559 case CSSPropertyWebkitPerspectiveOriginX: | 559 case CSSPropertyWebkitPerspectiveOriginX: |
560 style->setPerspectiveOriginX(animatableValueToLength(value, state)); | 560 style->setPerspectiveOriginX(animatableValueToLength(value, state)); |
561 return; | 561 return; |
562 case CSSPropertyWebkitPerspectiveOriginY: | 562 case CSSPropertyWebkitPerspectiveOriginY: |
563 style->setPerspectiveOriginY(animatableValueToLength(value, state)); | 563 style->setPerspectiveOriginY(animatableValueToLength(value, state)); |
564 return; | 564 return; |
565 case CSSPropertyShapeOutside: | 565 case CSSPropertyShapeOutside: |
566 style->setShapeOutside(toAnimatableShapeValue(value)->shapeValue()); | 566 style->setShapeOutside(toAnimatableShapeValue(value)->shapeValue()); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 return; | 607 return; |
608 case CSSPropertyZoom: | 608 case CSSPropertyZoom: |
609 style->setZoom(clampTo<float>(toAnimatableDouble(value)->toDouble(), std
::numeric_limits<float>::denorm_min())); | 609 style->setZoom(clampTo<float>(toAnimatableDouble(value)->toDouble(), std
::numeric_limits<float>::denorm_min())); |
610 return; | 610 return; |
611 default: | 611 default: |
612 ASSERT_NOT_REACHED(); | 612 ASSERT_NOT_REACHED(); |
613 } | 613 } |
614 } | 614 } |
615 | 615 |
616 } // namespace WebCore | 616 } // namespace WebCore |
OLD | NEW |