| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2012 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2012 Apple Inc. All rights reserv
ed. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 case MaxContent: | 281 case MaxContent: |
| 282 init(UnitType::ValueID); | 282 init(UnitType::ValueID); |
| 283 m_value.valueID = CSSValueMaxContent; | 283 m_value.valueID = CSSValueMaxContent; |
| 284 break; | 284 break; |
| 285 case FillAvailable: | 285 case FillAvailable: |
| 286 init(UnitType::ValueID); | 286 init(UnitType::ValueID); |
| 287 m_value.valueID = CSSValueWebkitFillAvailable; | 287 m_value.valueID = CSSValueWebkitFillAvailable; |
| 288 break; | 288 break; |
| 289 case FitContent: | 289 case FitContent: |
| 290 init(UnitType::ValueID); | 290 init(UnitType::ValueID); |
| 291 m_value.valueID = CSSValueWebkitFitContent; | 291 m_value.valueID = CSSValueFitContent; |
| 292 break; | 292 break; |
| 293 case ExtendToZoom: | 293 case ExtendToZoom: |
| 294 init(UnitType::ValueID); | 294 init(UnitType::ValueID); |
| 295 m_value.valueID = CSSValueInternalExtendToZoom; | 295 m_value.valueID = CSSValueInternalExtendToZoom; |
| 296 break; | 296 break; |
| 297 case Percent: | 297 case Percent: |
| 298 init(UnitType::Percentage); | 298 init(UnitType::Percentage); |
| 299 ASSERT(std::isfinite(length.percent())); | 299 ASSERT(std::isfinite(length.percent())); |
| 300 m_value.num = length.percent(); | 300 m_value.num = length.percent(); |
| 301 break; | 301 break; |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1153 visitor->trace(m_value.shape); | 1153 visitor->trace(m_value.shape); |
| 1154 break; | 1154 break; |
| 1155 default: | 1155 default: |
| 1156 break; | 1156 break; |
| 1157 } | 1157 } |
| 1158 #endif | 1158 #endif |
| 1159 CSSValue::traceAfterDispatch(visitor); | 1159 CSSValue::traceAfterDispatch(visitor); |
| 1160 } | 1160 } |
| 1161 | 1161 |
| 1162 } // namespace blink | 1162 } // namespace blink |
| OLD | NEW |