diff --git a/examples/basic.commented.html b/examples/basic.commented.html new file mode 100644 index 0000000000..3d86940e06 --- /dev/null +++ b/examples/basic.commented.html @@ -0,0 +1,117 @@ + + +
+ ++ This is required. +
++ This is required. +
+
+ This section has a CSS class "introductory
", which means
+ it will not appear in the TOC.
+ Example Link to Section.
+
+ This section has a CSS class "informative
", so it is
+ listed in the TOC. ReSpec will list this reference as non-normative
+ since this is an informative section [[DOM]].
+
+ [Exposed Window] + interface Foo { + constructor(); + attribute DOMString bar; + undefined doTheFoo(); + }; ++
+ The Foo interface is nice. Lets you do stuff. +
++ The Foo.constructor() creates a Foo instance +
++ The bar attribute, returns 🍺. +
++ The doTheFoo() method, returns nothing +
++ ReSpec will list this reference as normative [[ECMASCRIPT]]. +
++ This is an example of a non-normative reference in a normative section + [[?HTML]] +
++ const foo = new Foo(); + if (foo.bar === "my bar") { + foo.doTheBar(); + } ++
+ All the Web IDL in this specification is collected in this section. +
+
This section has a CSS class "introductory
", which means
it will not appear in the TOC.
- Example Link to Section .
+ Example Link to Section.
- [Exposed=Window] + [Exposed Window] interface Foo { constructor(); attribute DOMString bar; @@ -68,13 +68,13 @@The Foo interface is nice. Lets you do stuff.
- The Foo.constructor() creates a Foo instance. + The Foo.constructor() creates a Foo instance
The bar attribute, returns 🍺.
- The doTheFoo() method, returns nothing. + The doTheFoo() method, returns nothing
ReSpec will list this reference as normative [[ECMASCRIPT]]. @@ -101,7 +101,7 @@