Diff
Modified: trunk/Source/WebCore/ChangeLog (92236 => 92237)
--- trunk/Source/WebCore/ChangeLog 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/ChangeLog 2011-08-02 21:36:52 UTC (rev 92237)
@@ -1,5 +1,33 @@
2011-08-02 Mark Pilgrim <[email protected]>
+ Remove LegacyDefaultOptionalArguments flag from SVG IDL files
+ https://bugs.webkit.org/show_bug.cgi?id=65337
+
+ Reviewed by Nikolas Zimmermann.
+
+ No new tests, all existing tests pass.
+
+ * svg/ElementTimeControl.idl:
+ * svg/SVGAnimationElement.idl:
+ * svg/SVGDocument.idl:
+ * svg/SVGElementInstance.idl:
+ * svg/SVGElementInstanceList.idl:
+ * svg/SVGException.idl:
+ * svg/SVGFEDropShadowElement.idl:
+ * svg/SVGFEGaussianBlurElement.idl:
+ * svg/SVGFEMorphologyElement.idl:
+ * svg/SVGFilterElement.idl:
+ * svg/SVGLocatable.idl:
+ * svg/SVGMarkerElement.idl:
+ * svg/SVGPathElement.idl:
+ * svg/SVGSVGElement.idl:
+ * svg/SVGStylable.idl:
+ * svg/SVGStyleElement.idl:
+ * svg/SVGTests.idl:
+ * svg/SVGTextContentElement.idl:
+
+2011-08-02 Mark Pilgrim <[email protected]>
+
Remove LegacyDefaultOptionalArguments flag from CSS IDL files
https://bugs.webkit.org/show_bug.cgi?id=65341
Modified: trunk/Source/WebCore/svg/ElementTimeControl.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/ElementTimeControl.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/ElementTimeControl.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -27,15 +27,14 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG,
ObjCProtocol,
OmitConstructor
] ElementTimeControl {
void beginElement();
- void beginElementAt(in float offset);
+ void beginElementAt(in [Optional=CallWithDefaultValue] float offset);
void endElement();
- void endElementAt(in float offset);
+ void endElementAt(in [Optional=CallWithDefaultValue] float offset);
};
}
Modified: trunk/Source/WebCore/svg/SVGAnimationElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGAnimationElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGAnimationElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -26,7 +26,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG_ANIMATION,
OmitConstructor
] SVGAnimationElement : SVGElement,
Modified: trunk/Source/WebCore/svg/SVGDocument.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGDocument.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGDocument.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -22,13 +22,12 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG
] SVGDocument : Document {
readonly attribute SVGSVGElement rootElement;
// Overwrite the one in events::DocumentEvent
- Event createEvent(in DOMString eventType)
+ Event createEvent(in [Optional=CallWithDefaultValue] DOMString eventType)
raises(DOMException);
};
Modified: trunk/Source/WebCore/svg/SVGElementInstance.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGElementInstance.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGElementInstance.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -27,7 +27,6 @@
module svg {
interface [
- Conditional=SVG,
LegacyDefaultOptionalArguments,
CustomMarkFunction,
GenerateNativeConverter
Modified: trunk/Source/WebCore/svg/SVGElementInstanceList.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGElementInstanceList.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGElementInstanceList.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -25,11 +25,10 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG
] SVGElementInstanceList {
readonly attribute unsigned long length;
- SVGElementInstance item(in unsigned long index);
+ SVGElementInstance item(in [Optional=CallWithDefaultValue] unsigned long index);
};
}
Modified: trunk/Source/WebCore/svg/SVGException.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGException.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGException.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -22,7 +22,6 @@
interface [
Conditional=SVG,
- LegacyDefaultOptionalArguments,
DontCheckEnums
] SVGException {
Modified: trunk/Source/WebCore/svg/SVGFEDropShadowElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGFEDropShadowElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGFEDropShadowElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -20,7 +20,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG&FILTERS
] SVGFEDropShadowElement : SVGElement,
SVGFilterPrimitiveStandardAttributes {
@@ -30,7 +29,8 @@
readonly attribute SVGAnimatedNumber stdDeviationX;
readonly attribute SVGAnimatedNumber stdDeviationY;
- void setStdDeviation(in float stdDeviationX, in float stdDeviationY);
+ void setStdDeviation(in [Optional=CallWithDefaultValue] float stdDeviationX,
+ in [Optional=CallWithDefaultValue] float stdDeviationY);
};
}
Modified: trunk/Source/WebCore/svg/SVGFEGaussianBlurElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGFEGaussianBlurElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGFEGaussianBlurElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -26,7 +26,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG&FILTERS
] SVGFEGaussianBlurElement : SVGElement,
SVGFilterPrimitiveStandardAttributes {
@@ -34,7 +33,8 @@
readonly attribute SVGAnimatedNumber stdDeviationX;
readonly attribute SVGAnimatedNumber stdDeviationY;
- void setStdDeviation(in float stdDeviationX, in float stdDeviationY);
+ void setStdDeviation(in [Optional=CallWithDefaultValue] float stdDeviationX,
+ in [Optional=CallWithDefaultValue] float stdDeviationY);
};
}
Modified: trunk/Source/WebCore/svg/SVGFEMorphologyElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGFEMorphologyElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGFEMorphologyElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -26,7 +26,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG&FILTERS,
DontCheckEnums
] SVGFEMorphologyElement : SVGElement,
@@ -41,7 +40,8 @@
readonly attribute SVGAnimatedNumber radiusX;
readonly attribute SVGAnimatedNumber radiusY;
- void setRadius(in float radiusX, in float radiusY);
+ void setRadius(in [Optional=CallWithDefaultValue] float radiusX,
+ in [Optional=CallWithDefaultValue] float radiusY);
};
}
Modified: trunk/Source/WebCore/svg/SVGFilterElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGFilterElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGFilterElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -27,7 +27,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG&FILTERS
] SVGFilterElement : SVGElement,
SVGURIReference,
@@ -44,7 +43,8 @@
readonly attribute SVGAnimatedInteger filterResX;
readonly attribute SVGAnimatedInteger filterResY;
- void setFilterRes(in unsigned long filterResX, in unsigned long filterResY);
+ void setFilterRes(in [Optional=CallWithDefaultValue] unsigned long filterResX,
+ in [Optional=CallWithDefaultValue] unsigned long filterResY);
};
}
Modified: trunk/Source/WebCore/svg/SVGLocatable.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGLocatable.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGLocatable.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -27,7 +27,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG,
ObjCProtocol,
OmitConstructor
@@ -38,7 +37,7 @@
SVGRect getBBox();
SVGMatrix getCTM();
SVGMatrix getScreenCTM();
- SVGMatrix getTransformToElement(in SVGElement element)
+ SVGMatrix getTransformToElement(in [Optional=CallWithDefaultValue] SVGElement element)
raises(SVGException);
};
Modified: trunk/Source/WebCore/svg/SVGMarkerElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGMarkerElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGMarkerElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -26,7 +26,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG
] SVGMarkerElement : SVGElement,
SVGLangSpace,
@@ -52,7 +51,7 @@
readonly attribute SVGAnimatedAngle orientAngle;
void setOrientToAuto();
- void setOrientToAngle(in SVGAngle angle);
+ void setOrientToAngle(in [Optional=CallWithDefaultValue] SVGAngle angle);
};
}
Modified: trunk/Source/WebCore/svg/SVGPathElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGPathElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGPathElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -27,7 +27,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG
] SVGPathElement : SVGElement,
SVGTests,
@@ -38,77 +37,77 @@
readonly attribute SVGAnimatedNumber pathLength;
float getTotalLength();
- SVGPoint getPointAtLength(in float distance);
- unsigned long getPathSegAtLength(in float distance);
+ SVGPoint getPointAtLength(in [Optional=CallWithDefaultValue] float distance);
+ unsigned long getPathSegAtLength(in [Optional=CallWithDefaultValue] float distance);
SVGPathSegClosePath createSVGPathSegClosePath();
- SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(in float x,
- in float y);
- SVGPathSegMovetoRel createSVGPathSegMovetoRel(in float x,
- in float y);
+ SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y);
+ SVGPathSegMovetoRel createSVGPathSegMovetoRel(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y);
- SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(in float x,
- in float y);
- SVGPathSegLinetoRel createSVGPathSegLinetoRel(in float x,
- in float y);
+ SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y);
+ SVGPathSegLinetoRel createSVGPathSegLinetoRel(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y);
- SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(in float x,
- in float y,
- in float x1,
- in float y1,
- in float x2,
- in float y2);
- SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(in float x,
- in float y,
- in float x1,
- in float y1,
- in float x2,
- in float y2);
+ SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y,
+ in [Optional=CallWithDefaultValue] float x1,
+ in [Optional=CallWithDefaultValue] float y1,
+ in [Optional=CallWithDefaultValue] float x2,
+ in [Optional=CallWithDefaultValue] float y2);
+ SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y,
+ in [Optional=CallWithDefaultValue] float x1,
+ in [Optional=CallWithDefaultValue] float y1,
+ in [Optional=CallWithDefaultValue] float x2,
+ in [Optional=CallWithDefaultValue] float y2);
- SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(in float x,
- in float y,
- in float x1,
- in float y1);
- SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(in float x,
- in float y,
- in float x1,
- in float y1);
+ SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y,
+ in [Optional=CallWithDefaultValue] float x1,
+ in [Optional=CallWithDefaultValue] float y1);
+ SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y,
+ in [Optional=CallWithDefaultValue] float x1,
+ in [Optional=CallWithDefaultValue] float y1);
- SVGPathSegArcAbs createSVGPathSegArcAbs(in float x,
- in float y,
- in float r1,
- in float r2,
- in float angle,
- in boolean largeArcFlag,
- in boolean sweepFlag);
- SVGPathSegArcRel createSVGPathSegArcRel(in float x,
- in float y,
- in float r1,
- in float r2,
- in float angle,
- in boolean largeArcFlag,
- in boolean sweepFlag);
+ SVGPathSegArcAbs createSVGPathSegArcAbs(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y,
+ in [Optional=CallWithDefaultValue] float r1,
+ in [Optional=CallWithDefaultValue] float r2,
+ in [Optional=CallWithDefaultValue] float angle,
+ in [Optional=CallWithDefaultValue] boolean largeArcFlag,
+ in [Optional=CallWithDefaultValue] boolean sweepFlag);
+ SVGPathSegArcRel createSVGPathSegArcRel(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y,
+ in [Optional=CallWithDefaultValue] float r1,
+ in [Optional=CallWithDefaultValue] float r2,
+ in [Optional=CallWithDefaultValue] float angle,
+ in [Optional=CallWithDefaultValue] boolean largeArcFlag,
+ in [Optional=CallWithDefaultValue] boolean sweepFlag);
- SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(in float x);
- SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(in float x);
+ SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(in [Optional=CallWithDefaultValue] float x);
+ SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(in [Optional=CallWithDefaultValue] float x);
- SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(in float y);
- SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(in float y);
+ SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(in [Optional=CallWithDefaultValue] float y);
+ SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(in [Optional=CallWithDefaultValue] float y);
- SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(in float x,
- in float y,
- in float x2,
- in float y2);
- SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(in float x,
- in float y,
- in float x2,
- in float y2);
+ SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y,
+ in [Optional=CallWithDefaultValue] float x2,
+ in [Optional=CallWithDefaultValue] float y2);
+ SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y,
+ in [Optional=CallWithDefaultValue] float x2,
+ in [Optional=CallWithDefaultValue] float y2);
- SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(in float x,
- in float y);
- SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(in float x,
- in float y);
+ SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y);
+ SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(in [Optional=CallWithDefaultValue] float x,
+ in [Optional=CallWithDefaultValue] float y);
readonly attribute SVGPathSegList pathSegList;
readonly attribute SVGPathSegList normalizedPathSegList;
Modified: trunk/Source/WebCore/svg/SVGSVGElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGSVGElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGSVGElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -26,7 +26,6 @@
// TODO: Fix SVGSVGElement inheritance (css::DocumentCSS)!
// TODO: no events::DocumentEvent available!
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG
] SVGSVGElement : SVGElement,
SVGTests,
@@ -56,23 +55,23 @@
/*setter raises(DOMException)*/;
readonly attribute SVGPoint currentTranslate;
- unsigned long suspendRedraw(in unsigned long maxWaitMilliseconds);
- void unsuspendRedraw(in unsigned long suspendHandleId);
+ unsigned long suspendRedraw(in [Optional=CallWithDefaultValue] unsigned long maxWaitMilliseconds);
+ void unsuspendRedraw(in [Optional=CallWithDefaultValue] unsigned long suspendHandleId);
void unsuspendRedrawAll();
void forceRedraw();
void pauseAnimations();
void unpauseAnimations();
boolean animationsPaused();
float getCurrentTime();
- void setCurrentTime(in float seconds);
- NodeList getIntersectionList(in SVGRect rect,
- in SVGElement referenceElement);
- NodeList getEnclosureList(in SVGRect rect,
- in SVGElement referenceElement);
- boolean checkIntersection(in SVGElement element,
- in SVGRect rect);
- boolean checkEnclosure(in SVGElement element,
- in SVGRect rect);
+ void setCurrentTime(in [Optional=CallWithDefaultValue] float seconds);
+ NodeList getIntersectionList(in [Optional=CallWithDefaultValue] SVGRect rect,
+ in [Optional=CallWithDefaultValue] SVGElement referenceElement);
+ NodeList getEnclosureList(in [Optional=CallWithDefaultValue] SVGRect rect,
+ in [Optional=CallWithDefaultValue] SVGElement referenceElement);
+ boolean checkIntersection(in [Optional=CallWithDefaultValue] SVGElement element,
+ in [Optional=CallWithDefaultValue] SVGRect rect);
+ boolean checkEnclosure(in [Optional=CallWithDefaultValue] SVGElement element,
+ in [Optional=CallWithDefaultValue] SVGRect rect);
void deselectAll();
SVGNumber createSVGNumber();
@@ -82,8 +81,8 @@
SVGMatrix createSVGMatrix();
SVGRect createSVGRect();
SVGTransform createSVGTransform();
- SVGTransform createSVGTransformFromMatrix(in SVGMatrix matrix);
- Element getElementById(in DOMString elementId);
+ SVGTransform createSVGTransformFromMatrix(in [Optional=CallWithDefaultValue] SVGMatrix matrix);
+ Element getElementById(in [Optional=CallWithDefaultValue] DOMString elementId);
};
}
Modified: trunk/Source/WebCore/svg/SVGStylable.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGStylable.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGStylable.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -28,7 +28,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG,
ObjCProtocol,
OmitConstructor
@@ -36,7 +35,7 @@
readonly attribute SVGAnimatedString className;
readonly attribute CSSStyleDeclaration style;
- CSSValue getPresentationAttribute(in DOMString name);
+ CSSValue getPresentationAttribute(in [Optional=CallWithDefaultValue] DOMString name);
};
}
Modified: trunk/Source/WebCore/svg/SVGStyleElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGStyleElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGStyleElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -27,7 +27,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG
] SVGStyleElement : SVGElement,
SVGLangSpace {
Modified: trunk/Source/WebCore/svg/SVGTests.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGTests.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGTests.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -27,7 +27,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG,
ObjCProtocol,
OmitConstructor
@@ -36,7 +35,7 @@
readonly attribute SVGStringList requiredExtensions;
readonly attribute SVGStringList systemLanguage;
- boolean hasExtension(in DOMString extension);
+ boolean hasExtension(in [Optional=CallWithDefaultValue] DOMString extension);
};
}
Modified: trunk/Source/WebCore/svg/SVGTextContentElement.idl (92236 => 92237)
--- trunk/Source/WebCore/svg/SVGTextContentElement.idl 2011-08-02 21:35:15 UTC (rev 92236)
+++ trunk/Source/WebCore/svg/SVGTextContentElement.idl 2011-08-02 21:36:52 UTC (rev 92237)
@@ -26,7 +26,6 @@
module svg {
interface [
- LegacyDefaultOptionalArguments,
Conditional=SVG
] SVGTextContentElement : SVGElement,
SVGTests,
@@ -43,20 +42,20 @@
long getNumberOfChars();
float getComputedTextLength();
- float getSubStringLength(in [IsIndex] unsigned long offset,
- in [IsIndex] unsigned long length)
+ float getSubStringLength(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset,
+ in [Optional=CallWithDefaultValue,IsIndex] unsigned long length)
raises(DOMException);
- SVGPoint getStartPositionOfChar(in [IsIndex] unsigned long offset)
+ SVGPoint getStartPositionOfChar(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset)
raises(DOMException);
- SVGPoint getEndPositionOfChar(in [IsIndex] unsigned long offset)
+ SVGPoint getEndPositionOfChar(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset)
raises(DOMException);
- SVGRect getExtentOfChar(in [IsIndex] unsigned long offset)
+ SVGRect getExtentOfChar(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset)
raises(DOMException);
- float getRotationOfChar(in [IsIndex] unsigned long offset)
+ float getRotationOfChar(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset)
raises(DOMException);
- long getCharNumAtPosition(in SVGPoint point);
- void selectSubString(in [IsIndex] unsigned long offset,
- in [IsIndex] unsigned long length)
+ long getCharNumAtPosition(in [Optional=CallWithDefaultValue] SVGPoint point);
+ void selectSubString(in [Optional=CallWithDefaultValue,IsIndex] unsigned long offset,
+ in [Optional=CallWithDefaultValue,IsIndex] unsigned long length)
raises(DOMException);
};