diff options
Diffstat (limited to 'testing/web-platform/tests/WebIDL/valid/idl/interface-inherits.widl')
-rw-r--r-- | testing/web-platform/tests/WebIDL/valid/idl/interface-inherits.widl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/WebIDL/valid/idl/interface-inherits.widl b/testing/web-platform/tests/WebIDL/valid/idl/interface-inherits.widl new file mode 100644 index 000000000..7921def77 --- /dev/null +++ b/testing/web-platform/tests/WebIDL/valid/idl/interface-inherits.widl @@ -0,0 +1,12 @@ +// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 +interface Animal { + attribute DOMString name; +}; + +interface Human : Animal { + attribute Dog pet; +}; + +interface Dog : Animal { + attribute Human owner; +};
\ No newline at end of file |