Skip to content

Commit

Permalink
Fix some broken/stale external and internal links
Browse files Browse the repository at this point in the history
This change fixes some links — both external and internal — mostly links with
broken fragments. Some specific notes about a couple complete removals of links:

* Removes stale link to WebIDL `RegExp` , which the WebIDL spec no longer has —
  and all references for which were already dropped from the HTML spec anyway.

* Removes broken link to the definition of the CSS `<position>` data type, which
  isn’t actually currently referenced in the HTML spec.

* Removes crufty link to Service Workers “use cache”, which has already been
  superseded by other language in the Service Workers spec and HTML spec.
  • Loading branch information
sideshowbarker authored and domenic committed Oct 2, 2017
1 parent f3d90c5 commit ae33c29
Showing 1 changed file with 25 additions and 27 deletions.
52 changes: 25 additions & 27 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2900,7 +2900,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x="idl-Function" data-x-href="https://heycam.github.io/webidl/#common-Function"><code>Function</code></dfn></li>
<li><dfn data-x="idl-long" data-x-href="https://heycam.github.io/webidl/#idl-long"><code>long</code></dfn></li>
<li><dfn data-x="idl-object" data-x-href="https://heycam.github.io/webidl/#idl-object"><code>object</code></dfn></li>
<li><dfn data-x="idl-RegExp" data-x-href="https://heycam.github.io/webidl/#idl-RegExp"><code>RegExp</code></dfn></li>
<li><dfn data-x="idl-Uint8ClampedArray" data-x-href="https://heycam.github.io/webidl/#idl-Uint8ClampedArray"><code>Uint8ClampedArray</code></dfn></li>
<li><dfn data-x="idl-unrestricted-double" data-x-href="https://heycam.github.io/webidl/#idl-unrestricted-double"><code>unrestricted double</code></dfn></li>
<li><dfn data-x="idl-unsigned-long" data-x-href="https://heycam.github.io/webidl/#idl-unsigned-long"><code>unsigned long</code></dfn></li>
Expand Down Expand Up @@ -3195,15 +3194,15 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<p>The following features are defined in the UI Events specification: <ref spec=UIEVENTS></p>

<ul class="brief">
<li>The <dfn data-x-href="https://w3c.github.io/uievents/#interface-MouseEvent"><code>MouseEvent</code></dfn> interface</li>
<li>The <code>MouseEvent</code> interface's <dfn data-x="dom-MouseEvent-relatedTarget" data-x-href="https://w3c.github.io/uievents/#widl-MouseEvent-relatedTarget"><code>relatedTarget</code></dfn> attribute</li>
<li><dfn data-x-href="https://w3c.github.io/uievents/#idl-def-MouseEventInit"><code>MouseEventInit</code></dfn> dictionary type</li>
<li>The <dfn data-x-href="https://w3c.github.io/uievents/#mouseevent"><code>MouseEvent</code></dfn> interface</li>
<li>The <code>MouseEvent</code> interface's <dfn data-x="dom-MouseEvent-relatedTarget" data-x-href="https://w3c.github.io/uievents/#dom-mouseevent-relatedtarget"><code>relatedTarget</code></dfn> attribute</li>
<li><dfn data-x-href="https://w3c.github.io/uievents/#dictdef-mouseeventinit"><code>MouseEventInit</code></dfn> dictionary type</li>

<li>The <dfn data-x-href="https://w3c.github.io/uievents/#interface-FocusEvent"><code>FocusEvent</code></dfn> interface</li>
<li>The <code>FocusEvent</code> interface's <dfn data-x="dom-FocusEvent-relatedTarget" data-x-href="https://w3c.github.io/uievents/#widl-FocusEvent-relatedTarget"><code>relatedTarget</code></dfn> attribute</li>
<li>The <dfn data-x-href="https://w3c.github.io/uievents/#focusevent"><code>FocusEvent</code></dfn> interface</li>
<li>The <code>FocusEvent</code> interface's <dfn data-x="dom-FocusEvent-relatedTarget" data-x-href="https://w3c.github.io/uievents/#dom-focusevent-relatedtarget"><code>relatedTarget</code></dfn> attribute</li>

