| 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 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 } | 722 } |
| 723 } | 723 } |
| 724 | 724 |
| 725 return PaintOrderNormal; | 725 return PaintOrderNormal; |
| 726 } | 726 } |
| 727 | 727 |
| 728 Length StyleBuilderConverter::convertQuirkyLength(StyleResolverState& state, CSS
Value* value) | 728 Length StyleBuilderConverter::convertQuirkyLength(StyleResolverState& state, CSS
Value* value) |
| 729 { | 729 { |
| 730 Length length = convertLengthOrAuto(state, value); | 730 Length length = convertLengthOrAuto(state, value); |
| 731 // This is only for margins which use __qem | 731 // This is only for margins which use __qem |
| 732 length.setQuirk(toCSSPrimitiveValue(value)->isQuirkValue()); | 732 length.setQuirk(toCSSPrimitiveValue(value)->isQuirkyEms()); |
| 733 return length; | 733 return length; |
| 734 } | 734 } |
| 735 | 735 |
| 736 PassRefPtr<QuotesData> StyleBuilderConverter::convertQuotes(StyleResolverState&,
CSSValue* value) | 736 PassRefPtr<QuotesData> StyleBuilderConverter::convertQuotes(StyleResolverState&,
CSSValue* value) |
| 737 { | 737 { |
| 738 if (value->isValueList()) { | 738 if (value->isValueList()) { |
| 739 CSSValueList* list = toCSSValueList(value); | 739 CSSValueList* list = toCSSValueList(value); |
| 740 RefPtr<QuotesData> quotes = QuotesData::create(); | 740 RefPtr<QuotesData> quotes = QuotesData::create(); |
| 741 for (size_t i = 0; i < list->length(); i += 2) { | 741 for (size_t i = 0; i < list->length(); i += 2) { |
| 742 CSSValue* first = list->item(i); | 742 CSSValue* first = list->item(i); |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 return ScaleTransformOperation::create(sx, sy, sz, TransformOperation::Scale
3D); | 958 return ScaleTransformOperation::create(sx, sy, sz, TransformOperation::Scale
3D); |
| 959 } | 959 } |
| 960 | 960 |
| 961 RespectImageOrientationEnum StyleBuilderConverter::convertImageOrientation(Style
ResolverState& state, CSSValue* value) | 961 RespectImageOrientationEnum StyleBuilderConverter::convertImageOrientation(Style
ResolverState& state, CSSValue* value) |
| 962 { | 962 { |
| 963 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); | 963 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
| 964 return primitiveValue->getValueID() == CSSValueFromImage ? RespectImageOrien
tation : DoNotRespectImageOrientation; | 964 return primitiveValue->getValueID() == CSSValueFromImage ? RespectImageOrien
tation : DoNotRespectImageOrientation; |
| 965 } | 965 } |
| 966 | 966 |
| 967 } // namespace blink | 967 } // namespace blink |
| OLD | NEW |