[respec] WebIDL definition merging update

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 UTC