]> code.delx.au - gnu-emacs-elpa/blobdiff - core-scripting.rnc
Allow the "nonce" attribute
[gnu-emacs-elpa] / core-scripting.rnc
index 534e4caa36b738711c2ba12ae3005f1db8c35b9c..33e8ff705f9ba1403a101cc29517f73d793dca4f 100644 (file)
@@ -16,6 +16,7 @@ datatypes w = "http://whattf.org/datatype-draft"
                &       script.attrs.type?
                &       script.attrs.language? # restricted in Schematron
                &       script.attrs.integrity?
+               &       script.attrs.nonce?
                &       embedded.content.attrs.crossorigin?
                &       (       common.attrs.aria.role.presentation
                        |       common.attrs.aria.role.menuitem
@@ -32,6 +33,7 @@ datatypes w = "http://whattf.org/datatype-draft"
                &       script.attrs.charset?
                &       script.attrs.language? # restricted in Schematron
                &       script.attrs.integrity?
+               &       script.attrs.nonce?
                &       embedded.content.attrs.crossorigin?
                &       (       common.attrs.aria.role.presentation
                        |       common.attrs.aria.role.menuitem
@@ -65,6 +67,10 @@ datatypes w = "http://whattf.org/datatype-draft"
                        attribute integrity {
                                common.data.integrity
                        }
+               script.attrs.nonce =
+                       attribute nonce{
+                               string
+                       }
        script.inner.embedded =
                ( common.inner.anything )
        script.inner.imported =