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

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: all done 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
Index: Source/core/svg/SVGStyleElement.idl
diff --git a/Source/core/svg/SVGStyleElement.idl b/Source/core/svg/SVGStyleElement.idl
index 482efa960ac3fe74620673930018db6379f4e2ed..8141e9329eda881838767fcdc0332ecb9bf79553 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;
-};
+ // HTMLLinkElement implements LinkStyle
fs 2015/05/27 09:12:56 SVGStyleElement implements LinkStyle ?
philipj_slow 2015/05/27 09:27:30 Fixed, that's what I get for copying comments in a
+ // 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;
+};

Powered by Google App Engine
This is Rietveld 408576698