| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 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 20 matching lines...) Expand all Loading... |
| 31 #include "core/css/LengthFunctions.h" | 31 #include "core/css/LengthFunctions.h" |
| 32 #include "core/platform/Length.h" | 32 #include "core/platform/Length.h" |
| 33 #include "core/platform/LengthBox.h" | 33 #include "core/platform/LengthBox.h" |
| 34 #include "core/platform/LengthSize.h" | 34 #include "core/platform/LengthSize.h" |
| 35 #include "core/platform/ThemeTypes.h" | 35 #include "core/platform/ThemeTypes.h" |
| 36 #include "core/platform/animation/CSSAnimationDataList.h" | 36 #include "core/platform/animation/CSSAnimationDataList.h" |
| 37 #include "core/platform/graphics/Color.h" | 37 #include "core/platform/graphics/Color.h" |
| 38 #include "core/platform/graphics/FontBaseline.h" | 38 #include "core/platform/graphics/FontBaseline.h" |
| 39 #include "core/platform/graphics/FontDescription.h" | 39 #include "core/platform/graphics/FontDescription.h" |
| 40 #include "core/platform/graphics/GraphicsTypes.h" | 40 #include "core/platform/graphics/GraphicsTypes.h" |
| 41 #include "core/platform/graphics/LayoutBoxExtent.h" | |
| 42 #include "core/platform/graphics/RoundedRect.h" | 41 #include "core/platform/graphics/RoundedRect.h" |
| 43 #include "core/platform/graphics/transforms/TransformOperations.h" | 42 #include "core/platform/graphics/transforms/TransformOperations.h" |
| 44 #include "core/platform/text/TextDirection.h" | |
| 45 #include "core/platform/text/UnicodeBidi.h" | 43 #include "core/platform/text/UnicodeBidi.h" |
| 46 #include "core/rendering/style/BorderValue.h" | 44 #include "core/rendering/style/BorderValue.h" |
| 47 #include "core/rendering/style/CounterDirectives.h" | 45 #include "core/rendering/style/CounterDirectives.h" |
| 48 #include "core/rendering/style/DataRef.h" | 46 #include "core/rendering/style/DataRef.h" |
| 49 #include "core/rendering/style/LineClampValue.h" | 47 #include "core/rendering/style/LineClampValue.h" |
| 50 #include "core/rendering/style/NinePieceImage.h" | 48 #include "core/rendering/style/NinePieceImage.h" |
| 51 #include "core/rendering/style/OutlineValue.h" | 49 #include "core/rendering/style/OutlineValue.h" |
| 52 #include "core/rendering/style/RenderStyleConstants.h" | 50 #include "core/rendering/style/RenderStyleConstants.h" |
| 53 #include "core/rendering/style/SVGRenderStyle.h" | 51 #include "core/rendering/style/SVGRenderStyle.h" |
| 54 #include "core/rendering/style/ShadowData.h" | 52 #include "core/rendering/style/ShadowData.h" |
| 55 #include "core/rendering/style/ShapeValue.h" | 53 #include "core/rendering/style/ShapeValue.h" |
| 56 #include "core/rendering/style/StyleBackgroundData.h" | 54 #include "core/rendering/style/StyleBackgroundData.h" |
| 57 #include "core/rendering/style/StyleBoxData.h" | 55 #include "core/rendering/style/StyleBoxData.h" |
| 58 #include "core/rendering/style/StyleDeprecatedFlexibleBoxData.h" | 56 #include "core/rendering/style/StyleDeprecatedFlexibleBoxData.h" |
| 59 #include "core/rendering/style/StyleFilterData.h" | 57 #include "core/rendering/style/StyleFilterData.h" |
| 60 #include "core/rendering/style/StyleFlexibleBoxData.h" | 58 #include "core/rendering/style/StyleFlexibleBoxData.h" |
| 61 #include "core/rendering/style/StyleGridData.h" | 59 #include "core/rendering/style/StyleGridData.h" |
| 62 #include "core/rendering/style/StyleGridItemData.h" | 60 #include "core/rendering/style/StyleGridItemData.h" |
| 63 #include "core/rendering/style/StyleMarqueeData.h" | 61 #include "core/rendering/style/StyleMarqueeData.h" |
| 64 #include "core/rendering/style/StyleMultiColData.h" | 62 #include "core/rendering/style/StyleMultiColData.h" |
| 65 #include "core/rendering/style/StyleRareInheritedData.h" | 63 #include "core/rendering/style/StyleRareInheritedData.h" |
| 66 #include "core/rendering/style/StyleRareNonInheritedData.h" | 64 #include "core/rendering/style/StyleRareNonInheritedData.h" |
| 67 #include "core/rendering/style/StyleReflection.h" | 65 #include "core/rendering/style/StyleReflection.h" |
| 68 #include "core/rendering/style/StyleSurroundData.h" | 66 #include "core/rendering/style/StyleSurroundData.h" |
| 69 #include "core/rendering/style/StyleTransformData.h" | 67 #include "core/rendering/style/StyleTransformData.h" |
| 70 #include "core/rendering/style/StyleVisualData.h" | 68 #include "core/rendering/style/StyleVisualData.h" |
| 71 #include "core/svg/SVGPaint.h" | 69 #include "core/svg/SVGPaint.h" |
| 70 #include "platform/geometry/LayoutBoxExtent.h" |
| 71 #include "platform/text/TextDirection.h" |
| 72 #include "wtf/Forward.h" | 72 #include "wtf/Forward.h" |
| 73 #include "wtf/OwnPtr.h" | 73 #include "wtf/OwnPtr.h" |
| 74 #include "wtf/RefCounted.h" | 74 #include "wtf/RefCounted.h" |
| 75 #include "wtf/StdLibExtras.h" | 75 #include "wtf/StdLibExtras.h" |
| 76 #include "wtf/Vector.h" | 76 #include "wtf/Vector.h" |
| 77 | 77 |
| 78 template<typename T, typename U> inline bool compareEqual(const T& t, const U& u
) { return t == static_cast<T>(u); } | 78 template<typename T, typename U> inline bool compareEqual(const T& t, const U& u
) { return t == static_cast<T>(u); } |
| 79 | 79 |
| 80 #define SET_VAR(group, variable, value) \ | 80 #define SET_VAR(group, variable, value) \ |
| 81 if (!compareEqual(group->variable, value)) \ | 81 if (!compareEqual(group->variable, value)) \ |
| (...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1774 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) | 1774 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) |
| 1775 return false; | 1775 return false; |
| 1776 | 1776 |
| 1777 rareInheritedData.access()->m_textOrientation = textOrientation; | 1777 rareInheritedData.access()->m_textOrientation = textOrientation; |
| 1778 return true; | 1778 return true; |
| 1779 } | 1779 } |
| 1780 | 1780 |
| 1781 } // namespace WebCore | 1781 } // namespace WebCore |
| 1782 | 1782 |
| 1783 #endif // RenderStyle_h | 1783 #endif // RenderStyle_h |
| OLD | NEW |