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

Unified Diff: Source/core/style/ComputedStyle.h

Issue 1243313002: Migrate the remaining CSS properties interpolable as Lengths to LengthInterpolationType (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add composition tests Created 5 years, 3 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/animation/StringKeyframe.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/ComputedStyle.h
diff --git a/Source/core/style/ComputedStyle.h b/Source/core/style/ComputedStyle.h
index 40185f5ec6d99f24b0de770c56642a363c26e3db..710a4b454517c26ccb5e5ef81bc516093edc77d1 100644
--- a/Source/core/style/ComputedStyle.h
+++ b/Source/core/style/ComputedStyle.h
@@ -1481,8 +1481,14 @@ public:
void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); }
void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c); }
+ EBaselineShift baselineShift() const { return svgStyle().baselineShift(); }
const Length& baselineShiftValue() const { return svgStyle().baselineShiftValue(); }
- void setBaselineShiftValue(const Length& s) { accessSVGStyle().setBaselineShiftValue(s); }
+ void setBaselineShiftValue(const Length& value)
+ {
+ SVGComputedStyle& svgStyle = accessSVGStyle();
+ svgStyle.setBaselineShift(BS_LENGTH);
+ svgStyle.setBaselineShiftValue(value);
+ }
void setShapeOutside(PassRefPtrWillBeRawPtr<ShapeValue> value)
{
« no previous file with comments | « Source/core/animation/StringKeyframe.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698