| 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 Apple Inc. All r
ights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights 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 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #include "config.h" | 22 #include "config.h" |
| 23 #include "core/css/StylePropertySet.h" | 23 #include "core/css/StylePropertySet.h" |
| 24 | 24 |
| 25 #include "CSSValueKeywords.h" | |
| 26 #include "core/css/CSSParser.h" | 25 #include "core/css/CSSParser.h" |
| 27 #include "core/css/CSSValueList.h" | |
| 28 #include "core/css/CSSValuePool.h" | 26 #include "core/css/CSSValuePool.h" |
| 29 #include "core/css/CSSVariableValue.h" | 27 #include "core/css/CSSVariableValue.h" |
| 30 #include "core/css/PropertySetCSSStyleDeclaration.h" | 28 #include "core/css/PropertySetCSSStyleDeclaration.h" |
| 31 #include "core/css/StylePropertySerializer.h" | 29 #include "core/css/StylePropertySerializer.h" |
| 32 #include "core/css/StylePropertyShorthand.h" | 30 #include "core/css/StylePropertyShorthand.h" |
| 33 #include "core/css/StyleSheetContents.h" | 31 #include "core/css/StyleSheetContents.h" |
| 34 #include "core/dom/Document.h" | |
| 35 #include "core/page/RuntimeCSSEnabled.h" | 32 #include "core/page/RuntimeCSSEnabled.h" |
| 36 #include <wtf/BitArray.h> | 33 #include <wtf/BitArray.h> |
| 37 #include <wtf/MemoryInstrumentationVector.h> | 34 #include <wtf/MemoryInstrumentationVector.h> |
| 38 #include <wtf/text/StringBuilder.h> | 35 #include <wtf/text/StringBuilder.h> |
| 39 | 36 |
| 40 #ifndef NDEBUG | 37 #ifndef NDEBUG |
| 41 #include <stdio.h> | 38 #include <stdio.h> |
| 42 #include <wtf/ASCIICType.h> | 39 #include <wtf/ASCIICType.h> |
| 43 #include <wtf/text/CString.h> | 40 #include <wtf/text/CString.h> |
| 44 #endif | 41 #endif |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 result.appendLiteral(": "); | 609 result.appendLiteral(": "); |
| 613 result.append(propertyValue()->cssText()); | 610 result.append(propertyValue()->cssText()); |
| 614 if (isImportant()) | 611 if (isImportant()) |
| 615 result.appendLiteral(" !important"); | 612 result.appendLiteral(" !important"); |
| 616 result.append(';'); | 613 result.append(';'); |
| 617 return result.toString(); | 614 return result.toString(); |
| 618 } | 615 } |
| 619 | 616 |
| 620 | 617 |
| 621 } // namespace WebCore | 618 } // namespace WebCore |
| OLD | NEW |