| 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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 return; | 535 return; |
| 536 case CSSPropertyTop: | 536 case CSSPropertyTop: |
| 537 style->setTop(animatableValueToLength(value, state)); | 537 style->setTop(animatableValueToLength(value, state)); |
| 538 return; | 538 return; |
| 539 case CSSPropertyWebkitBorderHorizontalSpacing: | 539 case CSSPropertyWebkitBorderHorizontalSpacing: |
| 540 style->setHorizontalBorderSpacing(animatableValueClampTo<unsigned short>
(value)); | 540 style->setHorizontalBorderSpacing(animatableValueClampTo<unsigned short>
(value)); |
| 541 return; | 541 return; |
| 542 case CSSPropertyWebkitBorderVerticalSpacing: | 542 case CSSPropertyWebkitBorderVerticalSpacing: |
| 543 style->setVerticalBorderSpacing(animatableValueClampTo<unsigned short>(v
alue)); | 543 style->setVerticalBorderSpacing(animatableValueClampTo<unsigned short>(v
alue)); |
| 544 return; | 544 return; |
| 545 case CSSPropertyWebkitClipPath: | 545 case CSSPropertyClipPath: |
| 546 style->setClipPath(toAnimatableClipPathOperation(value)->getClipPathOper
ation()); | 546 style->setClipPath(toAnimatableClipPathOperation(value)->getClipPathOper
ation()); |
| 547 return; | 547 return; |
| 548 case CSSPropertyColumnCount: | 548 case CSSPropertyColumnCount: |
| 549 style->setColumnCount(clampTo<unsigned short>(round(toAnimatableDouble(v
alue)->toDouble()), 1)); | 549 style->setColumnCount(clampTo<unsigned short>(round(toAnimatableDouble(v
alue)->toDouble()), 1)); |
| 550 return; | 550 return; |
| 551 case CSSPropertyColumnGap: | 551 case CSSPropertyColumnGap: |
| 552 style->setColumnGap(clampTo(toAnimatableDouble(value)->toDouble(), 0)); | 552 style->setColumnGap(clampTo(toAnimatableDouble(value)->toDouble(), 0)); |
| 553 return; | 553 return; |
| 554 case CSSPropertyColumnRuleColor: | 554 case CSSPropertyColumnRuleColor: |
| 555 style->setColumnRuleColor(toAnimatableColor(value)->getColor()); | 555 style->setColumnRuleColor(toAnimatableColor(value)->getColor()); |
| (...skipping 150 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 |