| 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 case CSSPropertyVerticalAlign: | 525 case CSSPropertyVerticalAlign: |
| 526 if (style.verticalAlign() == LENGTH) | 526 if (style.verticalAlign() == LENGTH) |
| 527 return createFromLength(style.verticalAlignLength(), style); | 527 return createFromLength(style.verticalAlignLength(), style); |
| 528 return AnimatableUnknown::create(CSSPrimitiveValue::create(style.vertica
lAlign())); | 528 return AnimatableUnknown::create(CSSPrimitiveValue::create(style.vertica
lAlign())); |
| 529 case CSSPropertyVisibility: | 529 case CSSPropertyVisibility: |
| 530 return AnimatableVisibility::create(style.visibility()); | 530 return AnimatableVisibility::create(style.visibility()); |
| 531 case CSSPropertyX: | 531 case CSSPropertyX: |
| 532 return createFromLength(style.svgStyle().x(), style); | 532 return createFromLength(style.svgStyle().x(), style); |
| 533 case CSSPropertyY: | 533 case CSSPropertyY: |
| 534 return createFromLength(style.svgStyle().y(), style); | 534 return createFromLength(style.svgStyle().y(), style); |
| 535 case CSSPropertyRx: |
| 536 return createFromLength(style.svgStyle().rx(), style); |
| 537 case CSSPropertyRy: |
| 538 return createFromLength(style.svgStyle().ry(), style); |
| 535 case CSSPropertyZIndex: | 539 case CSSPropertyZIndex: |
| 536 return createFromDouble(style.zIndex()); | 540 return createFromDouble(style.zIndex()); |
| 537 default: | 541 default: |
| 538 ASSERT_NOT_REACHED(); | 542 ASSERT_NOT_REACHED(); |
| 539 // This return value is to avoid a release crash if possible. | 543 // This return value is to avoid a release crash if possible. |
| 540 return AnimatableUnknown::create(nullptr); | 544 return AnimatableUnknown::create(nullptr); |
| 541 } | 545 } |
| 542 } | 546 } |
| 543 | 547 |
| 544 } // namespace blink | 548 } // namespace blink |
| OLD | NEW |