OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2004, 2005, 2006, 2008, 2010 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2008, 2010 Apple 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 Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 void StyledElement::addPropertyToPresentationAttributeStyle(Handle<MutableStyleP
ropertySet> style, CSSPropertyID propertyID, double value, CSSPrimitiveValue::Un
itTypes unit) | 376 void StyledElement::addPropertyToPresentationAttributeStyle(Handle<MutableStyleP
ropertySet> style, CSSPropertyID propertyID, double value, CSSPrimitiveValue::Un
itTypes unit) |
377 { | 377 { |
378 style->setProperty(propertyID, cssValuePool().createValue(value, unit)); | 378 style->setProperty(propertyID, cssValuePool().createValue(value, unit)); |
379 } | 379 } |
380 | 380 |
381 void StyledElement::addPropertyToPresentationAttributeStyle(Handle<MutableStyleP
ropertySet> style, CSSPropertyID propertyID, const String& value) | 381 void StyledElement::addPropertyToPresentationAttributeStyle(Handle<MutableStyleP
ropertySet> style, CSSPropertyID propertyID, const String& value) |
382 { | 382 { |
383 style->setProperty(propertyID, value, false, document()->elementSheet()->con
tents()); | 383 style->setProperty(propertyID, value, false, document()->elementSheet()->con
tents()); |
384 } | 384 } |
385 | 385 |
| 386 void StyledElement::acceptHeapVisitor(Visitor* visitor) const |
| 387 { |
| 388 Element::acceptHeapVisitor(visitor); |
386 } | 389 } |
| 390 |
| 391 } |
OLD | NEW |