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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. |
6 * (C) 2007 Rob Buis (buis@kde.org) | 6 * (C) 2007 Rob Buis (buis@kde.org) |
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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 scope = insertionPoint->containingShadowRoot(); | 194 scope = insertionPoint->containingShadowRoot(); |
195 } else | 195 } else |
196 scope = parentNode() ? Handle<ContainerNode>(parentNode()) : inserti
onPoint; | 196 scope = parentNode() ? Handle<ContainerNode>(parentNode()) : inserti
onPoint; |
197 unregisterWithScopingNode(scope); | 197 unregisterWithScopingNode(scope); |
198 } | 198 } |
199 | 199 |
200 if (insertionPoint->inDocument()) | 200 if (insertionPoint->inDocument()) |
201 StyleElement::removedFromDocument(document(), this); | 201 StyleElement::removedFromDocument(document(), this); |
202 } | 202 } |
203 | 203 |
204 void HTMLStyleElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) | 204 void HTMLStyleElement::childrenChanged(bool changedByParser, const Handle<Node>&
beforeChange, const Handle<Node>& afterChange, int childCountDelta) |
205 { | 205 { |
206 HTMLElement::childrenChanged(changedByParser, beforeChange, afterChange, chi
ldCountDelta); | 206 HTMLElement::childrenChanged(changedByParser, beforeChange, afterChange, chi
ldCountDelta); |
207 StyleElement::childrenChanged(this); | 207 StyleElement::childrenChanged(this); |
208 } | 208 } |
209 | 209 |
210 const AtomicString& HTMLStyleElement::media() const | 210 const AtomicString& HTMLStyleElement::media() const |
211 { | 211 { |
212 return getAttribute(mediaAttr); | 212 return getAttribute(mediaAttr); |
213 } | 213 } |
214 | 214 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 if (Handle<CSSStyleSheet> styleSheet = sheet()) | 286 if (Handle<CSSStyleSheet> styleSheet = sheet()) |
287 styleSheet->setDisabled(setDisabled); | 287 styleSheet->setDisabled(setDisabled); |
288 } | 288 } |
289 | 289 |
290 void HTMLStyleElement::accept(Visitor* visitor) const | 290 void HTMLStyleElement::accept(Visitor* visitor) const |
291 { | 291 { |
292 HTMLElement::accept(visitor); | 292 HTMLElement::accept(visitor); |
293 } | 293 } |
294 | 294 |
295 } | 295 } |
OLD | NEW |