Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab

This commit is contained in:
James Graham 2015-03-27 09:18:12 +00:00
parent 1a81b18b9f
commit 2c9faf5363
91915 changed files with 5979820 additions and 0 deletions

View file

@ -0,0 +1 @@
enum foo { 1, 2, 3};

View file

@ -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 { /* ... */ };
};

View file

@ -0,0 +1,3 @@
interface NonNullable {
attribute any? foo;
};

View file

@ -0,0 +1,5 @@
interface Foo {};
interface NonNullable {
attribute Foo?? foo;
};

View file

@ -0,0 +1,18 @@
// getraises and setraises are not longer valid Web IDL
interface Person {
// An attribute that can raise an exception if it is set to an invalid value.
attribute DOMString name setraises (InvalidName);
// An attribute whose value cannot be assigned to, and which can raise an
// exception some circumstances.
readonly attribute DOMString petName getraises (NoSuchPet);
};
exception SomeException {
};
interface ExceptionThrower {
// This attribute always throws a SomeException and never returns a value.
attribute long valueOf getraises(SomeException);
};

View file

@ -0,0 +1,2 @@
// scoped names are no longer valid in WebIDL
typedef gfx::geom::geom2d::Point Point;

View file

@ -0,0 +1,3 @@
interface sequenceAsAttribute {
attribute sequence<short> invalid;
};

View file

@ -0,0 +1,8 @@
// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06
// omittable is no longer a recognized keywoard as of 20110905
interface Dictionary {
readonly attribute unsigned long propertyCount;
omittable getter float getProperty(DOMString propertyName);
omittable setter void setProperty(DOMString propertyName, float propertyValue);
};

View file

@ -0,0 +1,3 @@
interface Util {
const DOMString hello = "world";
};

View file

@ -0,0 +1,4 @@
{
"message": "Unexpected value in enum"
, "line": 1
}

View file

@ -0,0 +1,4 @@
{
"message": "Unrecognised tokens"
, "line": 2
}

View file

@ -0,0 +1,4 @@
{
"message": "Type any cannot be made nullable"
, "line": 2
}

View file

@ -0,0 +1,4 @@
{
"message": "Can't nullable more than once"
, "line": 4
}

View file

@ -0,0 +1,4 @@
{
"message": "Unterminated attribute"
, "line": 5
}

View file

@ -0,0 +1,4 @@
{
"message": "No name in typedef"
, "line": 2
}

View file

@ -0,0 +1,4 @@
{
"message": "Attributes cannot accept sequence types"
, "line": 2
}

View file

@ -0,0 +1,4 @@
{
"message": "Invalid operation"
, "line": 6
}

View file

@ -0,0 +1,4 @@
{
"message": "No value for const"
, "line": 2
}