| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
| 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
| 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. | 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 #include "core/css/RuntimeCSSEnabled.h" | 56 #include "core/css/RuntimeCSSEnabled.h" |
| 57 #include "core/css/StylePropertySet.h" | 57 #include "core/css/StylePropertySet.h" |
| 58 #include "core/css/resolver/StyleResolver.h" | 58 #include "core/css/resolver/StyleResolver.h" |
| 59 #include "core/dom/Document.h" | 59 #include "core/dom/Document.h" |
| 60 #include "core/dom/ExceptionCode.h" | 60 #include "core/dom/ExceptionCode.h" |
| 61 #include "core/dom/PseudoElement.h" | 61 #include "core/dom/PseudoElement.h" |
| 62 #include "core/rendering/RenderBox.h" | 62 #include "core/rendering/RenderBox.h" |
| 63 #include "core/rendering/RenderGrid.h" | 63 #include "core/rendering/RenderGrid.h" |
| 64 #include "core/rendering/style/ContentData.h" | 64 #include "core/rendering/style/ContentData.h" |
| 65 #include "core/rendering/style/CounterContent.h" | 65 #include "core/rendering/style/CounterContent.h" |
| 66 #include "core/rendering/style/CursorList.h" | |
| 67 #include "core/rendering/style/RenderStyle.h" | 66 #include "core/rendering/style/RenderStyle.h" |
| 68 #include "core/rendering/style/ShadowList.h" | 67 #include "core/rendering/style/ShadowList.h" |
| 69 #include "core/rendering/style/ShapeValue.h" | 68 #include "core/rendering/style/ShapeValue.h" |
| 70 #include "platform/fonts/FontFeatureSettings.h" | 69 #include "platform/fonts/FontFeatureSettings.h" |
| 71 #include "wtf/text/StringBuilder.h" | 70 #include "wtf/text/StringBuilder.h" |
| 72 | 71 |
| 73 namespace WebCore { | 72 namespace WebCore { |
| 74 | 73 |
| 75 // List of all properties we know how to compute, omitting shorthands. | 74 // List of all properties we know how to compute, omitting shorthands. |
| 76 // NOTE: Do not use this list, use computableProperties() instead | 75 // NOTE: Do not use this list, use computableProperties() instead |
| (...skipping 2978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3055 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 3054 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
| 3056 CSSPropertyB
ackgroundClip }; | 3055 CSSPropertyB
ackgroundClip }; |
| 3057 | 3056 |
| 3058 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated()
; | 3057 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated()
; |
| 3059 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); | 3058 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash
Seperator)))); |
| 3060 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); | 3059 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa
ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe
perator)))); |
| 3061 return list.release(); | 3060 return list.release(); |
| 3062 } | 3061 } |
| 3063 | 3062 |
| 3064 } // namespace WebCore | 3063 } // namespace WebCore |
| OLD | NEW |