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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTextContentElement.idl

Issue 1491573002: Split text related measurements from SVG1DOM counter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: third_party/WebKit/Source/core/svg/SVGTextContentElement.idl
diff --git a/third_party/WebKit/Source/core/svg/SVGTextContentElement.idl b/third_party/WebKit/Source/core/svg/SVGTextContentElement.idl
index 7068d50690fbd610a8268761e23545a4634536e5..98b746b6edc763f286fed1d70b1ae7cc7cd0e53e 100644
--- a/third_party/WebKit/Source/core/svg/SVGTextContentElement.idl
+++ b/third_party/WebKit/Source/core/svg/SVGTextContentElement.idl
@@ -27,12 +27,12 @@
interface SVGTextContentElement : SVGGraphicsElement {
// lengthAdjust Types
- [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short LENGTHADJUST_UNKNOWN = 0;
- [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short LENGTHADJUST_SPACING = 1;
- [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short LENGTHADJUST_SPACINGANDGLYPHS = 2;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMText] const unsigned short LENGTHADJUST_UNKNOWN = 0;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMText] const unsigned short LENGTHADJUST_SPACING = 1;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMText] const unsigned short LENGTHADJUST_SPACINGANDGLYPHS = 2;
- [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLength textLength;
- [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedEnumeration lengthAdjust;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMText] readonly attribute SVGAnimatedLength textLength;
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMText] readonly attribute SVGAnimatedEnumeration lengthAdjust;
long getNumberOfChars();
float getComputedTextLength();
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/svg/SVGTextPathElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698