| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 case CSSPropertyBackgroundColor: | 213 case CSSPropertyBackgroundColor: |
| 214 case CSSPropertyBackgroundImage: | 214 case CSSPropertyBackgroundImage: |
| 215 case CSSPropertyBackgroundOrigin: | 215 case CSSPropertyBackgroundOrigin: |
| 216 case CSSPropertyBackgroundPositionX: | 216 case CSSPropertyBackgroundPositionX: |
| 217 case CSSPropertyBackgroundPositionY: | 217 case CSSPropertyBackgroundPositionY: |
| 218 case CSSPropertyBackgroundSize: | 218 case CSSPropertyBackgroundSize: |
| 219 case CSSPropertyBackgroundRepeatX: | 219 case CSSPropertyBackgroundRepeatX: |
| 220 case CSSPropertyBackgroundRepeatY: | 220 case CSSPropertyBackgroundRepeatY: |
| 221 shorthandPropertyAppeared.set(CSSPropertyBackground - firstCSSProper
ty); | 221 shorthandPropertyAppeared.set(CSSPropertyBackground - firstCSSProper
ty); |
| 222 continue; | 222 continue; |
| 223 case CSSPropertyContent: | |
| 224 if (property.value()->isValueList()) | |
| 225 value = toCSSValueList(property.value())->customCSSText(AlwaysQu
oteCSSString); | |
| 226 break; | |
| 227 case CSSPropertyBorderTopWidth: | 223 case CSSPropertyBorderTopWidth: |
| 228 case CSSPropertyBorderRightWidth: | 224 case CSSPropertyBorderRightWidth: |
| 229 case CSSPropertyBorderBottomWidth: | 225 case CSSPropertyBorderBottomWidth: |
| 230 case CSSPropertyBorderLeftWidth: | 226 case CSSPropertyBorderLeftWidth: |
| 231 if (!borderFallbackShorthandProperty) | 227 if (!borderFallbackShorthandProperty) |
| 232 borderFallbackShorthandProperty = CSSPropertyBorderWidth; | 228 borderFallbackShorthandProperty = CSSPropertyBorderWidth; |
| 233 case CSSPropertyBorderTopStyle: | 229 case CSSPropertyBorderTopStyle: |
| 234 case CSSPropertyBorderRightStyle: | 230 case CSSPropertyBorderRightStyle: |
| 235 case CSSPropertyBorderBottomStyle: | 231 case CSSPropertyBorderBottomStyle: |
| 236 case CSSPropertyBorderLeftStyle: | 232 case CSSPropertyBorderLeftStyle: |
| (...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 isInitialValue = false; | 1003 isInitialValue = false; |
| 1008 if (!value->isInheritedValue()) | 1004 if (!value->isInheritedValue()) |
| 1009 isInheritedValue = false; | 1005 isInheritedValue = false; |
| 1010 if (isImportant != m_propertySet.propertyIsImportant(shorthand.propertie
s()[i])) | 1006 if (isImportant != m_propertySet.propertyIsImportant(shorthand.propertie
s()[i])) |
| 1011 return false; | 1007 return false; |
| 1012 } | 1008 } |
| 1013 return isInitialValue || isInheritedValue; | 1009 return isInitialValue || isInheritedValue; |
| 1014 } | 1010 } |
| 1015 | 1011 |
| 1016 } | 1012 } |
| OLD | NEW |