From aebff73f628a2e4a9321b0530831e1e36b280397 Mon Sep 17 00:00:00 2001 From: Artem Gainanov Date: Fri, 28 Sep 2018 08:52:03 +0700 Subject: [PATCH] WEB-35033 "Unknown HTML tag attribute" inspection: allow "alt" attribute for the "applet" tag --- xml/relaxng/src/resources/html5-schema/html5/legacy.rnc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xml/relaxng/src/resources/html5-schema/html5/legacy.rnc b/xml/relaxng/src/resources/html5-schema/html5/legacy.rnc index f66c551a67b7..7a98315d7c0b 100644 --- a/xml/relaxng/src/resources/html5-schema/html5/legacy.rnc +++ b/xml/relaxng/src/resources/html5-schema/html5/legacy.rnc @@ -142,6 +142,7 @@ datatypes w = "http://whattf.org/datatype-draft" element applet { applet.inner.phrasing & applet.attrs } applet.attrs = ( common.attrs + & applet.attrs.alt? & applet.attrs.archive? & applet.attrs.code & applet.attrs.codebase? @@ -149,6 +150,10 @@ datatypes w = "http://whattf.org/datatype-draft" & applet.attrs.height & applet.attrs.width ) + applet.attrs.alt = + attribute alt { + string + } applet.attrs.archive = attribute archive { common.data.uri #FIXME *comma* separated URI list (*grumble*)