Index: core/css/StyleMedia.idl |
diff --git a/core/css/StyleMedia.idl b/core/css/StyleMedia.idl |
index b897eb0690bf8ebd2efc89704d8a85b83d6d3bdf..38f4326c3b75b3f368e05dbbd111447c3a845f3e 100644 |
--- a/core/css/StyleMedia.idl |
+++ b/core/css/StyleMedia.idl |
@@ -24,10 +24,17 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// This interface was originally named Media, and was removed from the spec |
+// shortly after it was renamed to StyleMedia: |
+// http://www.w3.org/TR/2009/WD-cssom-view-20090804/#the-media-interface |
+// http://web.archive.org/web/20100206142043/http://dev.w3.org/csswg/cssom-view#the-stylemedia-interface |
+// |
+// TODO(philipj): Remove this interface. |
+ |
[ |
NoInterfaceObject, |
WillBeGarbageCollected |
] interface StyleMedia { |
- readonly attribute DOMString type; |
- boolean matchMedium([Default=Undefined] optional DOMString mediaquery); |
+ [MeasureAs=StyleMediaType] readonly attribute DOMString type; |
+ [MeasureAs=StyleMediaMatchMedium] boolean matchMedium([Default=Undefined] optional DOMString mediaquery); |
}; |