diff options
Diffstat (limited to 'testing/web-platform/tests/WebIDL/invalid/idl/module.widl')
-rw-r--r-- | testing/web-platform/tests/WebIDL/invalid/idl/module.widl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/WebIDL/invalid/idl/module.widl b/testing/web-platform/tests/WebIDL/invalid/idl/module.widl new file mode 100644 index 000000000..a4c79fdf1 --- /dev/null +++ b/testing/web-platform/tests/WebIDL/invalid/idl/module.widl @@ -0,0 +1,25 @@ +// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06 +module gfx { + + module geom { + interface Shape { /* ... */ }; + interface Rectangle : Shape { /* ... */ }; + interface Path : Shape { /* ... */ }; + }; + + interface GraphicsContext { + void fillShape(geom::Shape s); + void strokeShape(geom::Shape s); + }; +}; + +module gui { + + interface Widget { /* ... */ }; + + interface Window : Widget { + gfx::GraphicsContext getGraphicsContext(); + }; + + interface Button : Widget { /* ... */ }; +};
\ No newline at end of file |