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

Unified Diff: Source/core/css/CSSMediaRule.idl

Issue 1054303004: Sync CSS interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/css/CSSKeyframesRule.idl ('k') | Source/core/css/CSSPageRule.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSMediaRule.idl
diff --git a/Source/core/css/CSSMediaRule.idl b/Source/core/css/CSSMediaRule.idl
index 0f1d76d8a6755054ff8cdaa8ded55c980af266f3..1b233ae8fd3668feeb0f466d9e7c36cafc1856aa 100644
--- a/Source/core/css/CSSMediaRule.idl
+++ b/Source/core/css/CSSMediaRule.idl
@@ -18,12 +18,15 @@
* Boston, MA 02110-1301, USA.
*/
-// Introduced in DOM Level 2:
+// http://dev.w3.org/csswg/cssom/#the-cssmediarule-interface
+
interface CSSMediaRule : CSSRule {
- readonly attribute MediaList media;
- readonly attribute CSSRuleList cssRules;
+ // TODO(philipj): media should have [PutForwards=mediaText].
+ [SameObject] readonly attribute MediaList media;
+ // TODO(philipj): Implement CSSGroupingRule and inherit from it.
+ // http://dev.w3.org/csswg/cssom/#the-cssgroupingrule-interface
+ [SameObject] readonly attribute CSSRuleList cssRules;
[RaisesException] unsigned long insertRule(DOMString rule, unsigned long index);
[RaisesException] void deleteRule(unsigned long index);
};
-
« no previous file with comments | « Source/core/css/CSSKeyframesRule.idl ('k') | Source/core/css/CSSPageRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698