OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 12 matching lines...) Expand all Loading... |
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 | 31 |
32 #include "core/css/CSSBasicShapes.h" | 32 #include "core/css/CSSBasicShapes.h" |
33 #include "core/css/CSSPrimitiveValueMappings.h" | |
34 | 33 |
35 #include <wtf/text/StringBuilder.h> | 34 #include <wtf/text/StringBuilder.h> |
36 | 35 |
37 using namespace WTF; | 36 using namespace WTF; |
38 | 37 |
39 namespace WebCore { | 38 namespace WebCore { |
40 | 39 |
41 static String buildRectangleString(const String& x, const String& y, const Strin
g& width, const String& height, const String& radiusX, const String& radiusY) | 40 static String buildRectangleString(const String& x, const String& y, const Strin
g& width, const String& height, const String& radiusX, const String& radiusY) |
42 { | 41 { |
43 char opening[] = "rectangle("; | 42 char opening[] = "rectangle("; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 { | 254 { |
256 for (size_t i = 0; i < m_values.size(); ++i) { | 255 for (size_t i = 0; i < m_values.size(); ++i) { |
257 if (m_values.at(i)->hasVariableReference()) | 256 if (m_values.at(i)->hasVariableReference()) |
258 return true; | 257 return true; |
259 } | 258 } |
260 return false; | 259 return false; |
261 } | 260 } |
262 | 261 |
263 } // namespace WebCore | 262 } // namespace WebCore |
264 | 263 |
OLD | NEW |