- From: Tobie Langel <notifications@github.com>
- Date: Mon, 30 Jan 2017 04:57:07 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 30 January 2017 12:57:39 UTC
tobie commented on this pull request.
> @@ -5145,6 +5123,16 @@ is a string, not necessarily unique, that identifies the type.
Each sub-section below defines what the type name is for each
type.
+Additional types can be created from existing ones by specifying certain
+[=extended attributes=] on the existing types. For example,
+<code>[Clamp] long</code> defines a new type whose behavior is based on
+that of the {{long}} type, but modified as specified by the [{{Clamp}}]
+extended attribute.
+
+The [=type name=] of a type annotated with an [=extended attribute=] is
+the concatenation of the type name of the annotated type and a string
+corresponding to the extended attribute's identifier.
+
Oh, you had LongClamp in mind. I see. I feel like that's counterintuitive, given the syntax is `[Clamp] long`.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/286
Received on Monday, 30 January 2017 12:57:39 UTC