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, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "core/css/StylePropertySet.h" | 23 #include "core/css/StylePropertySet.h" |
24 | 24 |
25 #include "core/css/CSSParser.h" | 25 #include "core/css/CSSParser.h" |
26 #include "core/css/CSSValuePool.h" | 26 #include "core/css/CSSValuePool.h" |
27 #include "core/css/CSSVariableValue.h" | 27 #include "core/css/CSSVariableValue.h" |
28 #include "core/css/PropertySetCSSStyleDeclaration.h" | 28 #include "core/css/PropertySetCSSStyleDeclaration.h" |
29 #include "core/css/StylePropertySerializer.h" | 29 #include "core/css/StylePropertySerializer.h" |
30 #include "core/css/StylePropertyShorthand.h" | 30 #include "core/css/StylePropertyShorthand.h" |
31 #include "core/css/StyleSheetContents.h" | 31 #include "core/css/StyleSheetContents.h" |
32 #include "core/page/RuntimeCSSEnabled.h" | 32 #include "core/page/RuntimeCSSEnabled.h" |
33 #include <wtf/BitArray.h> | 33 #include "wtf/MemoryInstrumentationVector.h" |
34 #include <wtf/MemoryInstrumentationVector.h> | 34 #include "wtf/text/StringBuilder.h" |
35 #include <wtf/text/StringBuilder.h> | |
36 | 35 |
37 #ifndef NDEBUG | 36 #ifndef NDEBUG |
| 37 #include "wtf/text/CString.h" |
38 #include <stdio.h> | 38 #include <stdio.h> |
39 #include <wtf/ASCIICType.h> | |
40 #include <wtf/text/CString.h> | |
41 #endif | 39 #endif |
42 | 40 |
43 using namespace std; | 41 using namespace std; |
44 | 42 |
45 namespace WebCore { | 43 namespace WebCore { |
46 | 44 |
47 typedef HashMap<MutableStylePropertySet*, OwnPtr<PropertySetCSSStyleDeclaration>
> PropertySetCSSOMWrapperMap; | 45 typedef HashMap<MutableStylePropertySet*, OwnPtr<PropertySetCSSStyleDeclaration>
> PropertySetCSSOMWrapperMap; |
48 static PropertySetCSSOMWrapperMap& propertySetCSSOMWrapperMap() | 46 static PropertySetCSSOMWrapperMap& propertySetCSSOMWrapperMap() |
49 { | 47 { |
50 DEFINE_STATIC_LOCAL(PropertySetCSSOMWrapperMap, propertySetCSSOMWrapperMapIn
stance, ()); | 48 DEFINE_STATIC_LOCAL(PropertySetCSSOMWrapperMap, propertySetCSSOMWrapperMapIn
stance, ()); |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 result.appendLiteral(": "); | 604 result.appendLiteral(": "); |
607 result.append(propertyValue()->cssText()); | 605 result.append(propertyValue()->cssText()); |
608 if (isImportant()) | 606 if (isImportant()) |
609 result.appendLiteral(" !important"); | 607 result.appendLiteral(" !important"); |
610 result.append(';'); | 608 result.append(';'); |
611 return result.toString(); | 609 return result.toString(); |
612 } | 610 } |
613 | 611 |
614 | 612 |
615 } // namespace WebCore | 613 } // namespace WebCore |
OLD | NEW |