summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/widlproc/test/valid/xml/dictionary-inherits.widlprocxml
blob: 269a83cd849b3a35fc28a1a31accb57341162d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?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>