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

Remove summary class stragglers #8175

Merged
merged 1 commit into from
Aug 21, 2021
Merged
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
6 changes: 3 additions & 3 deletions files/en-us/web/api/report/index.html
Original file line number Diff line number Diff line change
@@ -17,9 +17,9 @@
<p>Reports can be accessed in a number of ways:</p>

<ul>
<li class="summary">Via the {{domxref("ReportingObserver.takeRecords()")}} method — this returns all reports in an observer's report queue, and then empties the queue.</li>
<li class="summary">Via the <code>reports</code> parameter of the callback function passed into the <code><a href="/en-US/docs/Web/API/ReportingObserver/ReportingObserver">ReportingObserver()</a></code> constructor upon creation of a new observer instance. This contains the list of reports currently contained in the observer's report queue.</li>
<li class="summary">By sending requests to the endpoints defined via the {{httpheader("Report-To")}} HTTP header.</li>
<li>Via the {{domxref("ReportingObserver.takeRecords()")}} method — this returns all reports in an observer's report queue, and then empties the queue.</li>
<li>Via the <code>reports</code> parameter of the callback function passed into the <code><a href="/en-US/docs/Web/API/ReportingObserver/ReportingObserver">ReportingObserver()</a></code> constructor upon creation of a new observer instance. This contains the list of reports currently contained in the observer's report queue.</li>
<li>By sending requests to the endpoints defined via the {{httpheader("Report-To")}} HTTP header.</li>
</ul>

<h2 id="Properties">Properties</h2>
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
href="https://www.beyondlogic.org/usbnutshell/usb5.shtml#ConfigurationDescriptors"><code>iConfiguration</code></a>
field of the configuration descriptor defining this configuration.</p>

<h2 class="summary" id="Syntax">Syntax</h2>
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js"> var <var>name</var> = USBConfiguration.configurationName</pre>
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
---
<div>{{DefaultAPISidebar("Web Audio API")}}</div>

<p class="summary" id="webaudioapibasics">Let's take a look at getting started with the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a>. We'll briefly look at some concepts, then study a simple boombox example that allows us to load an audio track, play and pause it, and change its volume and stereo panning.</p>
<p>Let's take a look at getting started with the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a>. We'll briefly look at some concepts, then study a simple boombox example that allows us to load an audio track, play and pause it, and change its volume and stereo panning.</p>

<p>The Web Audio API does not replace the {{HTMLElement("audio")}} media element, but rather complements it, just like {{HTMLElement("canvas")}} coexists alongside the {{HTMLElement("img")}} element. Your use case will determine what tools you use to implement audio. If you want to control playback of an audio track, the <code>&lt;audio&gt;</code> media element provides a better, quicker solution than the Web Audio API. If you want to carry out more complex audio processing, as well as playback, the Web Audio API provides much more power and control.</p>