summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/WebIDL/valid/xml/constructor.widlprocxml
blob: 8e78fbab3659f14d7e591141b3eeef0e8a0e27e5 (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
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
<Definitions>
  <webidl>[Constructor,
 Constructor(float radius)]
interface Circle {
  attribute float r;
  attribute float cx;
  attribute float cy;
  readonly attribute float circumference;
};</webidl>
  <Interface name="Circle" id="::Circle">
    <webidl>[Constructor,
 Constructor(float radius)]
interface Circle {
  attribute float r;
  attribute float cx;
  attribute float cy;
  readonly attribute float circumference;
};</webidl>
    <ExtendedAttributeList>
      <ExtendedAttribute name="Constructor">
        <webidl>Constructor</webidl>
      </ExtendedAttribute>
      <ExtendedAttribute name="Constructor">
        <webidl> Constructor(float radius)</webidl>
        <ArgumentList>
          <Argument name="radius">
            <Type type="float"/>
          </Argument>
        </ArgumentList>
      </ExtendedAttribute>
    </ExtendedAttributeList>
    <Attribute name="r" id="::Circle::r">
      <webidl>  attribute float r;</webidl>
      <Type type="float"/>
    </Attribute>
    <Attribute name="cx" id="::Circle::cx">
      <webidl>  attribute float cx;</webidl>
      <Type type="float"/>
    </Attribute>
    <Attribute name="cy" id="::Circle::cy">
      <webidl>  attribute float cy;</webidl>
      <Type type="float"/>
    </Attribute>
    <Attribute readonly="readonly" name="circumference" id="::Circle::circumference">
      <webidl>  readonly attribute float circumference;</webidl>
      <Type type="float"/>
    </Attribute>
  </Interface>
</Definitions>