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 17 matching lines...) Expand all Loading... |
28 #include "core/css/CSSCalculationValue.h" | 28 #include "core/css/CSSCalculationValue.h" |
29 #include "core/css/CSSHelper.h" | 29 #include "core/css/CSSHelper.h" |
30 #include "core/css/CSSParser.h" | 30 #include "core/css/CSSParser.h" |
31 #include "core/css/Counter.h" | 31 #include "core/css/Counter.h" |
32 #include "core/css/Pair.h" | 32 #include "core/css/Pair.h" |
33 #include "core/css/RGBColor.h" | 33 #include "core/css/RGBColor.h" |
34 #include "core/css/Rect.h" | 34 #include "core/css/Rect.h" |
35 #include "core/css/StyleSheetContents.h" | 35 #include "core/css/StyleSheetContents.h" |
36 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
37 #include "core/dom/Node.h" | 37 #include "core/dom/Node.h" |
38 #include "core/platform/graphics/Color.h" | |
39 #include "core/rendering/style/RenderStyle.h" | 38 #include "core/rendering/style/RenderStyle.h" |
40 #include "platform/LayoutUnit.h" | 39 #include "platform/LayoutUnit.h" |
| 40 #include "platform/graphics/Color.h" |
41 #include "wtf/DecimalNumber.h" | 41 #include "wtf/DecimalNumber.h" |
42 #include "wtf/StdLibExtras.h" | 42 #include "wtf/StdLibExtras.h" |
43 #include "wtf/text/StringBuffer.h" | 43 #include "wtf/text/StringBuffer.h" |
44 #include "wtf/text/StringBuilder.h" | 44 #include "wtf/text/StringBuilder.h" |
45 | 45 |
46 using namespace WTF; | 46 using namespace WTF; |
47 | 47 |
48 namespace WebCore { | 48 namespace WebCore { |
49 | 49 |
50 // Max/min values for CSS, needs to slightly smaller/larger than the true max/mi
n values to allow for rounding without overflowing. | 50 // Max/min values for CSS, needs to slightly smaller/larger than the true max/mi
n values to allow for rounding without overflowing. |
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 return m_value.parserOperator == other.m_value.parserOperator; | 1333 return m_value.parserOperator == other.m_value.parserOperator; |
1334 case CSS_CALC: | 1334 case CSS_CALC: |
1335 return m_value.calc && other.m_value.calc && m_value.calc->equals(*other
.m_value.calc); | 1335 return m_value.calc && other.m_value.calc && m_value.calc->equals(*other
.m_value.calc); |
1336 case CSS_SHAPE: | 1336 case CSS_SHAPE: |
1337 return m_value.shape && other.m_value.shape && m_value.shape->equals(*ot
her.m_value.shape); | 1337 return m_value.shape && other.m_value.shape && m_value.shape->equals(*ot
her.m_value.shape); |
1338 } | 1338 } |
1339 return false; | 1339 return false; |
1340 } | 1340 } |
1341 | 1341 |
1342 } // namespace WebCore | 1342 } // namespace WebCore |
OLD | NEW |