| 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 * * Redistributions of source code must retain the above copyright | 4 * * Redistributions of source code must retain the above copyright |
| 5 * notice, this list of conditions and the following disclaimer. | 5 * notice, this list of conditions and the following disclaimer. |
| 6 * * Redistributions in binary form must reproduce the above | 6 * * Redistributions in binary form must reproduce the above |
| 7 * copyright notice, this list of conditions and the following disclaimer | 7 * copyright notice, this list of conditions and the following disclaimer |
| 8 * in the documentation and/or other materials provided with the | 8 * in the documentation and/or other materials provided with the |
| 9 * distribution. | 9 * distribution. |
| 10 * * Neither the name of Google Inc. nor the names of its | 10 * * Neither the name of Google Inc. nor the names of its |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "core/css/BasicShapeFunctions.h" | 30 #include "core/css/BasicShapeFunctions.h" |
| 31 #include "core/css/CSSFontFeatureValue.h" | 31 #include "core/css/CSSFontFeatureValue.h" |
| 32 #include "core/css/CSSFunctionValue.h" | 32 #include "core/css/CSSFunctionValue.h" |
| 33 #include "core/css/CSSGridLineNamesValue.h" | 33 #include "core/css/CSSGridLineNamesValue.h" |
| 34 #include "core/css/CSSPrimitiveValueMappings.h" | 34 #include "core/css/CSSPrimitiveValueMappings.h" |
| 35 #include "core/css/CSSReflectValue.h" | 35 #include "core/css/CSSReflectValue.h" |
| 36 #include "core/css/CSSShadowValue.h" | 36 #include "core/css/CSSShadowValue.h" |
| 37 #include "core/css/Pair.h" | 37 #include "core/css/Pair.h" |
| 38 #include "core/css/Rect.h" | 38 #include "core/css/Rect.h" |
| 39 #include "core/svg/SVGElement.h" |
| 39 #include "core/svg/SVGURIReference.h" | 40 #include "core/svg/SVGURIReference.h" |
| 40 | 41 |
| 41 namespace blink { | 42 namespace blink { |
| 42 | 43 |
| 43 namespace { | 44 namespace { |
| 44 | 45 |
| 45 static GridLength convertGridTrackBreadth(const StyleResolverState& state, CSSPr
imitiveValue* primitiveValue) | 46 static GridLength convertGridTrackBreadth(const StyleResolverState& state, CSSPr
imitiveValue* primitiveValue) |
| 46 { | 47 { |
| 47 if (primitiveValue->getValueID() == CSSValueMinContent) | 48 if (primitiveValue->getValueID() == CSSValueMinContent) |
| 48 return Length(MinContent); | 49 return Length(MinContent); |
| (...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 CSSPrimitiveValue* primitiveValueZ = toCSSPrimitiveValue(list->item(2)); | 878 CSSPrimitiveValue* primitiveValueZ = toCSSPrimitiveValue(list->item(2)); |
| 878 | 879 |
| 879 return TransformOrigin( | 880 return TransformOrigin( |
| 880 convertOriginLength<CSSValueLeft, CSSValueRight>(state, primitiveValueX)
, | 881 convertOriginLength<CSSValueLeft, CSSValueRight>(state, primitiveValueX)
, |
| 881 convertOriginLength<CSSValueTop, CSSValueBottom>(state, primitiveValueY)
, | 882 convertOriginLength<CSSValueTop, CSSValueBottom>(state, primitiveValueY)
, |
| 882 StyleBuilderConverter::convertComputedLength<float>(state, primitiveValu
eZ) | 883 StyleBuilderConverter::convertComputedLength<float>(state, primitiveValu
eZ) |
| 883 ); | 884 ); |
| 884 } | 885 } |
| 885 | 886 |
| 886 } // namespace blink | 887 } // namespace blink |
| OLD | NEW |