| 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. 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 16 matching lines...) Expand all Loading... |
| 27 #include "core/dom/NodeRenderingContext.h" | 27 #include "core/dom/NodeRenderingContext.h" |
| 28 #include "core/dom/ShadowRoot.h" | 28 #include "core/dom/ShadowRoot.h" |
| 29 #include "core/rendering/RenderCombineText.h" | 29 #include "core/rendering/RenderCombineText.h" |
| 30 #include "core/rendering/RenderText.h" | 30 #include "core/rendering/RenderText.h" |
| 31 | 31 |
| 32 #if ENABLE(SVG) | 32 #if ENABLE(SVG) |
| 33 #include "SVGNames.h" | 33 #include "SVGNames.h" |
| 34 #include "core/rendering/svg/RenderSVGInlineText.h" | 34 #include "core/rendering/svg/RenderSVGInlineText.h" |
| 35 #endif | 35 #endif |
| 36 | 36 |
| 37 #include "core/css/StyleResolver.h" | 37 #include "core/css/resolver/StyleResolver.h" |
| 38 #include "core/rendering/style/StyleInheritedData.h" | 38 #include "core/rendering/style/StyleInheritedData.h" |
| 39 #include <wtf/text/CString.h> | 39 #include <wtf/text/CString.h> |
| 40 #include <wtf/text/StringBuilder.h> | 40 #include <wtf/text/StringBuilder.h> |
| 41 | 41 |
| 42 using namespace std; | 42 using namespace std; |
| 43 | 43 |
| 44 namespace WebCore { | 44 namespace WebCore { |
| 45 | 45 |
| 46 PassRefPtr<Text> Text::create(Document* document, const String& data) | 46 PassRefPtr<Text> Text::create(Document* document, const String& data) |
| 47 { | 47 { |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 result.appendLiteral("; "); | 347 result.appendLiteral("; "); |
| 348 result.appendLiteral("value="); | 348 result.appendLiteral("value="); |
| 349 result.append(s); | 349 result.append(s); |
| 350 } | 350 } |
| 351 | 351 |
| 352 strncpy(buffer, result.toString().utf8().data(), length - 1); | 352 strncpy(buffer, result.toString().utf8().data(), length - 1); |
| 353 } | 353 } |
| 354 #endif | 354 #endif |
| 355 | 355 |
| 356 } // namespace WebCore | 356 } // namespace WebCore |
| OLD | NEW |