summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/widlproc/test/valid/idl/constructor.widl
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/widlproc/test/valid/idl/constructor.widl')
-rw-r--r--testing/web-platform/tests/resources/webidl2/test/widlproc/test/valid/idl/constructor.widl9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/widlproc/test/valid/idl/constructor.widl b/testing/web-platform/tests/resources/webidl2/test/widlproc/test/valid/idl/constructor.widl
new file mode 100644
index 000000000..f93ec08a6
--- /dev/null
+++ b/testing/web-platform/tests/resources/webidl2/test/widlproc/test/valid/idl/constructor.widl
@@ -0,0 +1,9 @@
+// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06
+[Constructor,
+ Constructor(float radius)]
+interface Circle {
+ attribute float r;
+ attribute float cx;
+ attribute float cy;
+ readonly attribute float circumference;
+}; \ No newline at end of file