diff options
Diffstat (limited to 'testing/web-platform/tests/WebIDL/valid/xml/partial-interface.widlprocxml')
-rw-r--r-- | testing/web-platform/tests/WebIDL/valid/xml/partial-interface.widlprocxml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/WebIDL/valid/xml/partial-interface.widlprocxml b/testing/web-platform/tests/WebIDL/valid/xml/partial-interface.widlprocxml new file mode 100644 index 000000000..8d7dcb4e4 --- /dev/null +++ b/testing/web-platform/tests/WebIDL/valid/xml/partial-interface.widlprocxml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd"> +<Definitions> + <webidl>interface Foo { + attribute DOMString bar; +}; + +partial interface Foo { + attribute DOMString quux; +};</webidl> + <Interface name="Foo" id="::Foo"> + <webidl>interface Foo { + attribute DOMString bar; +};</webidl> + <Attribute name="bar" id="::Foo::bar"> + <webidl> attribute DOMString bar;</webidl> + <Type type="DOMString"/> + </Attribute> + </Interface> + <Interface name="Foo" partial="partial" id="::Foo"> + <webidl>partial interface Foo { + attribute DOMString quux; +};</webidl> + <Attribute name="quux" id="::Foo::quux"> + <webidl> attribute DOMString quux;</webidl> + <Type type="DOMString"/> + </Attribute> + </Interface> +</Definitions> |