OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
3 Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 3 Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
4 | 4 |
5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
9 | 9 |
10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 return nullptr; | 214 return nullptr; |
215 } | 215 } |
216 case CSSPropertyPaintOrder: | 216 case CSSPropertyPaintOrder: |
217 return paintOrderToCSSValueList(svgStyle->paintOrder()); | 217 return paintOrderToCSSValueList(svgStyle->paintOrder()); |
218 case CSSPropertyVectorEffect: | 218 case CSSPropertyVectorEffect: |
219 return CSSPrimitiveValue::create(svgStyle->vectorEffect()); | 219 return CSSPrimitiveValue::create(svgStyle->vectorEffect()); |
220 case CSSPropertyMaskType: | 220 case CSSPropertyMaskType: |
221 return CSSPrimitiveValue::create(svgStyle->maskType()); | 221 return CSSPrimitiveValue::create(svgStyle->maskType()); |
222 case CSSPropertyMarker: | 222 case CSSPropertyMarker: |
223 case CSSPropertyEnableBackground: | 223 case CSSPropertyEnableBackground: |
224 case CSSPropertyColorProfile: | |
225 // the above properties are not yet implemented in the engine | 224 // the above properties are not yet implemented in the engine |
226 break; | 225 break; |
227 default: | 226 default: |
228 // If you crash here, it's because you added a css property and are not
handling it | 227 // If you crash here, it's because you added a css property and are not
handling it |
229 // in either this switch statement or the one in CSSComputedStyleDelcara
tion::getPropertyCSSValue | 228 // in either this switch statement or the one in CSSComputedStyleDelcara
tion::getPropertyCSSValue |
230 ASSERT_WITH_MESSAGE(0, "unimplemented propertyID: %d", propertyID); | 229 ASSERT_WITH_MESSAGE(0, "unimplemented propertyID: %d", propertyID); |
231 } | 230 } |
232 WTF_LOG_ERROR("unimplemented propertyID: %d", propertyID); | 231 WTF_LOG_ERROR("unimplemented propertyID: %d", propertyID); |
233 return nullptr; | 232 return nullptr; |
234 } | 233 } |
235 | 234 |
236 } | 235 } |
OLD | NEW |