From 3fd67ec3f177f29f2cc789b44e4667a9b56c0101 Mon Sep 17 00:00:00 2001 From: Dennis Ushakov Date: Thu, 17 Jan 2019 14:43:03 +0300 Subject: [PATCH] added onfocusin and onfocusout attributes (WEB-36002) --- .../src/resources/html5-schema/html5/core-scripting.rnc | 6 ++++++ xml/relaxng/src/resources/html5-schema/html5/embed.rnc | 2 ++ 2 files changed, 8 insertions(+) diff --git a/xml/relaxng/src/resources/html5-schema/html5/core-scripting.rnc b/xml/relaxng/src/resources/html5-schema/html5/core-scripting.rnc index a8c16475e280..2cf2848ff379 100644 --- a/xml/relaxng/src/resources/html5-schema/html5/core-scripting.rnc +++ b/xml/relaxng/src/resources/html5-schema/html5/core-scripting.rnc @@ -152,6 +152,8 @@ datatypes w = "http://whattf.org/datatype-draft" & scripting.attr.onended? & scripting.attr.onerror? & scripting.attr.onfocus? + & scripting.attr.onfocusin? + & scripting.attr.onfocusout? & scripting.attr.oninput? & scripting.attr.oninvalid? & scripting.attr.onkeydown? @@ -244,6 +246,10 @@ datatypes w = "http://whattf.org/datatype-draft" attribute onerror { common.data.functionbody } scripting.attr.onfocus = attribute onfocus { common.data.functionbody } + scripting.attr.onfocusin = + attribute onfocusin { common.data.functionbody } + scripting.attr.onfocusout = + attribute onfocusout { common.data.functionbody } scripting.attr.onformchange = attribute onformchange { common.data.functionbody } scripting.attr.onforminput = diff --git a/xml/relaxng/src/resources/html5-schema/html5/embed.rnc b/xml/relaxng/src/resources/html5-schema/html5/embed.rnc index a879920df1d9..ce8f38c3329f 100644 --- a/xml/relaxng/src/resources/html5-schema/html5/embed.rnc +++ b/xml/relaxng/src/resources/html5-schema/html5/embed.rnc @@ -203,6 +203,8 @@ namespace local = "" | onended | onerror | onfocus + | onfocusin + | onfocusout | oninput | oninvalid | onkeydown