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

45 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
<Definitions>
<webidl>dictionary PaintOptions {
DOMString? fillPattern = &quot;black&quot;;
DOMString? strokePattern = null;
<ref>Point</ref> position;
};
dictionary WetPaintOptions : <ref>PaintOptions</ref> {
float hydrometry;
};</webidl>
<Dictionary name="PaintOptions" id="::PaintOptions">
<webidl>dictionary PaintOptions {
DOMString? fillPattern = &quot;black&quot;;
DOMString? strokePattern = null;
<ref>Point</ref> position;
};</webidl>
<DictionaryMember name="fillPattern" stringvalue="black" id="::PaintOptions::fillPattern">
<webidl> DOMString? fillPattern = &quot;black&quot;;</webidl>
<Type type="DOMString" nullable="nullable"/>
</DictionaryMember>
<DictionaryMember name="strokePattern" value="null" id="::PaintOptions::strokePattern">
<webidl> DOMString? strokePattern = null;</webidl>
<Type type="DOMString" nullable="nullable"/>
</DictionaryMember>
<DictionaryMember name="position" id="::PaintOptions::position">
<webidl> <ref>Point</ref> position;</webidl>
<Type name="Point"/>
</DictionaryMember>
</Dictionary>
<Dictionary name="WetPaintOptions" id="::WetPaintOptions">
<webidl>dictionary WetPaintOptions : <ref>PaintOptions</ref> {
float hydrometry;
};</webidl>
<DictionaryInheritance>
<Name name="PaintOptions"/>
</DictionaryInheritance>
<DictionaryMember name="hydrometry" id="::WetPaintOptions::hydrometry">
<webidl> float hydrometry;</webidl>
<Type type="float"/>
</DictionaryMember>
</Dictionary>
</Definitions>