Index: Source/core/frame/WindowEventHandlers.idl |
diff --git a/Source/core/css/xhtmlmp.css b/Source/core/frame/WindowEventHandlers.idl |
similarity index 72% |
copy from Source/core/css/xhtmlmp.css |
copy to Source/core/frame/WindowEventHandlers.idl |
index 11ea1cf1a031cfbf2694983c810bab1f925d99ae..b7634ae98bf60421bd51029ce00e5a14074bf343 100644 |
--- a/Source/core/css/xhtmlmp.css |
+++ b/Source/core/frame/WindowEventHandlers.idl |
@@ -27,11 +27,21 @@ |
* OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-/* Default styles for XHTML Mobile Profile documents where they differ from html.css */ |
- |
-@viewport { |
- width: auto; |
- /* Ideally these should be removed. Currently here to avoid test result regressions. */ |
- min-zoom: 0.25; |
- max-zoom: 5; |
-} |
+[ |
+ NoInterfaceObject, |
+ ImplementedAs=DOMWindowEventHandlers |
+] interface WindowEventHandlers { |
+ //attribute EventHandler onafterprint; |
+ //attribute EventHandler onbeforeprint; |
+ attribute EventHandler onbeforeunload; |
+ attribute EventHandler onhashchange; |
+ attribute EventHandler onmessage; |
+ attribute EventHandler onoffline; |
+ attribute EventHandler ononline; |
+ attribute EventHandler onpagehide; |
+ attribute EventHandler onpageshow; |
+ attribute EventHandler onpopstate; |
+ attribute EventHandler onresize; |
+ attribute EventHandler onstorage; |
+ attribute EventHandler onunload; |
+}; |