diff --git a/css/smpte.css b/css/smpte.css
index 37e0281..d69fc35 100644
--- a/css/smpte.css
+++ b/css/smpte.css
@@ -495,6 +495,8 @@ code:hover {
#sec-elements a {
color: currentColor;
text-decoration: none;
+ pointer-events: none;
+ cursor: default;
}
@page:first {
diff --git a/doc/main.html b/doc/main.html
index a470b53..d485272 100644
--- a/doc/main.html
+++ b/doc/main.html
@@ -670,7 +670,8 @@
Additional elements section
- an
id
attribute whose value is prefixed with element-
;
- a
title
attribute that provides a short description of the element;
- - a
href
attribute that links to the element, as detailed below.
+ - a
href
attribute that links to the element, as detailed below; and
+ - a
class
attribute that contains the token informative
if the element is informative.
@@ -2276,7 +2277,7 @@
Sample Workflow
-
+
diff --git a/smpte.js b/smpte.js
index 07fdad1..5655041 100644
--- a/smpte.js
+++ b/smpte.js
@@ -532,7 +532,7 @@ function insertElementsAnnex(docMetadata) {
return;
}
- sec.classList.add("annex");
+ sec.classList.add("unnumbered");
const intro = document.createElement("p");
intro.innerText = "This annex lists non-prose elements of this document."
@@ -578,14 +578,11 @@ function insertElementsAnnex(docMetadata) {
}
e.parentElement.insertBefore(
- document.createTextNode(` ${e.title} (${isAbsoluteLink ? "url:" : "file:"} `),
+ document.createTextNode(` ${e.title} ${e.classList.contains("informative")? "(informative)" : "(normative)"}. ${isAbsoluteLink ? "url:" : "file:"} <`),
e
);
- e.parentElement.insertBefore(
- document.createTextNode(")"),
- null
- );
+ e.parentElement.insertBefore(document.createTextNode(">."), null);
}
}