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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 case CSSPropertyWebkitColumnRuleColor: | 494 case CSSPropertyWebkitColumnRuleColor: |
495 return createFromColor(property, style); | 495 return createFromColor(property, style); |
496 case CSSPropertyWebkitColumnRuleWidth: | 496 case CSSPropertyWebkitColumnRuleWidth: |
497 return createFromDouble(style.columnRuleWidth()); | 497 return createFromDouble(style.columnRuleWidth()); |
498 case CSSPropertyWebkitColumnWidth: | 498 case CSSPropertyWebkitColumnWidth: |
499 if (style.hasAutoColumnWidth()) | 499 if (style.hasAutoColumnWidth()) |
500 return AnimatableUnknown::create(CSSValueAuto); | 500 return AnimatableUnknown::create(CSSValueAuto); |
501 return createFromDouble(style.columnWidth()); | 501 return createFromDouble(style.columnWidth()); |
502 case CSSPropertyWebkitFilter: | 502 case CSSPropertyWebkitFilter: |
503 return AnimatableFilterOperations::create(style.filter()); | 503 return AnimatableFilterOperations::create(style.filter()); |
| 504 case CSSPropertyBackdropFilter: |
| 505 return AnimatableFilterOperations::create(style.backdropFilter()); |
504 case CSSPropertyWebkitMaskBoxImageOutset: | 506 case CSSPropertyWebkitMaskBoxImageOutset: |
505 return createFromBorderImageLengthBox(style.maskBoxImageOutset(), style)
; | 507 return createFromBorderImageLengthBox(style.maskBoxImageOutset(), style)
; |
506 case CSSPropertyWebkitMaskBoxImageSlice: | 508 case CSSPropertyWebkitMaskBoxImageSlice: |
507 return createFromLengthBoxAndBool(style.maskBoxImageSlices(), style.mask
BoxImageSlicesFill(), style); | 509 return createFromLengthBoxAndBool(style.maskBoxImageSlices(), style.mask
BoxImageSlicesFill(), style); |
508 case CSSPropertyWebkitMaskBoxImageSource: | 510 case CSSPropertyWebkitMaskBoxImageSource: |
509 return createFromStyleImage(style.maskBoxImageSource()); | 511 return createFromStyleImage(style.maskBoxImageSource()); |
510 case CSSPropertyWebkitMaskBoxImageWidth: | 512 case CSSPropertyWebkitMaskBoxImageWidth: |
511 return createFromBorderImageLengthBox(style.maskBoxImageWidth(), style); | 513 return createFromBorderImageLengthBox(style.maskBoxImageWidth(), style); |
512 case CSSPropertyWebkitMaskImage: | 514 case CSSPropertyWebkitMaskImage: |
513 return createFromFillLayers<CSSPropertyWebkitMaskImage>(style.maskLayers
(), style); | 515 return createFromFillLayers<CSSPropertyWebkitMaskImage>(style.maskLayers
(), style); |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 if (style.hasAutoZIndex()) | 593 if (style.hasAutoZIndex()) |
592 return AnimatableUnknown::create(CSSValueAuto); | 594 return AnimatableUnknown::create(CSSValueAuto); |
593 return createFromDouble(style.zIndex()); | 595 return createFromDouble(style.zIndex()); |
594 default: | 596 default: |
595 ASSERT_NOT_REACHED(); | 597 ASSERT_NOT_REACHED(); |
596 return nullptr; | 598 return nullptr; |
597 } | 599 } |
598 } | 600 } |
599 | 601 |
600 } // namespace blink | 602 } // namespace blink |
OLD | NEW |