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

Unified Diff: Source/core/rendering/style/SVGRenderStyle.h

Issue 234453002: Remove SVG1.1 kerning property (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More TestExpectations updates Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/SVGRenderStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/SVGRenderStyle.h
diff --git a/Source/core/rendering/style/SVGRenderStyle.h b/Source/core/rendering/style/SVGRenderStyle.h
index 5d0c96981bde17bbee580ce883e308dbfbcfda09..e7347c7c0288331ec879072e36d6e8e32936a071 100644
--- a/Source/core/rendering/style/SVGRenderStyle.h
+++ b/Source/core/rendering/style/SVGRenderStyle.h
@@ -102,13 +102,6 @@ public:
return length.release();
}
- static PassRefPtr<SVGLength> initialKerning()
- {
- RefPtr<SVGLength> length = SVGLength::create();
- length->newValueSpecifiedUnits(LengthTypeNumber, 0);
- return length.release();
- }
-
static PassRefPtr<SVGLength> initialStrokeDashOffset()
{
RefPtr<SVGLength> length = SVGLength::create();
@@ -220,12 +213,6 @@ public:
stroke.access()->dashOffset = obj;
}
- void setKerning(PassRefPtr<SVGLength> obj)
- {
- if (!(text->kerning == obj))
- text.access()->kerning = obj;
- }
-
void setStopOpacity(float obj)
{
if (!(stops->opacity == obj))
@@ -330,7 +317,6 @@ public:
float strokeMiterLimit() const { return stroke->miterLimit; }
PassRefPtr<SVGLength> strokeWidth() const { return stroke->width; }
PassRefPtr<SVGLength> strokeDashOffset() const { return stroke->dashOffset; }
- PassRefPtr<SVGLength> kerning() const { return text->kerning; }
float stopOpacity() const { return stops->opacity; }
const Color& stopColor() const { return stops->color; }
float floodOpacity() const { return misc->floodOpacity; }
@@ -427,7 +413,6 @@ protected:
// inherited attributes
DataRef<StyleFillData> fill;
DataRef<StyleStrokeData> stroke;
- DataRef<StyleTextData> text;
DataRef<StyleInheritedResourceData> inheritedResources;
// non-inherited attributes
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/SVGRenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698