Skip to content

Commit af2965b

Browse files
authored
Remove unnecessary anchors and link-defaults. (#559)
1 parent 35a531b commit af2965b

File tree

1 file changed

+8
-55
lines changed

1 file changed

+8
-55
lines changed

index.bs

+8-55
Original file line numberDiff line numberDiff line change
@@ -26,68 +26,21 @@ Link Defaults: html (dfn) queue a task/in parallel/reflect
2626
</pre>
2727
<pre class="link-defaults">
2828
spec:css-cascade-5; type:dfn; text:inherit
29-
spec:dom
30-
type:method; for:Document; text:getElementsByTagName(qualifiedName)
31-
type:method; for:Document; text:createElement(qualifiedName)
32-
spec:html; type:dfn; for:/
33-
text:focus update steps
34-
text:task queue
35-
text:event loop
36-
spec:html; type:element-attr; for:a
37-
text:href
38-
text:ping
39-
spec:html; type:element
40-
text:a
41-
text:link
42-
text:script
43-
text:style
29+
spec:css2; type: property; text: line-height
4430
spec:html; type:event; text:resize
45-
spec:selectors-4; type:selector; text::hover
31+
spec:payment-request; type:attribute; for:PaymentRequest; text:[[state]]
32+
spec:remote-playback; type:dfn; text: remote playback device
4633
spec:webidl
4734
type:dfn; text:namespace
4835
type:idl; text:long
4936
type:idl; text:short
50-
type:interface; text:double
51-
spec:web-locks; type:interface; text:LockManager
5237
</pre>
5338
<pre class='ignored-specs'>
54-
spec: css21
39+
spec: svg2
5540
</pre>
56-
<!-- Some of these 'anchors' entries are really routing around spec bugs.
57-
https://github.com/w3c/remote-playback/issues/137
58-
https://github.com/whatwg/html/issues/5515
59-
https://github.com/whatwg/html/issues/6053
60-
https://github.com/whatwg/url/issues/522
61-
-->
6241
<pre class="anchors">
63-
urlPrefix: https://dom.spec.whatwg.org/; spec: DOM
64-
url: #dom-document-getelementsbytagname; type: interface; for: Document; text: getElementsByTagName
65-
url: #dom-document-createelement; type: interface; for: Document; text: createElement
66-
urlPrefix: https://w3c.github.io/DOM-Parsing/; spec: DOM-Parsing
67-
url: #dom-innerhtml-innerhtml; type: attribute; for: Element; text: innerHTML
68-
urlPrefix: https://tc39.github.io/ecma262/; spec: ECMA262
69-
url: #sec-bigint-objects; type: interface; text: BigInt
70-
url: #sec-date-objects; type: interface; text: Date
71-
url: #sec-error-objects; type: interface; text: Error
72-
url: #sec-finalization-registry-objects; type: interface; text: FinalizationRegistry
73-
url: #sec-number-objects; type: interface; text: Number
74-
url: #sec-weak-ref-objects; type: interface; text: WeakRef
75-
urlPrefix: https://w3c.github.io/gamepad/; spec: gamepad
76-
url:#event-gamepadconnected; type: event; text:gamepadconnected
77-
urlPrefix: https://w3c.github.io/geolocation-api/; spec: geolocation
78-
url:#dom-geolocation-watchposition; type:method; for:Geolocation; text:watchPosition()
79-
urlPrefix: https://html.spec.whatwg.org/multipage/; spec: HTML
80-
url: system-state.html#dom-navigator-online; type: attribute; for: NavigatorOnline; text: onLine;
81-
url: media.html#dom-media-play; type:method; for:HTMLMediaElement; text:play()
8242
urlPrefix: https://www.rfc-editor.org/rfc/rfc9110.html; spec: rfc9110
8343
url: #name-accept; type: http-header; text: Accept
84-
urlPrefix: https://w3c.github.io/remote-playback/; spec: REMOTE-PLAYBACK
85-
url: #remoteplayback-interface; type:interface; text: RemotePlayback
86-
url: #dfn-remote-playback-devices; type:dfn; text: remote playback device
87-
urlPrefix: https://url.spec.whatwg.org/; spec: URL
88-
url: #percent-encode; type: abstract-op; text: percent-encode
89-
urlPrefix: https://www.w3.org/TR/payment-request/; spec: payment-request
90-
url: #dfn-state; type: dfn; text: [[state]];
9144
</pre>
9245

9346
<style>
@@ -1651,7 +1604,7 @@ for (let i = 0; i < list.length; i++) {
16511604
```
16521605

16531606
The choice to have {{ParentNode/querySelectorAll()}} return static objects
1654-
was made after spec authors noticed that {{getElementsByTagName}}
1607+
was made after spec authors noticed that {{Document/getElementsByTagName}}
16551608
was causing problems.
16561609

16571610
{{URLSearchParams}} isn't static,
@@ -2356,14 +2309,14 @@ If the events are deferred instead:
23562309
the behavior of inspecting or changing state is well-defined.
23572310

23582311
<span class="informative">For example, in [[payment-request]],
2359-
the {{PaymentRequest}}'s [=[[state]]=] internal slot
2312+
the {{PaymentRequest}}'s {{PaymentRequest/[[state]]}} internal slot
23602313
explicitly tracks the object's state
23612314
through its well-defined transitions.</span>
23622315
* These state transitions often use the guarding technique themselves,
23632316
to ensure the state transitions happen appropriately.
23642317

23652318
For example, in [[payment-request]]
2366-
note the guards used around the [=[[state]]=] internal slot,
2319+
note the guards used around the {{PaymentRequest/[[state]]}} internal slot,
23672320
such as in the {{PaymentRequest/show()}} algorithm.
23682321
* if the deferred event doesn't need extra state,
23692322
or a state machine,
@@ -2668,7 +2621,7 @@ In the specific cases explained below, it might be appropriate to use either
26682621

26692622
{{USVString}} is the Web IDL type that represents [=scalar value strings=].
26702623
For strings whose most common algorithms operate on [=scalar values=]
2671-
(such as [$percent-encode|percent-encoding$]),
2624+
(such as [=percent-encode|percent-encoding=]),
26722625
or for operations which can't handle [=surrogates=] in input
26732626
(such as APIs that pass strings through to native platform APIs),
26742627
{{USVString}} should be used.

0 commit comments

Comments
 (0)