forked from speced/respec
-
Notifications
You must be signed in to change notification settings - Fork 1
/
starter.html
54 lines (54 loc) · 1.45 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
<!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'>
var respecConfig = {
specStatus: "unofficial",
editors: [{
name: "Your Name",
url: "http://your-site.com",
}],
github: "https://github.com/user/my-awesome-api",
};
</script>
</head>
<body>
<h1>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" data-link-for="Foo">
<h2>Start your spec!</h2>
<pre class="idl">
interface Foo {
attribute Bar bar;
void doTheFoo();
};
</pre>
<section>
<h2><dfn>bar</dfn> attribute</h2>
<p>When getting, the <a>bar</a> attribute returns you a 🍹.</p>
</section>
<section>
<h2><dfn>doTheFoo(DOMString thing)</dfn> method</h2>
<p>When called, <code>doTheFoo(<var>thing</var>)</code> it 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>