| 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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 case CSSPropertyTextIndent: | 477 case CSSPropertyTextIndent: |
| 478 return createFromLength(style.textIndent(), style); | 478 return createFromLength(style.textIndent(), style); |
| 479 case CSSPropertyTextShadow: | 479 case CSSPropertyTextShadow: |
| 480 return AnimatableShadow::create(style.textShadow(), style.color()); | 480 return AnimatableShadow::create(style.textShadow(), style.color()); |
| 481 case CSSPropertyTop: | 481 case CSSPropertyTop: |
| 482 return createFromLength(style.top(), style); | 482 return createFromLength(style.top(), style); |
| 483 case CSSPropertyWebkitBorderHorizontalSpacing: | 483 case CSSPropertyWebkitBorderHorizontalSpacing: |
| 484 return createFromDouble(style.horizontalBorderSpacing()); | 484 return createFromDouble(style.horizontalBorderSpacing()); |
| 485 case CSSPropertyWebkitBorderVerticalSpacing: | 485 case CSSPropertyWebkitBorderVerticalSpacing: |
| 486 return createFromDouble(style.verticalBorderSpacing()); | 486 return createFromDouble(style.verticalBorderSpacing()); |
| 487 case CSSPropertyWebkitClipPath: | 487 case CSSPropertyClipPath: |
| 488 if (ClipPathOperation* operation = style.clipPath()) | 488 if (ClipPathOperation* operation = style.clipPath()) |
| 489 return AnimatableClipPathOperation::create(operation); | 489 return AnimatableClipPathOperation::create(operation); |
| 490 return AnimatableUnknown::create(CSSValueNone); | 490 return AnimatableUnknown::create(CSSValueNone); |
| 491 case CSSPropertyColumnCount: | 491 case CSSPropertyColumnCount: |
| 492 if (style.hasAutoColumnCount()) | 492 if (style.hasAutoColumnCount()) |
| 493 return AnimatableUnknown::create(CSSValueAuto); | 493 return AnimatableUnknown::create(CSSValueAuto); |
| 494 return createFromDouble(style.columnCount()); | 494 return createFromDouble(style.columnCount()); |
| 495 case CSSPropertyColumnGap: | 495 case CSSPropertyColumnGap: |
| 496 return createFromDouble(style.columnGap()); | 496 return createFromDouble(style.columnGap()); |
| 497 case CSSPropertyColumnRuleColor: | 497 case CSSPropertyColumnRuleColor: |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 if (style.hasAutoZIndex()) | 598 if (style.hasAutoZIndex()) |
| 599 return AnimatableUnknown::create(CSSValueAuto); | 599 return AnimatableUnknown::create(CSSValueAuto); |
| 600 return createFromDouble(style.zIndex()); | 600 return createFromDouble(style.zIndex()); |
| 601 default: | 601 default: |
| 602 NOTREACHED(); | 602 NOTREACHED(); |
| 603 return nullptr; | 603 return nullptr; |
| 604 } | 604 } |
| 605 } | 605 } |
| 606 | 606 |
| 607 } // namespace blink | 607 } // namespace blink |
| OLD | NEW |