<li>The <dfn data-x-href="https://w3c.github.io/uievents/#interface-UIEvent"><code>UIEvent</code></dfn> interface</li>
<li>The <code>UIEvent</code> interface's <dfn data-x="dom-UIEvent-view" data-x-href="https://w3c.github.io/uievents/#widl-UIEvent-view"><code>view</code></dfn> attribute</li>
<li>The <dfn data-x-href="https://w3c.github.io/uievents/#uievent"><code>UIEvent</code></dfn> interface</li>
<li>The <code>UIEvent</code> interface's <dfn data-x="dom-UIEvent-view" data-x-href="https://w3c.github.io/uievents/#dom-uievent-view"><code>view</code></dfn> attribute</li>

<li><dfn data-x="event-auxclick" data-x-href="https://w3c.github.io/uievents/#event-type-auxclick"><code>auxclick</code></dfn> event</li>
<li><dfn data-x="event-click" data-x-href="https://w3c.github.io/uievents/#event-type-click"><code>click</code></dfn> event</li>
Expand Down Expand Up @@ -3246,8 +3245,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<ul class="brief">
<li><dfn data-x-href="https://w3c.github.io/DOM-Parsing/#the-domparser-interface"><code>DOMParser</code></dfn></li>
<li><dfn data-x="dom-innerHTML" data-x-href="https://w3c.github.io/DOM-Parsing/#widl-Element-innerHTML"><code>innerHTML</code></dfn></li>
<li><dfn data-x="dom-outerHTML" data-x-href="https://w3c.github.io/DOM-Parsing/#widl-Element-outerHTML"><code>outerHTML</code></dfn></li>
<li><dfn data-x="dom-innerHTML" data-x-href="https://w3c.github.io/DOM-Parsing/#dom-element-innerhtml"><code>innerHTML</code></dfn></li>
<li><dfn data-x="dom-outerHTML" data-x-href="https://w3c.github.io/DOM-Parsing/#dom-element-outerhtml"><code>outerHTML</code></dfn></li>
</ul>

<p>The <dfn
Expand Down Expand Up @@ -3275,7 +3274,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
typedef and the <dfn
data-x-href="https://w3c.github.io/hr-time/#the-performance-interface"><code>Performance</code></dfn>
interface's <dfn data-x="dom-Performance-now"
data-x-href="https://w3c.github.io/hr-time/#dom-performance-now"><code>now()</code></dfn>
data-x-href="https://w3c.github.io/hr-time/#dom-performance-now()"><code>now()</code></dfn>
method. <ref spec=HRT></p>

</dd>
Expand All @@ -3290,9 +3289,9 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
spec=FILEAPI></p>

<ul class="brief">
<li>The <dfn data-x-href="https://w3c.github.io/FileAPI/#blob"><code>Blob</code></dfn> interface and its
<li>The <dfn data-x-href="https://w3c.github.io/FileAPI/#dfn-Blob"><code>Blob</code></dfn> interface and its
<dfn data-x="dom-Blob-type" data-x-href="https://w3c.github.io/FileAPI/#dfn-type"><code>type</code></dfn> attribute</li>
<li>The <dfn data-x-href="https://w3c.github.io/FileAPI/#file"><code>File</code></dfn> interface and its
<li>The <dfn data-x-href="https://w3c.github.io/FileAPI/#dfn-file"><code>File</code></dfn> interface and its
<dfn data-x="dom-File-name" data-x-href="https://w3c.github.io/FileAPI/#dfn-name"><code>name</code></dfn> and
<dfn data-x="dom-File-lastModified" data-x-href="https://w3c.github.io/FileAPI/#dfn-lastModified"><code>lastModified</code></dfn> attributes</li>
<li>The <dfn data-x-href="https://w3c.github.io/FileAPI/#filelist-section"><code>FileList</code></dfn> interface</li>
Expand Down Expand Up @@ -3322,7 +3321,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
spec=MEDIASOURCE></p>

<ul class="brief">
<li><dfn data-x-href="https://w3c.github.io/media-source/#idl-def-MediaSource"><code>MediaSource</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/media-source/#idl-def-mediasource"><code>MediaSource</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/media-source/#mediasource-detach">detaching from a media element</dfn></li>
</ul>

Expand All @@ -3336,7 +3335,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
spec=MEDIASTREAM></p>

<ul class="brief">
<li><dfn data-x-href="https://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-MediaStream"><code>MediaStream</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-mediastream"><code>MediaStream</code></dfn> interface</li>
<li><dfn data-x="dom-MediaDevices-getUserMedia" data-x-href="https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia"><code>getUserMedia()</code></dfn> method</li>
</ul>

