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