mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-07-13 20:29:25 +00:00
16 lines
473 B
Plaintext
16 lines
473 B
Plaintext
interface Animal {
|
|
|
|
// A simple attribute that can be set to any string value.
|
|
readonly attribute DOMString name;
|
|
};
|
|
|
|
interface Person : Animal {
|
|
|
|
// An attribute whose value cannot be assigned to.
|
|
readonly attribute unsigned short age;
|
|
|
|
// An attribute that can raise an exception if it is set to an invalid value.
|
|
// Its getter behavior is inherited from Animal, and need not be specified
|
|
// the description of Person.
|
|
inherit attribute DOMString name;
|
|
}; |