Skip to content

Commit 7e6979d

Browse files
jyasskintabatkins
andcommitted
[css-worklets] Fix up linking now that WebIDL is in Bikeshed. (#289)
* Don't redefine Function. * DOMException is an IDL type not a dfn. * No need to put webidl in 'anchors' anymore. * "URL" was warning about multiple definitions. Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
1 parent cc3a769 commit 7e6979d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

worklets/Overview.bs

+10-2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ spec:webidl; type:dfn; for:interface; text:inherit
3939
</pre>
4040

4141
<pre class="anchors">
42+
urlPrefix: https://fetch.spec.whatwg.org/; type: dfn;
43+
urlPrefix: #concept-;
44+
text: fetch
45+
urlPrefix: https://html.spec.whatwg.org/multipage/browsers.html; type: dfn;
46+
text: effective script origin
47+
url: #origin-2; text: origin
4248
urlPrefix: http://heycam.github.io/webidl/; type: dfn;
4349
urlPrefix: #es-;
4450
text: invoking callback functions
@@ -59,6 +65,10 @@ urlPrefix: http://www.ecma-international.org/ecma-262/6.0/#sec-; type: dfn;
5965
text: Invoke
6066
text: strict mode code
6167
</pre>
68+
<pre class="link-defaults">
69+
spec:url; type:dfn; text:url; for:url
70+
spec:webidl; type:dfn; for:interface; text:inherit
71+
</pre>
6272

6373
Introduction {#intro}
6474
=====================
@@ -553,8 +563,6 @@ For these examples we'll use a fake worklet on window.
553563
</pre>
554564

555565
<pre class='idl'>
556-
callback Function = any (any... arguments);
557-
558566
[Global=(Worklet,FakeWorklet),Exposed=FakeWorklet]
559567
interface FakeWorkletGlobalScope : WorkletGlobalScope {
560568
void registerAnArbitaryClass(DOMString type, Function classConstructor);

0 commit comments

Comments
 (0)