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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 case CSSPropertyWebkitMaskBoxImageWidth: | 450 case CSSPropertyWebkitMaskBoxImageWidth: |
451 return createFromBorderImageLengthBox(style.maskBoxImageWidth(), style); | 451 return createFromBorderImageLengthBox(style.maskBoxImageWidth(), style); |
452 case CSSPropertyWebkitMaskImage: | 452 case CSSPropertyWebkitMaskImage: |
453 return createFromFillLayers<CSSPropertyWebkitMaskImage>(style.maskLayers
(), style); | 453 return createFromFillLayers<CSSPropertyWebkitMaskImage>(style.maskLayers
(), style); |
454 case CSSPropertyWebkitMaskPositionX: | 454 case CSSPropertyWebkitMaskPositionX: |
455 return createFromFillLayers<CSSPropertyWebkitMaskPositionX>(style.maskLa
yers(), style); | 455 return createFromFillLayers<CSSPropertyWebkitMaskPositionX>(style.maskLa
yers(), style); |
456 case CSSPropertyWebkitMaskPositionY: | 456 case CSSPropertyWebkitMaskPositionY: |
457 return createFromFillLayers<CSSPropertyWebkitMaskPositionY>(style.maskLa
yers(), style); | 457 return createFromFillLayers<CSSPropertyWebkitMaskPositionY>(style.maskLa
yers(), style); |
458 case CSSPropertyWebkitMaskSize: | 458 case CSSPropertyWebkitMaskSize: |
459 return createFromFillLayers<CSSPropertyWebkitMaskSize>(style.maskLayers(
), style); | 459 return createFromFillLayers<CSSPropertyWebkitMaskSize>(style.maskLayers(
), style); |
460 case CSSPropertyWebkitPerspective: | 460 case CSSPropertyPerspective: |
461 return createFromDouble(style.perspective()); | 461 return createFromDouble(style.perspective()); |
462 case CSSPropertyWebkitPerspectiveOriginX: | 462 case CSSPropertyWebkitPerspectiveOriginX: |
463 return createFromLength(style.perspectiveOriginX(), style); | 463 return createFromLength(style.perspectiveOriginX(), style); |
464 case CSSPropertyWebkitPerspectiveOriginY: | 464 case CSSPropertyWebkitPerspectiveOriginY: |
465 return createFromLength(style.perspectiveOriginY(), style); | 465 return createFromLength(style.perspectiveOriginY(), style); |
466 case CSSPropertyShapeOutside: | 466 case CSSPropertyShapeOutside: |
467 return createFromShapeValue(style.shapeOutside()); | 467 return createFromShapeValue(style.shapeOutside()); |
468 case CSSPropertyShapeMargin: | 468 case CSSPropertyShapeMargin: |
469 return createFromLength(style.shapeMargin(), style); | 469 return createFromLength(style.shapeMargin(), style); |
470 case CSSPropertyShapeImageThreshold: | 470 case CSSPropertyShapeImageThreshold: |
(...skipping 21 matching lines...) Expand all Loading... |
492 case CSSPropertyZoom: | 492 case CSSPropertyZoom: |
493 return createFromDouble(style.zoom()); | 493 return createFromDouble(style.zoom()); |
494 default: | 494 default: |
495 ASSERT_NOT_REACHED(); | 495 ASSERT_NOT_REACHED(); |
496 // This return value is to avoid a release crash if possible. | 496 // This return value is to avoid a release crash if possible. |
497 return AnimatableUnknown::create(nullptr); | 497 return AnimatableUnknown::create(nullptr); |
498 } | 498 } |
499 } | 499 } |
500 | 500 |
501 } // namespace WebCore | 501 } // namespace WebCore |
OLD | NEW |