diff options
Diffstat (limited to 'testing/web-platform/tests/WebIDL/valid/xml/constructor.widlprocxml')
-rw-r--r-- | testing/web-platform/tests/WebIDL/valid/xml/constructor.widlprocxml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/web-platform/tests/WebIDL/valid/xml/constructor.widlprocxml b/testing/web-platform/tests/WebIDL/valid/xml/constructor.widlprocxml new file mode 100644 index 000000000..8e78fbab3 --- /dev/null +++ b/testing/web-platform/tests/WebIDL/valid/xml/constructor.widlprocxml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd"> +<Definitions> + <webidl>[Constructor, + Constructor(float radius)] +interface Circle { + attribute float r; + attribute float cx; + attribute float cy; + readonly attribute float circumference; +};</webidl> + <Interface name="Circle" id="::Circle"> + <webidl>[Constructor, + Constructor(float radius)] +interface Circle { + attribute float r; + attribute float cx; + attribute float cy; + readonly attribute float circumference; +};</webidl> + <ExtendedAttributeList> + <ExtendedAttribute name="Constructor"> + <webidl>Constructor</webidl> + </ExtendedAttribute> + <ExtendedAttribute name="Constructor"> + <webidl> Constructor(float radius)</webidl> + <ArgumentList> + <Argument name="radius"> + <Type type="float"/> + </Argument> + </ArgumentList> + </ExtendedAttribute> + </ExtendedAttributeList> + <Attribute name="r" id="::Circle::r"> + <webidl> attribute float r;</webidl> + <Type type="float"/> + </Attribute> + <Attribute name="cx" id="::Circle::cx"> + <webidl> attribute float cx;</webidl> + <Type type="float"/> + </Attribute> + <Attribute name="cy" id="::Circle::cy"> + <webidl> attribute float cy;</webidl> + <Type type="float"/> + </Attribute> + <Attribute readonly="readonly" name="circumference" id="::Circle::circumference"> + <webidl> readonly attribute float circumference;</webidl> + <Type type="float"/> + </Attribute> + </Interface> +</Definitions> |