mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
12 lines
341 B
Plaintext
12 lines
341 B
Plaintext
// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06
|
|
// edited to remove sequence as attributes, now invalid
|
|
interface Canvas {
|
|
void drawPolygon(sequence<float> coordinates);
|
|
sequence<float> getInflectionPoints();
|
|
// ...
|
|
};
|
|
|
|
// Make sure sequence can still be registered as a type.
|
|
interface Foo {
|
|
sequence bar();
|
|
}; |