OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "core/layout/style/SVGLayoutStyle.h" | 6 #include "core/layout/style/SVGLayoutStyle.h" |
7 | 7 |
8 #include "core/layout/ClipPathOperation.h" | 8 #include "core/layout/ClipPathOperation.h" |
9 #include "core/layout/style/ShapeValue.h" | 9 #include "core/layout/style/ShapeValue.h" |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 svg2->setStrokePaint(SVGLayoutStyle::initialStrokePaintType(), SVGLayout
Style::initialStrokePaintColor(), SVGLayoutStyle::initialStrokePaintUri(), false
, true); | 60 svg2->setStrokePaint(SVGLayoutStyle::initialStrokePaintType(), SVGLayout
Style::initialStrokePaintColor(), SVGLayoutStyle::initialStrokePaintUri(), false
, true); |
61 EXPECT_FALSE(svg1->diff(svg2.get()).hasDifference()); | 61 EXPECT_FALSE(svg1->diff(svg2.get()).hasDifference()); |
62 } | 62 } |
63 } | 63 } |
64 | 64 |
65 TEST(SVGLayoutStyleTest, MiscStyleShouldCompareValue) | 65 TEST(SVGLayoutStyleTest, MiscStyleShouldCompareValue) |
66 { | 66 { |
67 TEST_STYLE_VALUE_NO_DIFF(Color, FloodColor); | 67 TEST_STYLE_VALUE_NO_DIFF(Color, FloodColor); |
68 TEST_STYLE_VALUE_NO_DIFF(float, FloodOpacity); | 68 TEST_STYLE_VALUE_NO_DIFF(float, FloodOpacity); |
69 TEST_STYLE_VALUE_NO_DIFF(Color, LightingColor); | 69 TEST_STYLE_VALUE_NO_DIFF(Color, LightingColor); |
70 TEST_STYLE_REFPTR_VALUE_NO_DIFF(SVGLength, BaselineShiftValue); | 70 TEST_STYLE_VALUE_NO_DIFF(Length, BaselineShiftValue); |
71 } | 71 } |
72 | 72 |
73 } | 73 } |
OLD | NEW |