| 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 * |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 if (changed) | 256 if (changed) |
| 257 mutationScope.enqueueMutationRecord(); | 257 mutationScope.enqueueMutationRecord(); |
| 258 return result; | 258 return result; |
| 259 } | 259 } |
| 260 | 260 |
| 261 const CSSValue* AbstractPropertySetCSSStyleDeclaration::getPropertyCSSValueInter
nal(CSSPropertyID propertyID) | 261 const CSSValue* AbstractPropertySetCSSStyleDeclaration::getPropertyCSSValueInter
nal(CSSPropertyID propertyID) |
| 262 { | 262 { |
| 263 return propertySet().getPropertyCSSValue(propertyID); | 263 return propertySet().getPropertyCSSValue(propertyID); |
| 264 } | 264 } |
| 265 | 265 |
| 266 const CSSValue* AbstractPropertySetCSSStyleDeclaration::getPropertyCSSValueInter
nal(AtomicString customPropertyName) |
| 267 { |
| 268 return propertySet().getPropertyCSSValue(customPropertyName); |
| 269 } |
| 270 |
| 266 String AbstractPropertySetCSSStyleDeclaration::getPropertyValueInternal(CSSPrope
rtyID propertyID) | 271 String AbstractPropertySetCSSStyleDeclaration::getPropertyValueInternal(CSSPrope
rtyID propertyID) |
| 267 { | 272 { |
| 268 return propertySet().getPropertyValue(propertyID); | 273 return propertySet().getPropertyValue(propertyID); |
| 269 } | 274 } |
| 270 | 275 |
| 271 void AbstractPropertySetCSSStyleDeclaration::setPropertyInternal(CSSPropertyID u
nresolvedProperty, const String& customPropertyName, const String& value, bool i
mportant, ExceptionState&) | 276 void AbstractPropertySetCSSStyleDeclaration::setPropertyInternal(CSSPropertyID u
nresolvedProperty, const String& customPropertyName, const String& value, bool i
mportant, ExceptionState&) |
| 272 { | 277 { |
| 273 StyleAttributeMutationScope mutationScope(this); | 278 StyleAttributeMutationScope mutationScope(this); |
| 274 willMutate(); | 279 willMutate(); |
| 275 | 280 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 return m_parentElement ? &m_parentElement->document().elementSheet() : nullp
tr; | 374 return m_parentElement ? &m_parentElement->document().elementSheet() : nullp
tr; |
| 370 } | 375 } |
| 371 | 376 |
| 372 DEFINE_TRACE(InlineCSSStyleDeclaration) | 377 DEFINE_TRACE(InlineCSSStyleDeclaration) |
| 373 { | 378 { |
| 374 visitor->trace(m_parentElement); | 379 visitor->trace(m_parentElement); |
| 375 AbstractPropertySetCSSStyleDeclaration::trace(visitor); | 380 AbstractPropertySetCSSStyleDeclaration::trace(visitor); |
| 376 } | 381 } |
| 377 | 382 |
| 378 } // namespace blink | 383 } // namespace blink |
| OLD | NEW |