Skip to content

Commit

Permalink
Move at-risk to experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
kenchris committed Nov 21, 2024
1 parent 72ee57f commit d5fbc87
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
ul li::marker {
font-family: "Segoe UI Emoji", "Noto Color Emoji";
}
.experimental {
.experimental, .hidden {
display: none;
}
</style>
Expand All @@ -86,11 +86,18 @@

document.querySelectorAll('.experimental').forEach(el => {
if (q) {
el.setAttribute("class", el.getAttribute("klazz"));
el.classList.remove("experimental");
} else {
el.remove();
}
})
document.querySelectorAll('.non-experimental').forEach(el => {
if (q) {
el.remove();
} else {
el.classList.add("hidden");
}
})
});
</script>
<section id="abstract">
Expand Down Expand Up @@ -186,15 +193,18 @@ <h3>Pressure sources</h3>
<em>global system thermals</em> and the <em>central [=processing unit=]</em>, also known as the CPU.
Future levels of this specification MAY introduce additional [=source types=].
</p>
<pre class="idl">
enum PressureSource { "thermals", "cpu" };
<pre class="non-experimental idl">
enum PressureSource { "cpu" };
</pre>
<pre class="experimental idl">
enum PressureSource { "cpu", "thermals" };
</pre>
<p>
The <dfn>PressureSource</dfn> enum represents the [=valid source types=]:
</p>
<p>
<ul class="pressure-source">
<li>
<li class="experimental">
{{PressureSource/"thermals"}} represents the global thermal state of the system.
<aside class="issue" data-number="294">
<p>
Expand Down

0 comments on commit d5fbc87

Please sign in to comment.