| 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 m_value.valueID = CSSValueMaxContent; | 322 m_value.valueID = CSSValueMaxContent; |
| 323 break; | 323 break; |
| 324 case FillAvailable: | 324 case FillAvailable: |
| 325 m_primitiveUnitType = CSS_VALUE_ID; | 325 m_primitiveUnitType = CSS_VALUE_ID; |
| 326 m_value.valueID = CSSValueWebkitFillAvailable; | 326 m_value.valueID = CSSValueWebkitFillAvailable; |
| 327 break; | 327 break; |
| 328 case FitContent: | 328 case FitContent: |
| 329 m_primitiveUnitType = CSS_VALUE_ID; | 329 m_primitiveUnitType = CSS_VALUE_ID; |
| 330 m_value.valueID = CSSValueWebkitFitContent; | 330 m_value.valueID = CSSValueWebkitFitContent; |
| 331 break; | 331 break; |
| 332 case ExtendToZoom: | |
| 333 m_primitiveUnitType = CSS_VALUE_ID; | |
| 334 m_value.valueID = CSSValueInternalExtendToZoom; | |
| 335 break; | |
| 336 case Percent: | 332 case Percent: |
| 337 m_primitiveUnitType = CSS_PERCENTAGE; | 333 m_primitiveUnitType = CSS_PERCENTAGE; |
| 338 ASSERT(std::isfinite(length.percent())); | 334 ASSERT(std::isfinite(length.percent())); |
| 339 m_value.num = length.percent(); | 335 m_value.num = length.percent(); |
| 340 break; | 336 break; |
| 341 case Fixed: | 337 case Fixed: |
| 342 m_primitiveUnitType = CSS_PX; | 338 m_primitiveUnitType = CSS_PX; |
| 343 m_value.num = length.value(); | 339 m_value.num = length.value(); |
| 344 break; | 340 break; |
| 345 case Calculated: { | 341 case Calculated: { |
| (...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1351 visitor->trace(m_value.shape); | 1347 visitor->trace(m_value.shape); |
| 1352 break; | 1348 break; |
| 1353 default: | 1349 default: |
| 1354 break; | 1350 break; |
| 1355 } | 1351 } |
| 1356 #endif | 1352 #endif |
| 1357 CSSValue::traceAfterDispatch(visitor); | 1353 CSSValue::traceAfterDispatch(visitor); |
| 1358 } | 1354 } |
| 1359 | 1355 |
| 1360 } // namespace blink | 1356 } // namespace blink |
| OLD | NEW |