| 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 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 5 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 case CSSPropertyBackgroundColor: | 81 case CSSPropertyBackgroundColor: |
| 82 case CSSPropertyBackgroundImage: | 82 case CSSPropertyBackgroundImage: |
| 83 case CSSPropertyBackgroundOrigin: | 83 case CSSPropertyBackgroundOrigin: |
| 84 case CSSPropertyBackgroundPositionX: | 84 case CSSPropertyBackgroundPositionX: |
| 85 case CSSPropertyBackgroundPositionY: | 85 case CSSPropertyBackgroundPositionY: |
| 86 case CSSPropertyBackgroundSize: | 86 case CSSPropertyBackgroundSize: |
| 87 case CSSPropertyBackgroundRepeatX: | 87 case CSSPropertyBackgroundRepeatX: |
| 88 case CSSPropertyBackgroundRepeatY: | 88 case CSSPropertyBackgroundRepeatY: |
| 89 shorthandPropertyAppeared.set(CSSPropertyBackground - firstCSSProper
ty); | 89 shorthandPropertyAppeared.set(CSSPropertyBackground - firstCSSProper
ty); |
| 90 continue; | 90 continue; |
| 91 case CSSPropertyContent: | |
| 92 if (property.value()->isValueList()) | |
| 93 value = toCSSValueList(property.value())->customCSSText(AlwaysQu
oteCSSString); | |
| 94 break; | |
| 95 case CSSPropertyBorderTopWidth: | 91 case CSSPropertyBorderTopWidth: |
| 96 case CSSPropertyBorderRightWidth: | 92 case CSSPropertyBorderRightWidth: |
| 97 case CSSPropertyBorderBottomWidth: | 93 case CSSPropertyBorderBottomWidth: |
| 98 case CSSPropertyBorderLeftWidth: | 94 case CSSPropertyBorderLeftWidth: |
| 99 if (!borderFallbackShorthandProperty) | 95 if (!borderFallbackShorthandProperty) |
| 100 borderFallbackShorthandProperty = CSSPropertyBorderWidth; | 96 borderFallbackShorthandProperty = CSSPropertyBorderWidth; |
| 101 case CSSPropertyBorderTopStyle: | 97 case CSSPropertyBorderTopStyle: |
| 102 case CSSPropertyBorderRightStyle: | 98 case CSSPropertyBorderRightStyle: |
| 103 case CSSPropertyBorderBottomStyle: | 99 case CSSPropertyBorderBottomStyle: |
| 104 case CSSPropertyBorderLeftStyle: | 100 case CSSPropertyBorderLeftStyle: |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 isInitialValue = false; | 846 isInitialValue = false; |
| 851 if (!value->isInheritedValue()) | 847 if (!value->isInheritedValue()) |
| 852 isInheritedValue = false; | 848 isInheritedValue = false; |
| 853 if (isImportant != m_propertySet.propertyIsImportant(shorthand.propertie
s()[i])) | 849 if (isImportant != m_propertySet.propertyIsImportant(shorthand.propertie
s()[i])) |
| 854 return false; | 850 return false; |
| 855 } | 851 } |
| 856 return isInitialValue || isInheritedValue; | 852 return isInitialValue || isInheritedValue; |
| 857 } | 853 } |
| 858 | 854 |
| 859 } | 855 } |
| OLD | NEW |