Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1263)

Side by Side Diff: Source/core/rendering/svg/SVGRenderSupport.h

Issue 145493012: <br> nodes should not be allowed within SVG text (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload ps#3. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /** 1 /**
2 * Copyright (C) 2007 Rob Buis <buis@kde.org> 2 * Copyright (C) 2007 Rob Buis <buis@kde.org>
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // Determines if any ancestor's transform has changed. 78 // Determines if any ancestor's transform has changed.
79 static bool transformToRootChanged(RenderObject*); 79 static bool transformToRootChanged(RenderObject*);
80 80
81 // FIXME: These methods do not belong here. 81 // FIXME: These methods do not belong here.
82 static const RenderSVGRoot* findTreeRootObject(const RenderObject*); 82 static const RenderSVGRoot* findTreeRootObject(const RenderObject*);
83 83
84 // Helper method for determining whether an RenderSVGInlineText object has z ero length text. 84 // Helper method for determining whether an RenderSVGInlineText object has z ero length text.
85 static bool isEmptySVGInlineText(const RenderObject*); 85 static bool isEmptySVGInlineText(const RenderObject*);
86 86
87 // Helper method for determining if a RenderObject marked as text (isText()= = true)
88 // can/will be rendered as part of a <text>.
89 static bool isRenderableTextNode(const RenderObject*);
90
87 private: 91 private:
88 // This class is not constructable. 92 // This class is not constructable.
89 SVGRenderSupport(); 93 SVGRenderSupport();
90 ~SVGRenderSupport(); 94 ~SVGRenderSupport();
91 }; 95 };
92 96
93 } // namespace WebCore 97 } // namespace WebCore
94 98
95 #endif // SVGRenderSupport_h 99 #endif // SVGRenderSupport_h
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGTextPath.cpp ('k') | Source/core/rendering/svg/SVGRenderSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698