W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2013

[respec] WebIDL definition merging update

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Wed, 23 Jan 2013 18:05:39 +0200
Message-Id: <15D0BBF7-ADE1-4836-9C47-C7A1BA1ACA60@nokia.com>
To: "spec-prod@w3.org Prod" <spec-prod@w3.org>
Hi all,

I made some changes to the way how the data-merge attribute [1] behaves.

Now ReSpec prepends definitions that will go logically together with the interface definition (such as dictionaries, enums etc.) to the interface in line with modern authoring practices. Before this change, they were inserted to the end of the interface definition.

For a live example, see e.g. the interface sections at:

  http://dvcs.w3.org/hg/dap/raw-file/tip/light/Overview.html

-Anssi

[1] The data-merge attribute on the interface dl element instructs the preprocessor to merge other definition(s) with the interface definition. The value of the data-merge attribute is a whitespace delimited list of definition names to be merged with the interface.
Received on Wednesday, 23 January 2013 16:06:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 January 2013 16:06:12 GMT