OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. |
4 * All rights reserved. | 4 * All rights reserved. |
5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
7 * Copyright (C) 2011 Sencha, Inc. All rights reserved. | 7 * Copyright (C) 2011 Sencha, Inc. All rights reserved. |
8 * Copyright (C) 2015 Google Inc. All rights reserved. | 8 * Copyright (C) 2015 Google Inc. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 3570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3581 case CSSPropertyX: | 3581 case CSSPropertyX: |
3582 return zoomAdjustedPixelValueForLength(svgStyle.x(), style); | 3582 return zoomAdjustedPixelValueForLength(svgStyle.x(), style); |
3583 case CSSPropertyY: | 3583 case CSSPropertyY: |
3584 return zoomAdjustedPixelValueForLength(svgStyle.y(), style); | 3584 return zoomAdjustedPixelValueForLength(svgStyle.y(), style); |
3585 case CSSPropertyR: | 3585 case CSSPropertyR: |
3586 return zoomAdjustedPixelValueForLength(svgStyle.r(), style); | 3586 return zoomAdjustedPixelValueForLength(svgStyle.r(), style); |
3587 case CSSPropertyRx: | 3587 case CSSPropertyRx: |
3588 return zoomAdjustedPixelValueForLength(svgStyle.rx(), style); | 3588 return zoomAdjustedPixelValueForLength(svgStyle.rx(), style); |
3589 case CSSPropertyRy: | 3589 case CSSPropertyRy: |
3590 return zoomAdjustedPixelValueForLength(svgStyle.ry(), style); | 3590 return zoomAdjustedPixelValueForLength(svgStyle.ry(), style); |
| 3591 case CSSPropertyScrollBoundaryBehavior: |
| 3592 return CSSIdentifierValue::create(style.getScrollBoundaryBehavior()); |
3591 case CSSPropertyScrollSnapType: | 3593 case CSSPropertyScrollSnapType: |
3592 return CSSIdentifierValue::create(style.getScrollSnapType()); | 3594 return CSSIdentifierValue::create(style.getScrollSnapType()); |
3593 case CSSPropertyScrollSnapPointsX: | 3595 case CSSPropertyScrollSnapPointsX: |
3594 return valueForScrollSnapPoints(style.scrollSnapPointsX(), style); | 3596 return valueForScrollSnapPoints(style.scrollSnapPointsX(), style); |
3595 case CSSPropertyScrollSnapPointsY: | 3597 case CSSPropertyScrollSnapPointsY: |
3596 return valueForScrollSnapPoints(style.scrollSnapPointsY(), style); | 3598 return valueForScrollSnapPoints(style.scrollSnapPointsY(), style); |
3597 case CSSPropertyScrollSnapCoordinate: | 3599 case CSSPropertyScrollSnapCoordinate: |
3598 return valueForScrollSnapCoordinate(style.scrollSnapCoordinate(), style); | 3600 return valueForScrollSnapCoordinate(style.scrollSnapCoordinate(), style); |
3599 case CSSPropertyScrollSnapDestination: | 3601 case CSSPropertyScrollSnapDestination: |
3600 return valueForScrollSnapDestination(style.scrollSnapDestination(), | 3602 return valueForScrollSnapDestination(style.scrollSnapDestination(), |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3691 case CSSPropertyAll: | 3693 case CSSPropertyAll: |
3692 return nullptr; | 3694 return nullptr; |
3693 default: | 3695 default: |
3694 break; | 3696 break; |
3695 } | 3697 } |
3696 ASSERT_NOT_REACHED(); | 3698 ASSERT_NOT_REACHED(); |
3697 return nullptr; | 3699 return nullptr; |
3698 } | 3700 } |
3699 | 3701 |
3700 } // namespace blink | 3702 } // namespace blink |
OLD | NEW |