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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 case CSSPropertyColumnGap: | 495 case CSSPropertyColumnGap: |
496 return createFromDouble(style.columnGap()); | 496 return createFromDouble(style.columnGap()); |
497 case CSSPropertyColumnRuleColor: | 497 case CSSPropertyColumnRuleColor: |
498 return createFromColor(property, style); | 498 return createFromColor(property, style); |
499 case CSSPropertyColumnRuleWidth: | 499 case CSSPropertyColumnRuleWidth: |
500 return createFromDouble(style.columnRuleWidth()); | 500 return createFromDouble(style.columnRuleWidth()); |
501 case CSSPropertyColumnWidth: | 501 case CSSPropertyColumnWidth: |
502 if (style.hasAutoColumnWidth()) | 502 if (style.hasAutoColumnWidth()) |
503 return AnimatableUnknown::create(CSSValueAuto); | 503 return AnimatableUnknown::create(CSSValueAuto); |
504 return createFromDouble(style.columnWidth()); | 504 return createFromDouble(style.columnWidth()); |
505 case CSSPropertyWebkitFilter: | 505 case CSSPropertyFilter: |
506 return AnimatableFilterOperations::create(style.filter()); | 506 return AnimatableFilterOperations::create(style.filter()); |
507 case CSSPropertyBackdropFilter: | 507 case CSSPropertyBackdropFilter: |
508 return AnimatableFilterOperations::create(style.backdropFilter()); | 508 return AnimatableFilterOperations::create(style.backdropFilter()); |
509 case CSSPropertyWebkitMaskBoxImageOutset: | 509 case CSSPropertyWebkitMaskBoxImageOutset: |
510 return createFromBorderImageLengthBox(style.maskBoxImageOutset(), style)
; | 510 return createFromBorderImageLengthBox(style.maskBoxImageOutset(), style)
; |
511 case CSSPropertyWebkitMaskBoxImageSlice: | 511 case CSSPropertyWebkitMaskBoxImageSlice: |
512 return createFromLengthBoxAndBool(style.maskBoxImageSlices(), style.mask
BoxImageSlicesFill(), style); | 512 return createFromLengthBoxAndBool(style.maskBoxImageSlices(), style.mask
BoxImageSlicesFill(), style); |
513 case CSSPropertyWebkitMaskBoxImageSource: | 513 case CSSPropertyWebkitMaskBoxImageSource: |
514 return createFromStyleImage(style.maskBoxImageSource()); | 514 return createFromStyleImage(style.maskBoxImageSource()); |
515 case CSSPropertyWebkitMaskBoxImageWidth: | 515 case CSSPropertyWebkitMaskBoxImageWidth: |
(...skipping 82 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 ASSERT_NOT_REACHED(); | 602 ASSERT_NOT_REACHED(); |
603 return nullptr; | 603 return nullptr; |
604 } | 604 } |
605 } | 605 } |
606 | 606 |
607 } // namespace blink | 607 } // namespace blink |
OLD | NEW |