tenfourfox/testing/web-platform/tests/WebIDL/valid/xml/nullable.widlprocxml
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

30 lines
1004 B
XML

<?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>