Expand Down Expand Up @@ -3535,7 +3534,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<ul class="brief">
<li>The <dfn data-x-href="https://drafts.csswg.org/css-backgrounds/#the-background-color">'background-color'</dfn> property</li>
<li>The <dfn data-x-href="https://drafts.csswg.org/css-backgrounds/#the-background-image">'background-image'</dfn> property</li>
<li>The <dfn data-x-href="https://drafts.csswg.org/css-backgrounds/#position">&lt;position></dfn> CSS data type</li>
</ul>

<p>The term <dfn
Expand Down Expand Up @@ -3902,7 +3900,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#serviceworker"><code>ServiceWorker</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#serviceworkercontainer"><code>ServiceWorkerContainer</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope"><code>ServiceWorkerGlobalScope</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#dfn-use-cache">use cache</dfn></li>
<li><dfn data-x-href="https://w3c.github.io/ServiceWorker/#dfn-update-via-cache">update via cache mode</dfn></li>
</ul>

Expand Down Expand Up @@ -3931,7 +3928,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<ref spec=PAYMENTREQUEST></p>

<ul class="brief">
<li><dfn data-x-href="https://w3c.github.io/browser-payment-api/#paymentrequest-interface"><code>PaymentRequest</code></dfn> interface</li>
<li><dfn data-x-href="https://w3c.github.io/payment-request/#dom-paymentrequest"><code>PaymentRequest</code></dfn> interface</li>
</ul>
</dd>

Expand Down Expand Up @@ -12184,7 +12181,7 @@ translate="no">HTML&lt;/span> markup.&lt;/p></pre>
<pre class="idl">[Exposed=Window,
OverrideBuiltins]
interface <dfn>DOMStringMap</dfn> {
<a href="#dom-domstringmap-namedItem">getter</a> DOMString (DOMString name);
<a href="#dom-domstringmap-nameditem">getter</a> DOMString (DOMString name);
[<span>CEReactions</span>] <a href="#dom-domstringmap-setitem">setter</a> void (DOMString name, DOMString value);
[<span>CEReactions</span>] <a href="#dom-domstringmap-removeitem">deleter</a> void (DOMString name);
};</pre>
Expand Down Expand Up @@ -87683,8 +87680,8 @@ document.querySelector("button").addEventListener("click", bound);
the <span>incumbent settings object</span>? As before, it should intuitively be that of <code
data-x="">a.html</code>: the <code data-x="event-click">click</code> listener was originally
scheduled by <code data-x="">a.html</code>, so even if something involving <code
data-x="">b.html</code> causes the listener to fire, the <a
href="#incumbent-everything">incumbent</a> responsible is that of <code
data-x="">b.html</code> causes the listener to fire, the <span
data-x="concept-incumbent-everything">incumbent</span> responsible is that of <code
data-x="">a.html</code>.</p>

<p>The callback setup is similar to the previous example: when <code data-x="">bound</code> is
Expand Down Expand Up @@ -87717,9 +87714,9 @@ document.querySelector("button").addEventListener("click", bound);
data-x="concept-request-client">request client</span>. This is <a
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=26603#c36">perhaps the only justifiable use
of the incumbent concept on the web platform</a>; in all other cases the consequences of using it
are simply confusing and we hope to one day switch them to use <a
href="#current-everything">current</a> or <a href="#relevant-everything">relevant</a> as
appropriate.</p>
are simply confusing and we hope to one day switch them to use <span
data-x="concept-current-everything">current</span> or <span
data-x="concept-relevant-everything">relevant</span> as appropriate.</p>
</div>

<h6>Current</h6>
Expand Down Expand Up @@ -87847,9 +87844,10 @@ document.querySelector("button").addEventListener("click", bound);
<p>Let <var>job settings</var> be some appropriate <span>environment settings object</span>.</p>

<p class="warning">It is not yet clear how to specify the <span>environment settings
object</span> that should be used here. In practice, this means that the <a
href="#entry-everything">entry</a> concept is not correctly specified while executing a job. See
<a href="https://github.com/whatwg/html/pull/1189#issuecomment-224950188">discussion in issue
object</span> that should be used here. In practice, this means that the <span
data-x="concept-entry-everything">entry</span> concept is not correctly specified while
executing a job. See <a
href="https://github.com/whatwg/html/pull/1189#issuecomment-224950188">discussion in issue
#1189</a>.</p>
</li>

Expand Down

0 comments on commit ae33c29

Please sign in to comment.