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

Unified Diff: Source/core/svg/SVGStyleElement.idl

Issue 1153763008: Sync SVG interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address feedback Created 5 years, 7 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/svg/SVGStringList.idl ('k') | Source/core/svg/SVGSwitchElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+};
« no previous file with comments | « Source/core/svg/SVGStringList.idl ('k') | Source/core/svg/SVGSwitchElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698