2007-08-30 19:19:10 +02:00
|
|
|
{"tests": [
|
|
|
|
|
|
|
|
{"description": "valid contenteditable attribute value 'true'",
|
|
|
|
"input": "<span contenteditable=true>",
|
|
|
|
"fail-if": "invalid-attribute-value"},
|
|
|
|
|
|
|
|
{"description": "valid contenteditable attribute value 'TRUE'",
|
|
|
|
"input": "<span contenteditable=TRUE>",
|
|
|
|
"fail-if": "invalid-attribute-value"},
|
|
|
|
|
|
|
|
{"description": "valid contenteditable attribute value 'TrUe'",
|
|
|
|
"input": "<span contenteditable=TrUe>",
|
|
|
|
"fail-if": "invalid-attribute-value"},
|
|
|
|
|
|
|
|
{"description": "valid contenteditable attribute value 'false'",
|
|
|
|
"input": "<span contenteditable=false>",
|
|
|
|
"fail-if": "invalid-attribute-value"},
|
|
|
|
|
|
|
|
{"description": "valid contenteditable attribute value 'FALSE'",
|
|
|
|
"input": "<span contenteditable=FALSE>",
|
|
|
|
"fail-if": "invalid-attribute-value"},
|
|
|
|
|
|
|
|
{"description": "valid contenteditable attribute value 'FalSe'",
|
|
|
|
"input": "<span contenteditable=FalSe>",
|
|
|
|
"fail-if": "invalid-attribute-value"},
|
|
|
|
|
|
|
|
{"description": "valid contenteditable attribute value ''",
|
|
|
|
"input": "<span contenteditable=''>",
|
|
|
|
"fail-if": "invalid-attribute-value"},
|
|
|
|
|
|
|
|
{"description": "valid contenteditable attribute value (not specified)",
|
|
|
|
"input": "<span contenteditable>",
|
|
|
|
"fail-if": "invalid-attribute-value"},
|
|
|
|
|
|
|
|
{"description": "invalid contenteditable attribute value 'foo'",
|
|
|
|
"input": "<span contenteditable=foo>",
|
2007-09-10 05:26:19 +02:00
|
|
|
"fail-unless": "invalid-enumerated-value"},
|
2007-08-30 19:19:10 +02:00
|
|
|
|
|
|
|
{"description": "invalid contenteditable attribute value '0'",
|
|
|
|
"input": "<span contenteditable=0>",
|
2007-09-10 05:26:19 +02:00
|
|
|
"fail-unless": "invalid-enumerated-value"},
|
2007-08-30 19:19:10 +02:00
|
|
|
|
|
|
|
{"description": "invalid contenteditable attribute value '1'",
|
|
|
|
"input": "<span contenteditable=1>",
|
2007-09-10 05:26:19 +02:00
|
|
|
"fail-unless": "invalid-enumerated-value"},
|
2007-08-30 19:19:10 +02:00
|
|
|
|
|
|
|
{"description": "invalid contenteditable attribute value 'yes'",
|
|
|
|
"input": "<span contenteditable=yes>",
|
2007-09-10 05:26:19 +02:00
|
|
|
"fail-unless": "invalid-enumerated-value"},
|
2007-08-30 19:19:10 +02:00
|
|
|
|
|
|
|
{"description": "invalid contenteditable attribute value 'no'",
|
|
|
|
"input": "<span contenteditable=no>",
|
2007-09-10 05:26:19 +02:00
|
|
|
"fail-unless": "invalid-enumerated-value"},
|
2007-08-30 19:19:10 +02:00
|
|
|
|
|
|
|
{"description": "invalid contenteditable attribute value 'inherit'",
|
|
|
|
"input": "<span contenteditable=inherit>",
|
2007-09-10 05:26:19 +02:00
|
|
|
"fail-unless": "invalid-enumerated-value"}
|
2007-08-30 19:19:10 +02:00
|
|
|
|
|
|
|
]}
|