Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve markup of enumeration tables #22

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Abstract: This API defines a control surface for manipulating the network
control bits (DSCP bits) of outgoing WebRTC packets, and the
queueing priority of outgoing WebRTC packets under congestion.
Markup Shorthands: css no
Implementation Report: https://wpt.fyi/results/webrtc-priority?label=experimental&label=master&aligned
</pre>

# Introduction # {#intro}
Expand Down Expand Up @@ -54,12 +55,14 @@ enum RTCPriorityType {
"high"
};
</pre>
<table data-link-for="RTCPriorityType" data-dfn-for="RTCPriorityType"
class="simple">
<tbody>
<table class="simple">
<caption><dfn enum>RTCPriorityType</dfn> Enumeration description</caption>
<thead>
<tr>
<th colspan="2">Enumeration description</th>
<th>Enum value</th><th>Description></th>
</tr>
</thead>
<tbody data-link-for="RTCPriorityType" data-dfn-for="RTCPriorityType">
<tr>
<td><dfn enum-value><code>very-low</code></dfn></td>
<td>See [[!rfc8835]], Sections 4.1 and 4.2. Corresponds to "below
Expand Down Expand Up @@ -111,11 +114,11 @@ partial dictionary RTCRtpEncodingParameters {
</dt>
<dd>
This has the same
effect as {{priority}}, except that it only affects the DSCP markings of
effect as {{RTCRtpEncodingParameters/priority}}, except that it only affects the DSCP markings of
the generated packets, as described in [[rfc8835]] section 4.2.

If {{networkPriority}} is unset, the DSCP markings of the generated
packets are controlled by the {{priority}} member.
packets are controlled by the {{RTCRtpEncodingParameters/priority}} member.
</dd>
</dl>

Expand Down