| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 3 Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
| 4 Copyright (C) 2011 Rik Cabanier (cabanier@adobe.com) | 4 Copyright (C) 2011 Rik Cabanier (cabanier@adobe.com) |
| 5 Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 5 Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
| 6 Copyright (C) 2012 Motorola Mobility, Inc. All rights reserved. | 6 Copyright (C) 2012 Motorola Mobility, Inc. All rights reserved. |
| 7 | 7 |
| 8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
| 9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
| 10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 case FillAvailable: | 41 case FillAvailable: |
| 42 case Auto: | 42 case Auto: |
| 43 return static_cast<float>(maximumValue); | 43 return static_cast<float>(maximumValue); |
| 44 case Calculated: | 44 case Calculated: |
| 45 return length.nonNanCalculatedValue(maximumValue); | 45 return length.nonNanCalculatedValue(maximumValue); |
| 46 case ViewportPercentageWidth: | 46 case ViewportPercentageWidth: |
| 47 case ViewportPercentageHeight: | 47 case ViewportPercentageHeight: |
| 48 case ViewportPercentageMin: | 48 case ViewportPercentageMin: |
| 49 case ViewportPercentageMax: | 49 case ViewportPercentageMax: |
| 50 return 0; | 50 return 0; |
| 51 case Relative: | |
| 52 case Intrinsic: | 51 case Intrinsic: |
| 53 case MinIntrinsic: | 52 case MinIntrinsic: |
| 54 case MinContent: | 53 case MinContent: |
| 55 case MaxContent: | 54 case MaxContent: |
| 56 case FitContent: | 55 case FitContent: |
| 57 case ExtendToZoom: | 56 case ExtendToZoom: |
| 58 case Undefined: | 57 case Undefined: |
| 59 ASSERT_NOT_REACHED(); | 58 ASSERT_NOT_REACHED(); |
| 60 return 0; | 59 return 0; |
| 61 } | 60 } |
| 62 ASSERT_NOT_REACHED(); | 61 ASSERT_NOT_REACHED(); |
| 63 return 0; | 62 return 0; |
| 64 } | 63 } |
| 65 | 64 |
| 66 } // namespace WebCore | 65 } // namespace WebCore |
| OLD | NEW |