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

Unified Diff: Source/core/css/StyleSheet.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/StyleMedia.idl ('k') | Source/core/css/StyleSheetList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleSheet.idl
diff --git a/Source/core/css/StyleSheet.idl b/Source/core/css/StyleSheet.idl
index 459c59480e3b9e951fb57a1582fb708f05e2ff3f..09a1be32a066eb45ef8ccf020d79c75fc9eaedbb 100644
--- a/Source/core/css/StyleSheet.idl
+++ b/Source/core/css/StyleSheet.idl
@@ -18,17 +18,19 @@
* Boston, MA 02110-1301, USA.
*/
-// Introduced in DOM Level 2:
+// http://dev.w3.org/csswg/cssom/#the-stylesheet-interface
+
[
SetWrapperReferenceFrom=ownerNode,
WillBeGarbageCollected
] interface StyleSheet {
- readonly attribute DOMString? type;
- attribute boolean disabled;
- readonly attribute Node ownerNode;
- readonly attribute StyleSheet parentStyleSheet;
- readonly attribute DOMString? href;
- readonly attribute DOMString? title;
- readonly attribute MediaList media;
+ readonly attribute DOMString type;
+ readonly attribute DOMString? href;
+ // TODO(philipj): ownerNode should be (Element or ProcessingInstruction).
+ readonly attribute Node? ownerNode;
+ readonly attribute StyleSheet? parentStyleSheet;
+ readonly attribute DOMString? title;
+ // TODO(philipj): media should have [PutForwards=mediaText].
+ [SameObject] readonly attribute MediaList media;
+ attribute boolean disabled;
};
-
« no previous file with comments | « Source/core/css/StyleMedia.idl ('k') | Source/core/css/StyleSheetList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698