forked from speced/respec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
starter.html
63 lines (63 loc) · 1.7 KB
/
starter.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<script src='https://www.w3.org/Tools/respec/respec-w3c' async class='remove'></script>
<script class='remove'>
// All config options at https://respec.org/docs/
var respecConfig = {
// Working Groups ids at https://respec.org/w3c/groups/
group: "webapps",
specStatus: "unofficial",
editors: [{
name: "Your Name",
url: "http://your-site.com",
}],
github: {
branch: "main",
repoURL: "user/my-awesome-api",
},
// See https://respec.org/docs/#xref for usage.
xref: "web-platform",
};
</script>
</head>
<body>
<h1 id="title">My Awesome API</h1>
<section id='abstract'>
<p>
This is required.
</p>
</section>
<section id='sotd'>
<p>
This is required.
</p>
</section>
<section data-dfn-for="Foo">
<h2>Start your spec!</h2>
<pre class="idl">
[Exposed=Window]
interface Foo {
attribute DOMString bar;
undefined doTheFoo();
};
</pre>
<section>
<h2><dfn>bar</dfn> attribute</h2>
<p>When getting, the {{Foo/bar}} attribute returns you a 🍹.</p>
</section>
<section>
<h2><dfn>doTheFoo()</dfn> method</h2>
<p>When called, {{Foo/doTheFoo()}} MUST behave as follows:</p>
<ol class="algorithm">
<li>If <var>thing</var>....</li>
<li>Let <var>someProp</var>... of the [[DOM]] spec.</li>
</ol>
</section>
</section>
<section id='conformance'>
<!-- This section is filled automatically by ReSpec. -->
</section>
</body>
</html>