summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/WebIDL/valid/xml/partial-interface.widlprocxml
blob: 8d7dcb4e4f7868f3e42e40eaf356bb5583ec4d7a (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
<?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>