Index: Source/core/svg/SVGStyleElement.idl |
diff --git a/Source/core/svg/SVGStyleElement.idl b/Source/core/svg/SVGStyleElement.idl |
index 482efa960ac3fe74620673930018db6379f4e2ed..afd2a331e9db599fd9d56349afa35a3079c48758 100644 |
--- a/Source/core/svg/SVGStyleElement.idl |
+++ b/Source/core/svg/SVGStyleElement.idl |
@@ -24,13 +24,19 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://www.w3.org/TR/SVG2/styling.html#InterfaceSVGStyleElement |
+ |
interface SVGStyleElement : SVGElement { |
- attribute boolean disabled; |
attribute DOMString type; |
attribute DOMString media; |
[MeasureAs=SVGStyleElementTitle] attribute DOMString title; |
- // DOM Level 2 Style |
- readonly attribute StyleSheet sheet; |
-}; |
+ // SVGStyleElement implements LinkStyle |
+ // http://dev.w3.org/csswg/cssom/#the-linkstyle-interface |
+ readonly attribute StyleSheet? sheet; |
+ // TODO(philipj): The disabled attribute was not in SVG 1.1 and has been |
+ // removed from HTMLLinkElement and HTMLStyleElement in the HTML spec: |
+ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=14703 |
+ [Measure] attribute boolean disabled; |
+}; |