Copyright © 2009 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
This document was published by the Device APIs and Policy Working Group as a Working Draft. This document is intended to become a W3C Recommendation. If you wish to make comments regarding this document, please send them to public-device-apis@w3.org (subscribe, archives). All feedback is welcome.
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.
There are several RFC 2119 keywords: must, must not, required, shall, shall not, should, should not, recommended, may, and optional. They are only recognised in uppercase, so that one may still write normally if one must. Importantly, the must not fail when happening over line breaks, but:
W3C is no different from other geek outfits, and is therefore full of abbreviations.
We don't care about the silly debate going on about abbr
and acronym
,
we just support whatever people use, so that the following all ought to work:
A definition is an element that marks out a term that is defined in the current block.
They can sometimes be definitions with a title so that they can be written in the flow of the sentence without disruption.
Sometimes you will see an AbbrDef, which is an abbreviation-based definition.
One thing that should definitely work is creating definitions over multiple lines in the source.
It is then possible to reuse them. The title trick works both ways so that definitions
can be reused fluidly. It would be possible to automatically detect them but for the time being
they require an a
element.
This should have no problem mixing up with abbr
as AbbrDef shows, and a definition
with a title works over several lines, just like definitions over multiple lines.
Dahut
interface
This is a simple example of the way in which Web IDL [WEBIDL] interfaces are created. This one is for
the Dahut
interface.
[Constructor]
interface Dahut : Mammal, Cryptoid {
readonly attribute DOMString chirality;
attribute unsigned long age;
Dahut
turnAround (in float angle, in boolean fall);
unsigned long trip ();
void yell ([AllowAny] in unsigned long volume, [TreatNullAs=EmptyString] in DOMString sentence);
};
age
chirality
trip
turnAround
yell
One can trivially make references to any specification, say for instance [WIDGETS], [WICD], and even in a normative way [REX] or [SVGMOBILE12]. It's all about I18N, [ZHMARK].
Many thanks to Marcos Cáceres for moral support, and to Bert Bos and Geoffrey Sneddon for their tools from which I pilfered joyfully.