Index: core/css/MediaQueryListEventInit.idl |
diff --git a/core/css/MediaQueryListEvent.idl b/core/css/MediaQueryListEventInit.idl |
similarity index 52% |
copy from core/css/MediaQueryListEvent.idl |
copy to core/css/MediaQueryListEventInit.idl |
index 2376a4fe998388d1431749e5831b047b5b74ea04..69972f53fd0ce7224045b8151a2980c78de32ac3 100644 |
--- a/core/css/MediaQueryListEvent.idl |
+++ b/core/css/MediaQueryListEventInit.idl |
@@ -2,11 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
- |
// http://dev.w3.org/csswg/cssom-view/#mediaquerylistevent |
-[ |
- EventConstructor, |
-] interface MediaQueryListEvent : Event { |
- [InitializedByEventConstructor] readonly attribute DOMString media; |
- [InitializedByEventConstructor] readonly attribute boolean matches; |
+ |
+dictionary MediaQueryListEventInit : EventInit { |
+ DOMString media = ""; |
+ boolean matches = false; |
}; |