OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 // Rebuild pending resources for each client of a pending resource that is b
eing removed. | 147 // Rebuild pending resources for each client of a pending resource that is b
eing removed. |
148 while (Element* clientElement = extensions->removeElementFromPendingResource
sForRemoval(resourceId)) { | 148 while (Element* clientElement = extensions->removeElementFromPendingResource
sForRemoval(resourceId)) { |
149 ASSERT(clientElement->hasPendingResources()); | 149 ASSERT(clientElement->hasPendingResources()); |
150 if (clientElement->hasPendingResources()) { | 150 if (clientElement->hasPendingResources()) { |
151 clientElement->buildPendingResource(); | 151 clientElement->buildPendingResource(); |
152 extensions->clearHasPendingResourcesIfPossible(clientElement); | 152 extensions->clearHasPendingResourcesIfPossible(clientElement); |
153 } | 153 } |
154 } | 154 } |
155 } | 155 } |
156 | 156 |
157 bool SVGElement::rendererIsNeededInternal(const NodeRenderingContext& context) | 157 bool SVGElement::rendererIsNeeded(const NodeRenderingContext& context) |
158 { | 158 { |
159 // http://www.w3.org/TR/SVG/extend.html#PrivateData | 159 // http://www.w3.org/TR/SVG/extend.html#PrivateData |
160 // Prevent anything other than SVG renderers from appearing in our render tr
ee | 160 // Prevent anything other than SVG renderers from appearing in our render tr
ee |
161 // Spec: SVG allows inclusion of elements from foreign namespaces anywhere | 161 // Spec: SVG allows inclusion of elements from foreign namespaces anywhere |
162 // with the SVG content. In general, the SVG user agent will include the unk
nown | 162 // with the SVG content. In general, the SVG user agent will include the unk
nown |
163 // elements in the DOM but will otherwise ignore unknown elements. | 163 // elements in the DOM but will otherwise ignore unknown elements. |
164 if (!parentOrShadowHostElement() || parentOrShadowHostElement()->isSVGElemen
t()) | 164 if (!parentOrShadowHostElement() || parentOrShadowHostElement()->isSVGElemen
t()) |
165 return Element::rendererIsNeeded(context); | 165 return Element::rendererIsNeeded(context); |
166 | 166 |
167 return false; | 167 return false; |
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 } | 1142 } |
1143 | 1143 |
1144 if (name == classAttr) | 1144 if (name == classAttr) |
1145 return true; | 1145 return true; |
1146 | 1146 |
1147 return animatableAttributes.contains(name); | 1147 return animatableAttributes.contains(name); |
1148 } | 1148 } |
1149 #endif | 1149 #endif |
1150 | 1150 |
1151 } | 1151 } |
OLD | NEW |