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) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
6 * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) | 6 * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 addString(svgFeatures, "ViewportAttribute"); | 127 addString(svgFeatures, "ViewportAttribute"); |
128 addString(svgFeatures, "Shape"); | 128 addString(svgFeatures, "Shape"); |
129 addString(svgFeatures, "Text"); | 129 addString(svgFeatures, "Text"); |
130 addString(svgFeatures, "BasicText"); | 130 addString(svgFeatures, "BasicText"); |
131 addString(svgFeatures, "PaintAttribute"); | 131 addString(svgFeatures, "PaintAttribute"); |
132 addString(svgFeatures, "BasicPaintAttribute"); | 132 addString(svgFeatures, "BasicPaintAttribute"); |
133 addString(svgFeatures, "OpacityAttribute"); | 133 addString(svgFeatures, "OpacityAttribute"); |
134 addString(svgFeatures, "GraphicsAttribute"); | 134 addString(svgFeatures, "GraphicsAttribute"); |
135 addString(svgFeatures, "BaseGraphicsAttribute"); | 135 addString(svgFeatures, "BaseGraphicsAttribute"); |
136 addString(svgFeatures, "Marker"); | 136 addString(svgFeatures, "Marker"); |
137 // addString(svgFeatures, "ColorProfile"); // requires color-profile, bug 6
037 | 137 // addString(svgFeatures, "ColorProfile"); |
138 addString(svgFeatures, "Gradient"); | 138 addString(svgFeatures, "Gradient"); |
139 addString(svgFeatures, "Pattern"); | 139 addString(svgFeatures, "Pattern"); |
140 addString(svgFeatures, "Clip"); | 140 addString(svgFeatures, "Clip"); |
141 addString(svgFeatures, "BasicClip"); | 141 addString(svgFeatures, "BasicClip"); |
142 addString(svgFeatures, "Mask"); | 142 addString(svgFeatures, "Mask"); |
143 addString(svgFeatures, "Filter"); | 143 addString(svgFeatures, "Filter"); |
144 addString(svgFeatures, "BasicFilter"); | 144 addString(svgFeatures, "BasicFilter"); |
145 addString(svgFeatures, "DocumentEventsAttribute"); | 145 addString(svgFeatures, "DocumentEventsAttribute"); |
146 addString(svgFeatures, "GraphicalEventsAttribute"); | 146 addString(svgFeatures, "GraphicalEventsAttribute"); |
147 // addString(svgFeatures, "AnimationEventsAttribute"); | 147 // addString(svgFeatures, "AnimationEventsAttribute"); |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 return TextDocument::create(init); | 375 return TextDocument::create(init); |
376 if (type == "image/svg+xml") | 376 if (type == "image/svg+xml") |
377 return SVGDocument::create(init); | 377 return SVGDocument::create(init); |
378 if (isXMLMIMEType(type)) | 378 if (isXMLMIMEType(type)) |
379 return XMLDocument::create(init); | 379 return XMLDocument::create(init); |
380 | 380 |
381 return HTMLDocument::create(init); | 381 return HTMLDocument::create(init); |
382 } | 382 } |
383 | 383 |
384 } | 384 } |
OLD | NEW |