From b42a910ed91c91da71e53b4efb9889aa46938aee Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 22 Nov 2015 14:50:35 +0000 Subject: Ensure that those events listed in 8.1.5.2 as forwarded from body to window, don't get registered for listeners on body --- utils/corestrings.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'utils/corestrings.h') diff --git a/utils/corestrings.h b/utils/corestrings.h index c72e8b012..4913e73ae 100644 --- a/utils/corestrings.h +++ b/utils/corestrings.h @@ -284,7 +284,16 @@ extern struct dom_string *corestring_dom_image; extern struct dom_string *corestring_dom_radio; extern struct dom_string *corestring_dom_checkbox; extern struct dom_string *corestring_dom_file; +/* Event prefix */ extern struct dom_string *corestring_dom_on; +/* These are the event attributes which forward from body to window */ +extern struct dom_string *corestring_dom_onblur; +extern struct dom_string *corestring_dom_onerror; +extern struct dom_string *corestring_dom_onfocus; +extern struct dom_string *corestring_dom_onload; +extern struct dom_string *corestring_dom_onresize; +extern struct dom_string *corestring_dom_onscroll; + /* DOM userdata keys */ extern struct dom_string *corestring_dom___ns_key_box_node_data; extern struct dom_string *corestring_dom___ns_key_libcss_node_data; -- cgit v1.2.3